libxslt-vl.spec 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. %define _unpackaged_files_terminate_build 1
  3. Summary: Library providing the Gnome XSLT engine
  4. Summary(ja): XSLT エンジンライブラリ
  5. Name: libxslt
  6. Version: 1.1.32
  7. Release: 1%{_dist_release}
  8. License: MIT
  9. Group: System Environment/Libraries
  10. URL: http://xmlsoft.org/XSLT/
  11. Source0: ftp://xmlsoft.org/XSLT/%{name}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: libxml2-devel >= 2.6.27
  14. BuildRequires: zlib-devel >= 1.1.4
  15. BuildRequires: python python-devel perl libxml2-python
  16. Requires: libxml2 >= 2.6.27
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. This C library allows to transform XML files into other XML files
  21. (or HTML, text, ...) using the standard XSLT stylesheet transformation
  22. mechanism. To use it you need to have a version of libxml2 >= 2.6.15
  23. installed. The xsltproc command is a command line interface to the XSLT engine
  24. %description -l ja
  25. XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。
  26. %package devel
  27. Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
  28. Summary(ja): XSLT 開発用ファイル
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: libxml2-devel >= 2.6.27
  32. %description devel
  33. This C library allows to transform XML files into other XML files
  34. (or HTML, text, ...) using the standard XSLT stylesheet transformation
  35. mechanism. To use it you need to have a version of libxml2 >= 2.6.15
  36. installed.
  37. %description devel -l ja
  38. XSLTのための開発用ファイルです。
  39. %package static
  40. Summary: Static library for %{name}
  41. Summary(ja): %{name} のスタティックライブラリ
  42. Group: Development/Libraries
  43. Requires: libxslt-devel = %{version}-%{release}
  44. %description static
  45. The libxslt-static package contains the static library for libxslt.
  46. %package python
  47. Summary: Python bindings for the libxslt library
  48. Group: Development/Libraries
  49. Requires: libxslt = %{version}-%{release}
  50. Requires: libxml2 >= 2.6.27
  51. Requires: python
  52. %description python
  53. The libxslt-python package contains a module that permits applications
  54. written in the Python programming language to use the interface
  55. supplied by the libxslt library to apply XSLT transformations.
  56. This library allows to parse sytlesheets, uses the libxml2-python
  57. to load and save XML and HTML files. Direct access to XPath and
  58. the XSLT transformation context are possible to extend the XSLT language
  59. with XPath functions written in Python.
  60. # compat32
  61. %package -n compat32-%{name}
  62. Summary: Library providing the Gnome XSLT engine
  63. Summary(ja): XSLT エンジンライブラリ
  64. Group: System Environment/Libraries
  65. Requires: %{name} = %{version}-%{release}
  66. Requires: compat32-libxml2 >= 2.6.27
  67. %description -n compat32-%{name}
  68. This C library allows to transform XML files into other XML files
  69. (or HTML, text, ...) using the standard XSLT stylesheet transformation
  70. mechanism. To use it you need to have a version of libxml2 >= 2.6.15
  71. installed. The xsltproc command is a command line interface to the XSLT engine
  72. %description -n compat32-%{name} -l ja
  73. XSLTスタイルシートを使ってXML型式をHTML型式に変換するためのライブラリです。
  74. %package -n compat32-%{name}-devel
  75. Summary: Libraries, includes, etc. to embed the Gnome XSLT engine
  76. Summary(ja): XSLT 開発用ファイル
  77. Group: Development/Libraries
  78. Requires: %{name}-devel = %{version}-%{release}
  79. Requires: compat32-%{name} = %{version}-%{release}
  80. Requires: compat32-libxml2-devel >= 2.6.27
  81. %description -n compat32-%{name}-devel
  82. This C library allows to transform XML files into other XML files
  83. (or HTML, text, ...) using the standard XSLT stylesheet transformation
  84. mechanism. To use it you need to have a version of libxml2 >= 2.6.15
  85. installed.
  86. %description -n compat32-%{name}-devel -l ja
  87. XSLTのための開発用ファイルです。
  88. %prep
  89. %setup -q
  90. %build
  91. %configure --without-crypto
  92. make %{?_smp_mflags}
  93. %install
  94. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  95. make DESTDIR=$RPM_BUILD_ROOT install
  96. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  97. rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.{a,la}
  98. #
  99. # this is a bit ugly but tries to generate the bindings for all versions
  100. # of python installed
  101. #for i in %{prefix}/include/python*
  102. #do
  103. # py_version=`echo $i | sed "s+%{prefix}/include/python++"`
  104. # if test -x %{prefix}/bin/python$py_version
  105. # then
  106. # echo generating bindings for Python $py_version
  107. # (cd python ; make clean ; \
  108. # make PYTHON="%{prefix}/bin/python$py_version" \
  109. # PYTHON_VERSION="$py_version"; \
  110. # make PYTHON="%{prefix}/bin/python$py_version" \
  111. # PYTHON_VERSION="$py_version" \
  112. # prefix=$RPM_BUILD_ROOT%{prefix} \
  113. # mandir=$RPM_BUILD_ROOT%{_mandir} install)
  114. # fi
  115. #done
  116. %clean
  117. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  118. %post -p /sbin/ldconfig
  119. %postun -p /sbin/ldconfig
  120. %post -n compat32-%{name} -p /sbin/ldconfig
  121. %postun -n compat32-%{name} -p /sbin/ldconfig
  122. %files
  123. %defattr(-, root, root)
  124. %doc AUTHORS ChangeLog NEWS README Copyright TODO FEATURES
  125. %doc doc/*.html doc/html doc/tutorial doc/EXSLT
  126. %{_bindir}/xsltproc
  127. %{_libdir}/lib*.so.*
  128. %{_mandir}/man1/xsltproc.1*
  129. %files devel
  130. %defattr(-, root, root)
  131. %doc AUTHORS ChangeLog NEWS README Copyright TODO FEATURES
  132. %{_includedir}/*
  133. %{_libdir}/lib*.so
  134. %{_libdir}/*.sh
  135. %{_libdir}/pkgconfig/*.pc
  136. %{_bindir}/xslt-config
  137. %{_datadir}/aclocal/*.m4
  138. %{_mandir}/man3/*
  139. %files static
  140. %defattr(-, root, root)
  141. %{_libdir}/lib*.a
  142. %files python
  143. %defattr(-, root, root)
  144. %doc AUTHORS ChangeLog NEWS README Copyright FEATURES
  145. %doc python/TODO
  146. %doc python/libxsltclass.txt
  147. %doc python/tests/*.py
  148. %doc python/tests/*.xml
  149. %doc python/tests/*.xsl
  150. %{_libdir}/python*/site-packages/libxslt.py
  151. %{_libdir}/python*/site-packages/libxsltmod*
  152. # compat32
  153. %if %{build_compat32}
  154. %files -n compat32-%{name}
  155. %defattr(-, root, root)
  156. %{_libdir}/lib*.so.*
  157. %files -n compat32-%{name}-devel
  158. %defattr(-, root, root)
  159. %{_libdir}/lib*.so
  160. %{_libdir}/lib*.a
  161. %{_libdir}/*.sh
  162. %endif
  163. %changelog
  164. * Sat Jan 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.32-1
  165. - updated to 1.1.32.
  166. * Wed Jun 8 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.29-1
  167. - updated to 1.1.29.
  168. - dropped Patch0.
  169. * Thu Oct 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.28-2
  170. - add Patch0 (libxslt-1.1.28-CVE-2015-7995.patch)
  171. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.28-1
  172. - update to 1.1.28
  173. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.27-2
  174. - rebuild with VineSeed environment
  175. * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.27-1
  176. - new upstream release
  177. * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.26-7
  178. - rebuild with python-2.7.2
  179. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 1.1.26-6
  180. - build with rpm-4.8.1-1 for pkg-config file
  181. * Fri Feb 12 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.26-5
  182. - rebuilt with gcc-4.4.3-3 on ppc
  183. * Sat Feb 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.26-4
  184. - removed %%{_libdir}/python*/site-packages/*.{a,la}
  185. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.1.26-3
  186. - rebuild with python-2.6
  187. * Tue Feb 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.1.26-2
  188. - rebuilt with new toolchain
  189. * Wed Jan 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.26-1
  190. - new upstream release
  191. - split static libraries to subpackage
  192. * Mon Jul 13 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-3
  193. - added compat32 package for x86_64 arch support
  194. * Fri Jul 18 2008 Shu KONNO <owa@bg.wakwak.com> 1.1.23-2
  195. - rebuilt with python-2.5.2
  196. * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.23-1
  197. - new upstream release
  198. - remove *.la file from devel package
  199. * Wed Oct 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.22-0vl1
  200. - new upstream release
  201. * Sun Feb 4 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.20-0vl1
  202. - new upstream release
  203. - updated BuildRequires: libxml2-devel >= 2.6.27
  204. - updated Requires: libxml2 >= 2.6.27
  205. * Sat Aug 05 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.17-0vl1
  206. - added --libdir=%%{_libdir} to ./configure option
  207. * Fri Jul 14 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.17-0vl1
  208. - new upstream release
  209. - updated libxml2 dependancy
  210. * Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.15-0vl1
  211. - new upstream release
  212. * Tue Apr 12 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.14-0vl1
  213. - new upstream release
  214. * Sun Apr 03 2005 Shu KONNO <owa@bg.wakwak.com> 1.1.12-0vl3
  215. - rebuild with python-2.4.1-0vl1
  216. * Thu Nov 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.12-0vl2
  217. - build without libgcrypt (add --without-crypto to configure option)
  218. - remove lines about snapshot release
  219. - use %%makeinstall
  220. - add %%{_libdir}/python*/site-packages/libxsltmod* to python package
  221. * Thu Nov 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.12-0vl1
  222. - source upgrade (security fix)
  223. - BuildPrereq: libxml2-devel >= 2.6.15
  224. - Requires: libxml2 >= 2.6.15
  225. - add doc/EXSLT to %%doc
  226. * Tue Sep 07 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.9-0vl1
  227. - new upstream version
  228. * Tue Apr 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.6-0vl1
  229. - source upgrade
  230. - BuildPrereq: libxml2-devel >= 2.6.8
  231. - Requires: libxml2 >= 2.6.8
  232. * Sat Apr 17 2004 Shu KONNO <owa@bg.wakwak.com> 1.1.4-0vl2
  233. - rebuild with python-2.3.3-0vl1
  234. * Sat Apr 10 2004 Shu KONNO <owa@bg.wakwak.com> 1.1.4-0vl1.1
  235. - rebuild with python-2.3.3-0vl0.3 (for TestPkg)
  236. * Thu Mar 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-0vl1
  237. - new upstream release
  238. * Thu Jan 29 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.2-0vl1
  239. - new upstream release
  240. - BuildPrereq: libxml2-devel >= 2.6.3
  241. - Requires: libxml2 >= 2.6.3
  242. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.32-0vl1
  243. - new upstream release
  244. * Sun Jul 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.31-0vl1
  245. - source upgrade
  246. * Sat May 17 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.30-0vl1
  247. - source upgrade
  248. * Mon Feb 17 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.26-0vl1
  249. - source upgrade
  250. - BuildPrereq: libxml2-devel >= 2.5.2
  251. - Requires: libxml2 >= 2.5.2
  252. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0.23-0vl1
  253. - source upgrade
  254. - build with new toolchains
  255. * Tue Oct 29 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.22-0vl1
  256. - source update to 1.0.22
  257. - BuildPrereq: libxml2-devel >= 2.4.23
  258. - Requires: libxml2 >= 2.4.23
  259. * Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.17-1vl1
  260. - merged with 1.0.17-1
  261. -- Fri Feb 8 2002 Daniel.Veillard <veillard@redhat.com>
  262. - added the python module
  263. - clean up spec
  264. - BuildPrereq: libxml2-devel >= 2.4.17
  265. - Requires: libxml2 >= 2.4.17
  266. * Mon Mar 18 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.10-0vl2
  267. - changed License to MIT (not LGPL)
  268. - add BuildPrereq: zlib-devel >= 1.1.4 perl
  269. * Sun Feb 24 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.10-0vl1
  270. - source update
  271. - BuildPrereq: libxml2-devel >= 2.4.13
  272. * Thu Oct 11 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 1.0.9-0vl1
  273. - add gtk-doc to BuildPrereq
  274. * Thu Oct 11 2001 AKIYAMA Kazuhito <akiyama@karen.servepics.com>
  275. - 1.0.1-1vl2
  276. - Build for VineSeed
  277. * Fri Aug 24 2001 Tuscus Pino-potamus Japonus <ursragna@hotmail.com>
  278. - 1.0.1-1vl1
  279. - cleaning
  280. * Fri Jul 27 2001 Tuscus Pino-potamus Japonus <ursragna@hotmail.com>
  281. - 1.0.1-1vl0
  282. - modify for Vine Linux 2.1x
  283. * Mon Jan 22 2001 Daniel.Veillard <daniel@veillard.com>
  284. - created based on libxml2 spec file