]>
Commit | Line | Data |
---|---|---|
3e0e652c | 1 | Summary: X Pixmap library |
dd5931cc | 2 | Summary(pl.UTF-8): Biblioteka X Pixmap |
3e0e652c | 3 | Name: xorg-lib-libXpm |
6560454c | 4 | Version: 3.5.14 |
385778f0 | 5 | Release: 1 |
3e0e652c AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
6560454c JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/lib/libXpm-%{version}.tar.xz |
9 | # Source0-md5: 8001c7e6d2727609da2a78d8e08a2977 | |
385778f0 | 10 | URL: https://xorg.freedesktop.org/ |
ed75d95f | 11 | BuildRequires: autoconf >= 2.60 |
3e0e652c | 12 | BuildRequires: automake |
97d9340a | 13 | # xgettext is used to create pots (although they are not used for anything yet) |
dbd1f84e | 14 | BuildRequires: gettext-tools |
3e0e652c | 15 | BuildRequires: libtool |
be9bf9c2 | 16 | BuildRequires: pkgconfig >= 1:0.19 |
6560454c | 17 | BuildRequires: tar >= 1:1.22 |
7a07b5cc | 18 | BuildRequires: xorg-lib-libX11-devel |
11613226 JB |
19 | BuildRequires: xorg-lib-libXext-devel |
20 | BuildRequires: xorg-lib-libXt-devel | |
4721aaf8 JB |
21 | BuildRequires: xorg-proto-xextproto-devel |
22 | BuildRequires: xorg-proto-xproto-devel >= 7.0.17 | |
ed75d95f | 23 | BuildRequires: xorg-util-util-macros >= 1.8 |
6560454c JB |
24 | BuildRequires: xz |
25 | Obsoletes: libXpm < 1:3.5.2 | |
26 | Obsoletes: xpm < 1.3.4 | |
7a07b5cc | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
3e0e652c | 28 | |
3e0e652c AM |
29 | %description |
30 | X Pixmap library. | |
31 | ||
59999d51 | 32 | %description -l pl.UTF-8 |
3e0e652c AM |
33 | Biblioteka X Pixmap. |
34 | ||
3e0e652c | 35 | %package devel |
5c8375f6 | 36 | Summary: Header files for libXpm library |
dd5931cc | 37 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXpm |
3e0e652c | 38 | Group: X11/Development/Libraries |
7a07b5cc | 39 | Requires: %{name} = %{version}-%{release} |
3e0e652c | 40 | Requires: xorg-lib-libX11-devel |
6560454c JB |
41 | Obsoletes: libXpm-devel < 1:3.5.2 |
42 | Obsoletes: xpm-devel < 1.3.4 | |
3e0e652c AM |
43 | |
44 | %description devel | |
45 | X Pixmap library. | |
46 | ||
47 | This package contains the header files needed to develop programs that | |
5c8375f6 | 48 | use libXpm. |
3e0e652c | 49 | |
59999d51 | 50 | %description devel -l pl.UTF-8 |
3e0e652c AM |
51 | Biblioteka X Pixmap. |
52 | ||
59999d51 JR |
53 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
54 | używających biblioteki libXpm. | |
3e0e652c | 55 | |
3e0e652c | 56 | %package static |
7a07b5cc | 57 | Summary: Static libXpm library |
dd5931cc | 58 | Summary(pl.UTF-8): Biblioteka statyczna libXpm |
7a07b5cc JB |
59 | Group: X11/Development/Libraries |
60 | Requires: %{name}-devel = %{version}-%{release} | |
6560454c JB |
61 | Obsoletes: libXpm-static < 1:3.5.2 |
62 | Obsoletes: xpm-static < 1.3.4 | |
3e0e652c AM |
63 | |
64 | %description static | |
65 | X Pixmap library. | |
66 | ||
67 | This package contains the static libXpm library. | |
68 | ||
59999d51 | 69 | %description static -l pl.UTF-8 |
3e0e652c AM |
70 | Biblioteka X Pixmap. |
71 | ||
59999d51 | 72 | Pakiet zawiera statyczną bibliotekę libXpm. |
3e0e652c | 73 | |
3e0e652c AM |
74 | %package utils |
75 | Summary: X Pixmap utilities | |
dd5931cc | 76 | Summary(pl.UTF-8): Programy użytkowe dla X Pixmap |
7a07b5cc JB |
77 | Group: X11/Development/Tools |
78 | Requires: %{name}-devel = %{version}-%{release} | |
6560454c | 79 | Obsoletes: xpm-progs < 1.3.4 |
3e0e652c AM |
80 | |
81 | %description utils | |
82 | X Pixmap utilities. | |
83 | ||
59999d51 JR |
84 | %description utils -l pl.UTF-8 |
85 | Programy użytkowe dla X Pixmap. | |
3e0e652c AM |
86 | |
87 | %prep | |
88 | %setup -q -n libXpm-%{version} | |
89 | ||
90 | %build | |
91 | %{__libtoolize} | |
ed75d95f | 92 | %{__aclocal} -I m4 |
3e0e652c AM |
93 | %{__autoconf} |
94 | %{__autoheader} | |
95 | %{__automake} | |
96 | %configure | |
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %{__make} install \ | |
ed75d95f | 103 | DESTDIR=$RPM_BUILD_ROOT |
3e0e652c AM |
104 | |
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %post -p /sbin/ldconfig | |
109 | %postun -p /sbin/ldconfig | |
110 | ||
3e0e652c AM |
111 | %files |
112 | %defattr(644,root,root,755) | |
4721aaf8 | 113 | %doc AUTHORS COPYING ChangeLog NEWS.old README.md doc/{FAQ.html,README.html,xpm.PS.gz} |
7a07b5cc | 114 | %attr(755,root,root) %{_libdir}/libXpm.so.*.*.* |
48a37db4 | 115 | %attr(755,root,root) %ghost %{_libdir}/libXpm.so.4 |
3e0e652c AM |
116 | |
117 | %files devel | |
118 | %defattr(644,root,root,755) | |
7a07b5cc | 119 | %attr(755,root,root) %{_libdir}/libXpm.so |
3e0e652c | 120 | %{_libdir}/libXpm.la |
7a07b5cc | 121 | %{_includedir}/X11/xpm.h |
3e0e652c | 122 | %{_pkgconfigdir}/xpm.pc |
6560454c | 123 | %{_mandir}/man3/Xpm*.3* |
3e0e652c | 124 | |
3e0e652c AM |
125 | %files static |
126 | %defattr(644,root,root,755) | |
127 | %{_libdir}/libXpm.a | |
128 | ||
3e0e652c AM |
129 | %files utils |
130 | %defattr(644,root,root,755) | |
11613226 JB |
131 | %attr(755,root,root) %{_bindir}/cxpm |
132 | %attr(755,root,root) %{_bindir}/sxpm | |
b1e0ad8c JB |
133 | %{_mandir}/man1/cxpm.1* |
134 | %{_mandir}/man1/sxpm.1* |