1 Summary: X.Org X11 libXpm runtime library
6 Group: System Environment/Libraries
9 Source0: %{name}-%{version}.tar.gz
11 BuildRequires: gettext
12 BuildRequires: pkgconfig(xext) pkgconfig(xt) pkgconfig(xau)
13 BuildRequires: pkgconfig(xorg-macros)
14 BuildRequires: pkgconfig(xproto)
17 X.Org X11 libXpm runtime library
20 Summary: X.Org X11 libXpm development package
21 Group: Development/Libraries
22 Requires: %{name} = %{version}-%{release}
23 Provides: libxpm-devel
26 X.Org X11 libXpm development package
32 %reconfigure --disable-static \
33 LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
37 rm -rf $RPM_BUILD_ROOT
39 make install DESTDIR=$RPM_BUILD_ROOT
41 # We intentionally don't ship *.la files
42 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
47 rm -rf $RPM_BUILD_ROOT
49 %post -p /sbin/ldconfig
50 %postun -p /sbin/ldconfig
53 %defattr(-,root,root,-)
54 %doc AUTHORS COPYING ChangeLog
55 %{_libdir}/libXpm.so.4
56 %{_libdir}/libXpm.so.4.11.0
59 %defattr(-,root,root,-)
62 %{_includedir}/X11/xpm.h
64 %{_libdir}/pkgconfig/xpm.pc
65 #%dir %{_mandir}/man1x
67 #%{_mandir}/man1/*.1x*