]> git.pld-linux.org Git - SPECS.git/blob - xorg-lib-libXp.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / xorg-lib-libXp.spec
1 Summary:        X Print Client library
2 Summary(pl.UTF-8):      Biblioteka kliencka X Print
3 Name:           xorg-lib-libXp
4 Version:        1.0.4
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://xorg.freedesktop.org/releases/individual/lib/libXp-%{version}.tar.xz
9 # Source0-md5:  cf381ece59d723c8c8239ed339eadf88
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  pkgconfig >= 1:0.19
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  xorg-lib-libX11-devel >= 1.6
17 BuildRequires:  xorg-lib-libXau-devel
18 BuildRequires:  xorg-lib-libXext-devel
19 BuildRequires:  xorg-proto-printproto-devel
20 BuildRequires:  xorg-proto-xextproto-devel
21 BuildRequires:  xorg-util-util-macros >= 1.8
22 BuildRequires:  xz
23 Requires:       xorg-lib-libX11 >= 1.6
24 Obsoletes:      libXp < 0.2
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 X Print Client library.
29
30 %description -l pl.UTF-8
31 Biblioteka kliencka X Print.
32
33 %package devel
34 Summary:        Header files for libXp library
35 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libXp
36 Group:          X11/Development/Libraries
37 Requires:       %{name} = %{version}-%{release}
38 Requires:       xorg-lib-libX11-devel >= 1.6
39 Requires:       xorg-lib-libXau-devel
40 Requires:       xorg-lib-libXext-devel
41 Requires:       xorg-proto-printproto-devel
42 Obsoletes:      libXp-devel < 0.2
43
44 %description devel
45 DtPrint extension library.
46
47 This package contains the header files needed to develop programs that
48 use libXp.
49
50 %description devel -l pl.UTF-8
51 Biblioteka rozszerzenia DtPrint.
52
53 Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
54 używających biblioteki libXp.
55
56 %package static
57 Summary:        Static libXp library
58 Summary(pl.UTF-8):      Biblioteka statyczna libXp
59 Group:          X11/Development/Libraries
60 Requires:       %{name}-devel = %{version}-%{release}
61 Obsoletes:      libXp-static < 0.2
62
63 %description static
64 DtPrint extension library.
65
66 This package contains the static libXp library.
67
68 %description static -l pl.UTF-8
69 Biblioteka rozszerzenia DtPrint.
70
71 Pakiet zawiera statyczną bibliotekę libXp.
72
73 %prep
74 %setup -q -n libXp-%{version}
75
76 %build
77 %{__libtoolize}
78 %{__aclocal}
79 %{__autoconf}
80 %{__autoheader}
81 %{__automake}
82 %configure
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc COPYING ChangeLog README.md
100 %attr(755,root,root) %{_libdir}/libXp.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libXp.so.6
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libXp.so
106 %{_libdir}/libXp.la
107 %{_pkgconfigdir}/xp.pc
108 %{_mandir}/man3/Xp*.3*
109 %{_mandir}/man3/libXp.3*
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/libXp.a
This page took 0.36239 seconds and 3 git commands to generate.