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