]> git.pld-linux.org Git - packages/xorg-lib-libXt.git/blob - xorg-lib-libXt.spec
- release 0.2.
[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.2
5 Release:        0.2
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        http://xorg.freedesktop.org/releases/individual/lib/libXt-%{version}.tar.bz2
9 # Source0-md5:  f217b63e03a1ac9b155ee9a56ac47aea
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/{cs,da,de,es,fr,ja,ko,nl,pl,pt,pt_BR,ru,sv,zh_CN,zh_TW}/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(cs) %{_datadir}/X11/cs
100 %lang(da) %{_datadir}/X11/da
101 %lang(de) %{_datadir}/X11/de
102 %lang(es) %{_datadir}/X11/es
103 %lang(fr) %{_datadir}/X11/fr
104 %lang(ja) %{_datadir}/X11/ja
105 %lang(ko) %{_datadir}/X11/ko
106 %lang(nl) %{_datadir}/X11/nl
107 %lang(pl) %{_datadir}/X11/pl
108 %lang(pt) %{_datadir}/X11/pt
109 %lang(pt_BR) %{_datadir}/X11/pt_BR
110 %lang(ru) %{_datadir}/X11/ru
111 %lang(sv) %{_datadir}/X11/sv
112 %lang(zh_CN) %{_datadir}/X11/zh_CN
113 %lang(zh_TW) %{_datadir}/X11/zh_TW
114
115 %files devel
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/makestrs
118 %attr(755,root,root) %{_libdir}/libXt.so
119 %{_libdir}/libXt.la
120 %{_includedir}/X11/*.h
121 %{_pkgconfigdir}/xt.pc
122 %{_mandir}/man1/makestrs.1x*
123 %{_mandir}/man3/*.3x*
124
125 %files static
126 %defattr(644,root,root,755)
127 %{_libdir}/libXt.a
This page took 0.041622 seconds and 4 git commands to generate.