]>
Commit | Line | Data |
---|---|---|
0d8535a8 | 1 | Summary: XSLT processor |
2 | Summary(pl): Procesor XSLT | |
3 | Name: libxslt | |
913b6232 | 4 | Version: 1.0.0 |
0d8535a8 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Libraries | |
8 | Group(de): Libraries | |
9 | Group(es): Bibliotecas | |
10 | Group(fr): Librairies | |
11 | Group(pl): Biblioteki | |
194ff0e9 | 12 | Source0: ftp://xmlsoft.org/%{name}-%{version}.tar.gz |
0d8535a8 | 13 | URL: http://xmlsoft.org/XSLT/ |
913b6232 | 14 | Requires: libxml2 >= 2.4.0 |
ae6022e8 | 15 | BuildRequires: autoconf |
827d1079 | 16 | BuildRequires: automake |
913b6232 | 17 | BuildRequires: libxml2-devel >= 2.4.0 |
827d1079 | 18 | BuildRequires: libtool |
0d8535a8 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | Library for XSLT processing. | |
23 | ||
24 | %package devel | |
25 | Summary: Development libraries and header files of libxslt | |
26 | Group: Development/Libraries | |
27 | Group(de): Entwicklung/Libraries | |
28 | Group(fr): Development/Librairies | |
29 | Group(pl): Programowanie/Biblioteki | |
30 | ||
31 | %description devel | |
32 | Development libraries and header files of libxslt - XSLT processor. | |
33 | ||
34 | %package static | |
35 | Summary: Static libraries of libxslt | |
36 | Group: Development/Libraries | |
37 | Group(de): Entwicklung/Libraries | |
38 | Group(fr): Development/Librairies | |
39 | Group(pl): Programowanie/Biblioteki | |
40 | ||
41 | %description static | |
42 | Static libraries of libxslt - XSLT processor. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
827d1079 | 48 | libtoolize --copy --force |
827d1079 | 49 | aclocal |
be46a30b | 50 | autoconf |
827d1079 | 51 | automake -a -c |
ae6022e8 | 52 | %configure |
0d8535a8 | 53 | %{__make} |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
60 | gzip -9nf README ChangeLog TODO | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post -p /sbin/ldconfig | |
66 | %postun -p /sbin/ldconfig | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
70 | %doc *.gz doc/{*.{gif,html},html/*} | |
71 | %attr(755,root,root) %{_bindir}/xsltproc | |
72 | %attr(755,root,root) %{_libdir}/lib*.so.*.* | |
73 | ||
74 | %files devel | |
75 | %defattr(644,root,root,755) | |
76 | %attr(755,root,root) %{_bindir}/xslt-config | |
77 | %attr(755,root,root) %{_libdir}/lib*.so | |
78 | %attr(755,root,root) %{_libdir}/lib*.la | |
79 | %attr(755,root,root) %{_libdir}/*.sh | |
80 | %{_includedir}/libxslt | |
81 | ||
82 | %files static | |
83 | %defattr(644,root,root,755) | |
84 | %{_libdir}/lib*.a |