2012-02-13 11:07:40 +01:00
|
|
|
#
|
|
|
|
# spec file for package libXmu
|
|
|
|
#
|
2013-03-19 20:47:38 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-02-13 11:07:40 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2012-03-07 10:47:28 +01:00
|
|
|
|
|
|
|
|
2012-02-13 11:07:40 +01:00
|
|
|
Name: libXmu
|
2013-09-13 12:15:09 +02:00
|
|
|
Version: 1.1.2
|
2012-02-13 11:07:40 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Miscellaneous utility routines for X
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://xorg.freedesktop.org/
|
|
|
|
|
|
|
|
#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libXmu
|
|
|
|
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXmu/
|
2012-04-12 12:44:20 +02:00
|
|
|
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
|
2012-03-07 10:47:28 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-02-13 11:07:40 +01:00
|
|
|
#git#BuildRequires: autoconf >= 2.60, automake, libtool
|
2012-04-12 12:44:20 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xext)
|
|
|
|
BuildRequires: pkgconfig(xextproto)
|
|
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.12
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
BuildRequires: pkgconfig(xtrans)
|
2012-02-13 11:07:40 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The Xmu Library is a collection of miscellaneous (some might say random)
|
|
|
|
utility functions that have been useful in building various applications
|
|
|
|
and widgets. This library is required by the Athena Widgets.
|
|
|
|
|
|
|
|
%package -n libXmu6
|
|
|
|
Summary: Miscellaneous utility routines for X
|
|
|
|
Group: System/Libraries
|
|
|
|
# O/P added for 12.2
|
|
|
|
Provides: xorg-x11-libXmu = 7.6_%version-%release
|
|
|
|
Obsoletes: xorg-x11-libXmu < 7.6_%version-%release
|
2013-08-29 11:38:29 +02:00
|
|
|
Requires: xbitmaps
|
2012-02-13 11:07:40 +01:00
|
|
|
|
|
|
|
%description -n libXmu6
|
|
|
|
The Xmu library is a collection of miscellaneous (some might say random)
|
|
|
|
utility functions that have been useful in building various applications
|
|
|
|
and widgets, specifically the Athena Widgets.
|
|
|
|
|
|
|
|
%package -n libXmuu1
|
|
|
|
Summary: More miscellaneous utility routines for X
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libXmuu1
|
|
|
|
The Xmu/Xmuu libraries are a collection of miscellaneous (some might
|
|
|
|
say random) utility functions that have been useful in building
|
|
|
|
various applications and widgets.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the X Miscellaneous Utility Libraries
|
|
|
|
Group: Development/Libraries/C and C++
|
2012-04-12 12:44:20 +02:00
|
|
|
Requires: libXmu6 = %version
|
|
|
|
Requires: libXmuu1 = %version
|
2012-02-13 11:07:40 +01:00
|
|
|
# O/P added for 12.2
|
|
|
|
Provides: xorg-x11-libXmu-devel = 7.6_%version-%release
|
|
|
|
Obsoletes: xorg-x11-libXmu-devel < 7.6_%version-%release
|
2013-08-29 11:38:29 +02:00
|
|
|
Requires: xbitmaps-devel
|
2012-02-13 11:07:40 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The Xmu/Xmuu libraries are a collection of miscellaneous (some might
|
|
|
|
say random) utility functions that have been useful in building
|
|
|
|
various applications and widgets.
|
|
|
|
|
|
|
|
This package contains the development headers for the library found
|
|
|
|
in libXmu6 and libXmuu1.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --docdir=%_docdir/%name --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2013-03-19 20:47:38 +01:00
|
|
|
make install DESTDIR="%buildroot"
|
2012-02-13 11:07:40 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
|
|
|
%post -n libXmu6 -p /sbin/ldconfig
|
2012-03-07 10:47:28 +01:00
|
|
|
|
2012-02-13 11:07:40 +01:00
|
|
|
%postun -n libXmu6 -p /sbin/ldconfig
|
2012-03-07 10:47:28 +01:00
|
|
|
|
2012-02-13 11:07:40 +01:00
|
|
|
%post -n libXmuu1 -p /sbin/ldconfig
|
2012-03-07 10:47:28 +01:00
|
|
|
|
2012-02-13 11:07:40 +01:00
|
|
|
%postun -n libXmuu1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libXmu6
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libXmu.so.6*
|
|
|
|
|
|
|
|
%files -n libXmuu1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libXmuu.so.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/X11/*
|
|
|
|
%_libdir/libXmu*.so
|
|
|
|
%_libdir/pkgconfig/xmu*.pc
|
|
|
|
%_docdir/%name
|
|
|
|
|
|
|
|
%changelog
|