]> git.pld-linux.org Git - packages/xorg-lib-libXpm.git/blame - xorg-lib-libXpm.spec
- updated to 3.5.14
[packages/xorg-lib-libXpm.git] / xorg-lib-libXpm.spec
CommitLineData
3e0e652c 1Summary: X Pixmap library
dd5931cc 2Summary(pl.UTF-8): Biblioteka X Pixmap
3e0e652c 3Name: xorg-lib-libXpm
6560454c 4Version: 3.5.14
385778f0 5Release: 1
3e0e652c
AM
6License: MIT
7Group: X11/Libraries
6560454c
JB
8Source0: https://xorg.freedesktop.org/releases/individual/lib/libXpm-%{version}.tar.xz
9# Source0-md5: 8001c7e6d2727609da2a78d8e08a2977
385778f0 10URL: https://xorg.freedesktop.org/
ed75d95f 11BuildRequires: autoconf >= 2.60
3e0e652c 12BuildRequires: automake
97d9340a 13# xgettext is used to create pots (although they are not used for anything yet)
dbd1f84e 14BuildRequires: gettext-tools
3e0e652c 15BuildRequires: libtool
be9bf9c2 16BuildRequires: pkgconfig >= 1:0.19
6560454c 17BuildRequires: tar >= 1:1.22
7a07b5cc 18BuildRequires: xorg-lib-libX11-devel
11613226
JB
19BuildRequires: xorg-lib-libXext-devel
20BuildRequires: xorg-lib-libXt-devel
4721aaf8
JB
21BuildRequires: xorg-proto-xextproto-devel
22BuildRequires: xorg-proto-xproto-devel >= 7.0.17
ed75d95f 23BuildRequires: xorg-util-util-macros >= 1.8
6560454c
JB
24BuildRequires: xz
25Obsoletes: libXpm < 1:3.5.2
26Obsoletes: xpm < 1.3.4
7a07b5cc 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3e0e652c 28
3e0e652c
AM
29%description
30X Pixmap library.
31
59999d51 32%description -l pl.UTF-8
3e0e652c
AM
33Biblioteka X Pixmap.
34
3e0e652c 35%package devel
5c8375f6 36Summary: Header files for libXpm library
dd5931cc 37Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXpm
3e0e652c 38Group: X11/Development/Libraries
7a07b5cc 39Requires: %{name} = %{version}-%{release}
3e0e652c 40Requires: xorg-lib-libX11-devel
6560454c
JB
41Obsoletes: libXpm-devel < 1:3.5.2
42Obsoletes: xpm-devel < 1.3.4
3e0e652c
AM
43
44%description devel
45X Pixmap library.
46
47This package contains the header files needed to develop programs that
5c8375f6 48use libXpm.
3e0e652c 49
59999d51 50%description devel -l pl.UTF-8
3e0e652c
AM
51Biblioteka X Pixmap.
52
59999d51
JR
53Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
54używających biblioteki libXpm.
3e0e652c 55
3e0e652c 56%package static
7a07b5cc 57Summary: Static libXpm library
dd5931cc 58Summary(pl.UTF-8): Biblioteka statyczna libXpm
7a07b5cc
JB
59Group: X11/Development/Libraries
60Requires: %{name}-devel = %{version}-%{release}
6560454c
JB
61Obsoletes: libXpm-static < 1:3.5.2
62Obsoletes: xpm-static < 1.3.4
3e0e652c
AM
63
64%description static
65X Pixmap library.
66
67This package contains the static libXpm library.
68
59999d51 69%description static -l pl.UTF-8
3e0e652c
AM
70Biblioteka X Pixmap.
71
59999d51 72Pakiet zawiera statyczną bibliotekę libXpm.
3e0e652c 73
3e0e652c
AM
74%package utils
75Summary: X Pixmap utilities
dd5931cc 76Summary(pl.UTF-8): Programy użytkowe dla X Pixmap
7a07b5cc
JB
77Group: X11/Development/Tools
78Requires: %{name}-devel = %{version}-%{release}
6560454c 79Obsoletes: xpm-progs < 1.3.4
3e0e652c
AM
80
81%description utils
82X Pixmap utilities.
83
59999d51
JR
84%description utils -l pl.UTF-8
85Programy 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
100rm -rf $RPM_BUILD_ROOT
101
102%{__make} install \
ed75d95f 103 DESTDIR=$RPM_BUILD_ROOT
3e0e652c
AM
104
105%clean
106rm -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*
This page took 0.071495 seconds and 4 git commands to generate.