]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
31d7ad93c85a90be9521b7e807a78ff9b934f200
[packages/Xlt.git] / Xlt.spec
1 Summary:        The LessTif extension library
2 Summary(pl):    Biblioteka rozszerzeñ do LessTifa
3 Name:           Xlt
4 Version:        9.0.9
5 Release:        1
6 License:        LGPL
7 Group:          X11/Libraries
8 Group(de):      X11/Libraries
9 Group(es):      X11/Bibliotecas
10 Group(fr):      X11/Librairies
11 Group(pl):      X11/Biblioteki
12 Group(pt_BR):   X11/Bibliotecas
13 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
14 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
16 BuildRequires:  lesstif-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  libtool
20 BuildRequires:  lynx
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25
26 %description
27 The LessTif extension library. This consists of several widgets and
28 convience functions to make LessTif, or if you must Motif, programming
29 more enjoyable.
30
31 %description -l pl
32 Biblioteka rozszerzeñ do LessTifa. Zawiera trochê widgetów i funkcji
33 ¿eby nieco uprzyjemniæ programowanie z u¿yciem LessTifa czy Motifa.
34
35 %package devel
36 Summary:        Xlt header files and development documentation
37 Summary(pl):    Pliki nag³ówkowe i dokumentacja Xlt
38 License:        LGPL
39 Group:          X11/Development/Libraries
40 Group(de):      X11/Entwicklung/Libraries
41 Group(es):      X11/Desarrollo/Bibliotecas
42 Group(fr):      X11/Development/Librairies
43 Group(pl):      X11/Programowanie/Biblioteki
44 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
45 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
46 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
47 Requires:       %{name} = %{version}
48
49 %description devel
50 Xlt header files and development documentation.
51
52 %description devel -l pl
53 Pliki nag³ówkowe i dokumentacja programisty do Xlt.
54
55 %package static
56 Summary:        Xlt static library
57 Summary(pl):    Biblioteka statyczna Xlt
58 License:        LGPL
59 Group:          X11/Development/Libraries
60 Group(de):      X11/Entwicklung/Libraries
61 Group(es):      X11/Desarrollo/Bibliotecas
62 Group(fr):      X11/Development/Librairies
63 Group(pl):      X11/Programowanie/Biblioteki
64 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
65 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
66 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
67 Requires:       %{name} = %{version}
68
69 %description static
70 Xlt static library.
71
72 %description static -l pl
73 Biblioteka statyczna Xlt.
74
75 %prep
76 %setup -q -n LessTifExtensions-%{version}
77
78 %build
79 libtoolize -c -f
80 aclocal
81 autoconf
82 automake -a -c
83 %configure \
84         --enable-static \
85         --enable-shared \
86         --disable-build-12 \
87         --disable-build-20 \
88         --disable-build-21 \
89         --enable-build-12
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 install -d $RPM_BUILD_ROOT%{_aclocaldir}
98 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
99
100 gzip -9nf AUTHORS ChangeLog README
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libXlt.so.*.*
111
112 %files devel
113 %defattr(644,root,root,755)
114 %doc {AUTHORS,ChangeLog,README}.gz
115 %attr(755,root,root) %{_libdir}/libXlt.so
116 %attr(755,root,root) %{_libdir}/libXlt.la
117 %{_includedir}/Xlt
118 %{_aclocaldir}/ac_find_xlt.m4
119 %{_aclocaldir}/ac_find_xpm.m4
120 %{_mandir}/man3/*
121
122 %files static
123 %defattr(644,root,root,755)
124 %attr(644,root,root) %{_libdir}/libXlt.a
This page took 0.048125 seconds and 2 git commands to generate.