]> git.pld-linux.org Git - packages/xorg-lib-libXt.git/blob - xorg-lib-libXt.spec
- sources from X11R7.0 release
[packages/xorg-lib-libXt.git] / xorg-lib-libXt.spec
1 Summary:        X Toolkit library
2 Summary(pl):    Biblioteka X Toolkit
3 Name:           xorg-lib-libXt
4 Version:        1.0.0
5 Release:        0.1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/X11R7.0/src/lib/libXt-%{version}.tar.bz2
9 # Source0-md5:  ac88ae86bcfae3b062a84e9d26c3effc
10 URL:            http://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  cpp
14 BuildRequires:  libtool
15 BuildRequires:  pkgconfig >= 1:0.19
16 BuildRequires:  xorg-lib-libSM-devel
17 BuildRequires:  xorg-lib-libX11-devel
18 BuildRequires:  xorg-util-util-macros >= 0.99.2
19 Obsoletes:      libXt
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 X Toolkit library.
24
25 %description -l pl
26 Biblioteka X Toolkit.
27
28 %package devel
29 Summary:        Header files for libXt library
30 Summary(pl):    Pliki nag³ówkowe biblioteki libXt
31 Group:          X11/Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       xorg-lib-libSM-devel
34 Requires:       xorg-lib-libX11-devel
35 Obsoletes:      libXt-devel
36
37 %description devel
38 X Toolkit library.
39
40 This package contains the header files needed to develop programs that
41 use libXt.
42
43 %description devel -l pl
44 Biblioteka X Toolkit.
45
46 Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
47 u¿ywaj±cych biblioteki libXt.
48
49 %package static
50 Summary:        Static libXt library
51 Summary(pl):    Biblioteka statyczna libXt
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54 Obsoletes:      libXt-static
55
56 %description static
57 X Toolkit library.
58
59 This package contains the static libXt library.
60
61 %description static -l pl
62 Biblioteka X Toolkit.
63
64 Pakiet zawiera statyczn± bibliotekê libXt.
65
66 %prep
67 %setup -q -n libXt-%{version}
68
69 %build
70 %{__libtoolize}
71 %{__aclocal}
72 %{__autoconf}
73 %{__autoheader}
74 %{__automake}
75 %configure
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         pkgconfigdir=%{_pkgconfigdir}
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc COPYING ChangeLog
94 %attr(755,root,root) %{_libdir}/libXt.so.*.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_bindir}/makestrs
99 %attr(755,root,root) %{_libdir}/libXt.so
100 %{_libdir}/libXt.la
101 %{_includedir}/X11/*.h
102 %{_pkgconfigdir}/xt.pc
103 %{_mandir}/man1/makestrs.1x*
104 %{_mandir}/man3/*.3x*
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/libXt.a
This page took 0.053664 seconds and 4 git commands to generate.