]> git.pld-linux.org Git - packages/Xlt.git/blob - Xlt.spec
c0e871bf414aea486409a54efd0ac3d33fea589c
[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:        GPL
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 Group:          X11/Development/Libraries
39 Group(de):      X11/Entwicklung/Libraries
40 Group(es):      X11/Desarrollo/Bibliotecas
41 Group(fr):      X11/Development/Librairies
42 Group(pl):      X11/Programowanie/Biblioteki
43 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
44 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
45 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
46 Requires:       %{name} = %{version}
47
48 %description devel
49 Xlt header files and development documentation.
50
51 %description devel -l pl
52 Pliki nag³ówkowe i dokumentacja programisty do Xlt.
53
54 %package static
55 Summary:        Xlt static library
56 Summary(pl):    Biblioteka statyczna Xlt
57 Group:          X11/Development/Libraries
58 Group(de):      X11/Entwicklung/Libraries
59 Group(es):      X11/Desarrollo/Bibliotecas
60 Group(fr):      X11/Development/Librairies
61 Group(pl):      X11/Programowanie/Biblioteki
62 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
63 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
64 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
65 Requires:       %{name} = %{version}
66
67 %description static
68 Xlt static library.
69
70 %description static -l pl
71 Biblioteka statyczna Xlt.
72
73 %prep
74 %setup -q -n LessTifExtensions-%{version}
75
76 %build
77 libtoolize -c -f
78 aclocal
79 autoconf
80 automake -a -c
81 %configure \
82         --enable-static \
83         --enable-shared \
84         --disable-build-12 \
85         --disable-build-20 \
86         --disable-build-21 \
87         --enable-build-12
88
89 %{__make} X_EXTRA_LIBS="-lXm"
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.04011 seconds and 3 git commands to generate.