1 Summary: X Pixmap library
2 Summary(pl.UTF-8): Biblioteka X Pixmap
8 Source0: https://xorg.freedesktop.org/releases/individual/lib/libXpm-%{version}.tar.xz
9 # Source0-md5: b3c58c94e284fd6940d3615e660a0007
10 URL: https://xorg.freedesktop.org/
11 BuildRequires: autoconf >= 2.60
12 BuildRequires: automake
13 # xgettext is used to create pots (although they are not used for anything yet)
14 BuildRequires: gettext-tools
15 BuildRequires: libtool
16 BuildRequires: pkgconfig >= 1:0.19
17 BuildRequires: tar >= 1:1.22
18 BuildRequires: xorg-lib-libX11-devel
19 BuildRequires: xorg-lib-libXext-devel
20 BuildRequires: xorg-lib-libXt-devel
21 BuildRequires: xorg-proto-xextproto-devel
22 BuildRequires: xorg-proto-xproto-devel >= 7.0.17
23 BuildRequires: xorg-util-util-macros >= 1.8
27 Obsoletes: libXpm < 1:3.5.2
28 Obsoletes: xpm < 1.3.4
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %description -l pl.UTF-8
38 Summary: Header files for libXpm library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXpm
40 Group: X11/Development/Libraries
41 Requires: %{name} = %{version}-%{release}
42 Requires: xorg-lib-libX11-devel
43 Obsoletes: libXpm-devel < 1:3.5.2
44 Obsoletes: xpm-devel < 1.3.4
49 This package contains the header files needed to develop programs that
52 %description devel -l pl.UTF-8
55 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
56 używających biblioteki libXpm.
59 Summary: Static libXpm library
60 Summary(pl.UTF-8): Biblioteka statyczna libXpm
61 Group: X11/Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
63 Obsoletes: libXpm-static < 1:3.5.2
64 Obsoletes: xpm-static < 1.3.4
69 This package contains the static libXpm library.
71 %description static -l pl.UTF-8
74 Pakiet zawiera statyczną bibliotekę libXpm.
77 Summary: X Pixmap utilities
78 Summary(pl.UTF-8): Programy użytkowe dla X Pixmap
79 Group: X11/Development/Tools
80 Requires: %{name}-devel = %{version}-%{release}
81 Obsoletes: xpm-progs < 1.3.4
86 %description utils -l pl.UTF-8
87 Programy użytkowe dla X Pixmap.
90 %setup -q -n libXpm-%{version}
99 XPM_PATH_COMPRESS=/usr/bin/compress \
100 XPM_PATH_GZIP=/usr/bin/gzip \
101 XPM_PATH_UNCOMPRESS=/usr/bin/uncompress
106 rm -rf $RPM_BUILD_ROOT
109 DESTDIR=$RPM_BUILD_ROOT
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc AUTHORS COPYING ChangeLog NEWS.old README.md doc/{FAQ.html,README.html,xpm.PS.gz}
120 %attr(755,root,root) %{_libdir}/libXpm.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libXpm.so.4
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libXpm.so
127 %{_includedir}/X11/xpm.h
128 %{_pkgconfigdir}/xpm.pc
129 %{_mandir}/man3/Xpm*.3*
132 %defattr(644,root,root,755)
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_bindir}/cxpm
138 %attr(755,root,root) %{_bindir}/sxpm
139 %{_mandir}/man1/cxpm.1*
140 %{_mandir}/man1/sxpm.1*