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