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