]> git.pld-linux.org Git - packages/xorg-lib-libXt.git/blob - xorg-lib-libXt.spec
- up to 1.0.1
[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.1
5 Release:        0.1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/individual/lib/libXt-%{version}.tar.bz2
9 # Source0-md5:  c0d7f014448239f1c22caf05aa2821a9
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 install -d $RPM_BUILD_ROOT%{_datadir}/X11/app-defaults
86 install -d $RPM_BUILD_ROOT%{_datadir}/X11/pl/app-defaults
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post   -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
93
94 %files
95 %defattr(644,root,root,755)
96 %doc COPYING ChangeLog
97 %attr(755,root,root) %{_libdir}/libXt.so.*.*.*
98 %dir %{_datadir}/X11/app-defaults
99 %lang(pl) %dir %{_datadir}/X11/pl
100 %lang(pl) %dir %{_datadir}/X11/pl/app-defaults
101
102 %files devel
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_bindir}/makestrs
105 %attr(755,root,root) %{_libdir}/libXt.so
106 %{_libdir}/libXt.la
107 %{_includedir}/X11/*.h
108 %{_pkgconfigdir}/xt.pc
109 %{_mandir}/man1/makestrs.1x*
110 %{_mandir}/man3/*.3x*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libXt.a
This page took 0.24363 seconds and 4 git commands to generate.