source: trunk/third/libxslt/libxslt.spec @ 21535

Revision 21535, 3.8 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21534, which included commits to RCS files with non-trunk default branches.
Line 
1Summary: Library providing the Gnome XSLT engine
2Name: libxslt
3Version: 1.1.12
4Release: 1
5License: MIT
6Group: Development/Libraries
7Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
8BuildRoot: %{_tmppath}/%{name}-%{version}-root
9URL: http://xmlsoft.org/XSLT/
10Requires: libxml2 >= 2.6.15
11BuildRequires: libxml2-devel >= 2.6.15
12BuildRequires: python python-devel
13BuildRequires: libxml2-python
14Prefix: %{_prefix}
15Docdir: %{_docdir}
16
17%description
18This C library allows to transform XML files into other XML files
19(or HTML, text, ...) using the standard XSLT stylesheet transformation
20mechanism. To use it you need to have a version of libxml2 >= 2.6.15
21installed. The xsltproc command is a command line interface to the XSLT engine
22
23%package devel
24Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
25Group: Development/Libraries
26Requires: libxslt = %{version}
27Requires: libxml2-devel >= 2.5.6
28
29%description devel
30This C library allows to transform XML files into other XML files
31(or HTML, text, ...) using the standard XSLT stylesheet transformation
32mechanism. To use it you need to have a version of libxml2 >= 2.6.15
33installed.
34
35%package python
36Summary: Python bindings for the libxslt library
37Group: Development/Libraries
38Requires: libxslt = %{version}
39Requires: libxml2 >= 2.6.15
40Requires: libxml2-python >= 2.6.15
41Requires: %{_libdir}/python%(echo `python -c "import sys; print sys.version[0:3]"`)
42
43%description python
44The libxslt-python package contains a module that permits applications
45written in the Python programming language to use the interface
46supplied by the libxslt library to apply XSLT transformations.
47
48This library allows to parse sytlesheets, uses the libxml2-python
49to load and save XML and HTML files. Direct access to XPath and
50the XSLT transformation context are possible to extend the XSLT language
51with XPath functions written in Python.
52
53%prep
54%setup -q
55
56%build
57%configure
58make
59gzip -9 ChangeLog
60
61%install
62rm -fr %{buildroot}
63
64%makeinstall
65
66%clean
67rm -fr %{buildroot}
68
69%post
70/sbin/ldconfig
71
72%postun
73/sbin/ldconfig
74
75%files
76%defattr(-, root, root)
77
78%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO FEATURES
79%doc doc/*.html doc/html doc/tutorial doc/tutorial2 doc/*.gif
80%doc doc/EXSLT
81%doc %{_mandir}/man1/xsltproc.1*
82%{_libdir}/lib*.so.*
83%{prefix}/bin/xsltproc
84
85%files devel
86%defattr(-, root, root)
87
88%doc AUTHORS ChangeLog.gz NEWS README Copyright TODO FEATURES
89%doc doc/libxslt-api.xml
90%doc doc/libxslt-refs.xml
91%doc doc/EXSLT/libexslt-api.xml
92%doc doc/EXSLT/libexslt-refs.xml
93%doc %{_mandir}/man3/libxslt.3*
94%doc %{_mandir}/man3/libexslt.3*
95%{_libdir}/lib*.so
96%{_libdir}/*a
97%{_libdir}/*.sh
98%{prefix}/share/aclocal/libxslt.m4
99%{prefix}/include/*
100%{prefix}/bin/xslt-config
101%{_libdir}/pkgconfig/libxslt.pc
102%{_libdir}/pkgconfig/libexslt.pc
103
104%files python
105%defattr(-, root, root)
106
107%doc AUTHORS ChangeLog.gz NEWS README Copyright FEATURES
108%{_libdir}/python*/site-packages/libxslt.py
109%{_libdir}/python*/site-packages/libxsltmod*
110%doc python/TODO
111%doc python/libxsltclass.txt
112%doc python/tests/*.py
113%doc python/tests/*.xml
114%doc python/tests/*.xsl
115
116%changelog
117* Fri Oct 29 2004 Daniel Veillard <veillard@redhat.com>
118- upstream release 1.1.12 see http://xmlsoft.org/XSLT/news.html
119
120* Sun Nov  2 2003 Daniel Veillard <veillard@redhat.com>
121- cleanup, removal of the deprecated breakpoint library and
122  automated libxml2 dependancy level in the generated spec file.
123
124* Wed Oct 23 2002 Daniel Veillard <veillard@redhat.com>
125- revamped the spec file, cleaned up some rpm building problems
126
127* Wed Sep  4 2002 Daniel Veillard <veillard@redhat.com>
128
129- library paths fixed for x86-64
130
131* Fri Feb  8 2002 Daniel.Veillard <veillard@redhat.com>
132
133- added the python module
134- changed the Licence to MIT
135
136* Sat Nov 10 2001 Daniel.Veillard <daniel@veillard.com>
137
138- cleaned up the specfile
139
140* Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com>
141
142- created based on libxml2 spec file
143
Note: See TracBrowser for help on using the repository browser.