neon-vl.spec 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: neon
  3. Summary: An HTTP and WebDAV client library.
  4. Summary(ja): HTTP と WebDAV クライアントのライブラリ
  5. Version: 0.34.0
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPLv2+
  11. URL: https://notroj.github.io/neon/
  12. Source0: https://notroj.github.io/neon/%{name}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: expat
  15. Requires: krb5-libs
  16. BuildRequires: expat-devel
  17. BuildRequires: gnutls-devel
  18. BuildRequires: krb5-devel
  19. BuildRequires: libxml2-devel
  20. BuildRequires: sed
  21. BuildRequires: pkgconfig(zlib)
  22. BuildRequires: keyutils-libs-devel
  23. BuildRequires: xmlto
  24. %description
  25. neon is an HTTP and WebDAV client library, with a C interface;
  26. providing a high-level interface to HTTP and WebDAV methods along
  27. with a low-level interface for HTTP request handling. neon
  28. supports persistent connections, proxy servers, basic, digest and
  29. Kerberos authentication, and has complete SSL support.
  30. %package devel
  31. Summary: Development libraries and C header files for the neon library
  32. Summary(ja): neon の開発用ライブラリおよび C言語ヘッダファイル
  33. Group: programming
  34. Requires: %{name} = %{version}
  35. Requires: pkgconfig(zlib)
  36. #Requires: openssl-devel
  37. Requires: expat-devel
  38. Requires: gnutls-devel
  39. Requires: krb5-devel
  40. Requires: keyutils-libs-devel
  41. %description devel
  42. The development library for the C language HTTP and WebDAV client library.
  43. %description devel -l ja
  44. C言語による HTTP と WebDAV クライアントのライブラリの開発用パッケージ
  45. ## to build compat32 for x86_64 architecture support
  46. %package -n compat32-%{name}
  47. Summary: C language HTTP and WebDAV client library.
  48. Group: system,legacy
  49. Requires: expat
  50. %description -n compat32-%{name}
  51. A C language HTTP and WebDAV client library.
  52. %package -n compat32-%{name}-devel
  53. Summary: A C language HTTP and WebDAV client library.
  54. Group: programming,legacy
  55. Requires: compat32-%{name} = %{version}
  56. #Requires: compat32-openssl-devel
  57. Requires: compat32-expat-devel
  58. Requires: compat32-keyutils-libs-devel
  59. Requires: compat32-krb5-devel
  60. %description -n compat32-%{name}-devel
  61. The development library for the C language HTTP and WebDAV client library.
  62. %debug_package
  63. %prep
  64. %setup -q
  65. # for GnuTLS 3.4
  66. #sed -e 's/client_set/set/' \
  67. # -e 's/gnutls_retr/&2/' \
  68. # -e 's/type = t/cert_&/' \
  69. # -i src/ne_gnutls.c
  70. %build
  71. %configure \
  72. --with-expat \
  73. --with-ssl=gnutls \
  74. --enable-threadsafe-ssl=posix \
  75. --enable-shared \
  76. --disable-static \
  77. --with-force-ssl
  78. %__make %{?_smp_mflags}
  79. %install
  80. %__rm -rf %{buildroot}
  81. %makeinstall
  82. sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
  83. $RPM_BUILD_ROOT%{_libdir}/libneon.la
  84. %find_lang %{name}
  85. rm -rf pkgdoc
  86. mv -f %{buildroot}%{_docdir}/neon-%{version} ./pkgdoc
  87. ## remove unuse files
  88. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  89. %clean
  90. rm -rf $RPM_BUILD_ROOT
  91. %files -f %{name}.lang
  92. %defattr(-,root,root)
  93. %doc AUTHORS BUGS ChangeLog INSTALL.win32 NEWS README.md THANKS TODO
  94. %{_libdir}/*.so.*
  95. %files devel
  96. %defattr(-,root,root)
  97. %doc pkgdoc/*
  98. %{_bindir}/*
  99. %{_includedir}/*
  100. %{_mandir}/man1/*
  101. %{_mandir}/man3/*
  102. #{_libdir}/*.a
  103. #{_libdir}/*.la
  104. %{_libdir}/*.so
  105. %{_libdir}/pkgconfig/*.pc
  106. %if %{build_compat32}
  107. %files -n compat32-%{name}
  108. %defattr(-,root,root)
  109. %{_libdir}/*.so.*
  110. %files -n compat32-%{name}-devel
  111. %defattr(-,root,root)
  112. #{_libdir}/*.a
  113. #{_libdir}/*.la
  114. %{_libdir}/pkgconfig/*.pc
  115. %endif
  116. %changelog
  117. * Fri Apr 11 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.34.0-1
  118. - new upstream release.
  119. * Tue Oct 31 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.32.5-1
  120. - new upstream release.
  121. * Mon May 09 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.32.2-1
  122. - new upstream release.
  123. * Wed Nov 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.32.1-1
  124. - new upstream release.
  125. - dropped ldconfig scriptlets.
  126. * Sun Feb 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.31.2-1
  127. - new upstream release.
  128. * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.30.2-1
  129. - new upstream release.
  130. * Wed Dec 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.30.1-1
  131. - new upstream release.
  132. - built with gnutls-3.4.x.
  133. * Tue Feb 25 2014 NAKAMURA Kenta <kenta@vinelinux.org> 0.30.0-1
  134. - update to 0.30.0
  135. * Sun Jan 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.29.6-2
  136. - rebuild with VineSeed environment
  137. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.29.6-1
  138. - update to 0.29.6
  139. * Mon May 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.29.3-2
  140. - add BuildRequires: keyutils-libs-devel
  141. - add Requires: krb5-devel, keyutils-libs-devel (-devel package)
  142. * Sun Apr 24 2011 IWAI, Masaharu <iwai@alib.jp> 0.29.3-1
  143. - new upstream release
  144. * Thu Mar 24 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.28.6-3
  145. - rebuilt with krb5-libs-1.8.2
  146. - removed BR: openssl-devel
  147. - removed static library from devel package
  148. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.28.6-2
  149. - rebuilt with rpm-4.8.1 for pkg-config
  150. * Tue Aug 25 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.28.6-1
  151. - new upstream release with security fix (CVE-2009-2473, 2474)
  152. * Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.28.3-3vl5
  153. - rebuild with gnutls-2.6.3
  154. * Sun Oct 19 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.28.3-2vl5
  155. - add Requires/BuildRequires krb5-libs/krb5-devel tags
  156. - add _smp_mflags into make section
  157. * Fri Oct 17 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.28.3-1vl5
  158. - new upstream release with security fix (CVE-2008-3746)
  159. * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.28.2-3vl5
  160. - removed *.la
  161. - spec in utf-8
  162. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.28.2-2vl5
  163. - added --with-ssl=gnutls --enable-threadsafe-ssl
  164. - added BuildRequires: gnutls-devel
  165. * Fri Apr 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.28.2-1vl5
  166. - new upstream release
  167. * Mon Feb 25 2008 NAKAMURA Kenta <kenta@vinelinux.org> 0.26.3-0vl3
  168. - removed %%if !%%{build_compat32} case condition
  169. * Wed Feb 20 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.26.3-0vl2
  170. - rebuild with expat-2.0.1
  171. * Wed May 16 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.26.3-0vl1
  172. - new upstream release
  173. * Mon Mar 12 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.25.5-0vl3
  174. - add Requires: zlib-devel, openssl-devel, expat-devel
  175. * Mon May 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.25.5-0vl2
  176. - move %%configure from %%prep to %%build
  177. - remove unneeded locales.patch (for neon-0.26.x or later)
  178. * Wed Apr 05 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.25.5-0vl1
  179. - new upstream release
  180. - drop doc.patch (patch0)
  181. - use more macros
  182. - drop BuildRequires: autoconf, automake
  183. - add *.pc to -devel (and compat32's) package
  184. - change group
  185. - add Requires: %%{name} = %%{version} to -devel (and compat32's) package
  186. - add doc/html instead of doc/* to %%doc
  187. - move %%{_mandir}/man1/* and %%{_bindir}/* to -devel package
  188. - run ldconfig in %%post,postun
  189. - add locales.patch (patch0)
  190. * Mon Feb 06 2006 Shu KONNO <owa@bg.wakwak.com> 0.24.7-0vl3
  191. - moved macros (_lib, gcc -m32) to /usr/lib/rpm/rpmrc or macros files
  192. * Fri Feb 03 2006 Shu KONNO <owa@bg.wakwak.com> 0.24.7-0vl2
  193. - added compat32- packages for x86_64 architecture support
  194. - added --libdir=%{_libdir} option to configure
  195. * Sun Sep 5 2004 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 0.24.7-0vl1
  196. - new upstream release
  197. * Sun Nov 23 2003 IWAI, Masaharu <iwai@alib.jp> 0.24.4-0vl1
  198. - upstream release
  199. - update URL and Source0 tag: valid URL
  200. * Fri Sep 19 2003 IWAI, Masaharu <iwai@alib.jp> 0.24.2-0vl1
  201. - upstream release
  202. - add BuildRequires: openssl-devel, libxml2-devel, zlib-devel
  203. - add Japanese Summary and %%description
  204. * Sun Mar 30 2003 Kazuhisa TAKEI <takei@vinelinux.org> 0.23.5-1vl1
  205. - build VineLinux
  206. * Mon Nov 04 2002 David Summers <david@summersoft.fay.ar.us> 0.23.5-1
  207. - Updated to 0.23.5.
  208. * Tue Aug 27 2002 David Summers <david@summersoft.fay.ar.us> 0.23.2-1
  209. - Upgraded to 0.23.2.
  210. * Fri Aug 16 2002 David Summers <david@summersoft.fay.ar.us> 0.22.0-1
  211. - Upgraded to 0.22.0.
  212. - Fixed compilation from CVS.
  213. - Took out man pages until I can figure out xmlto program.
  214. * Sat Aug 03 2002 David Summers <david@summersoft.fay.ar.us> 0.21.3-3
  215. - Fixed compilation on RedHat 7.2 by upgrading libtool and auto* packages
  216. to RedHat 7.3 versions and fixing bug in spec file.
  217. - Gave up on CVS version of neon until we can figure out why autogen.sh doesn't
  218. work.
  219. * Wed Jul 24 2002 David Summers <david@summersoft.fay.ar.us> 0.21.3-2
  220. - Fixed file ownership problems. Made them owned by root.
  221. * Fri Jul 19 2002 David Summers <david@summersoft.fay.ar.us> 0.21.3-1
  222. - Updated to neon 0.21.3.
  223. * Sun Jun 16 2002 David Summers <david@summersoft.fay.ar.us> 0.21.2-1
  224. - Updated to neon 0.21.2.
  225. * Mon Jun 03 2002 David Summers <david@summersoft.fay.ar.us> 0.21.1-1
  226. - Updated to neon 0.21.1.
  227. - Now requires zlib >= 1.1.4.
  228. - Broke into zlib and zlib-devel.
  229. - Now builds shared library.
  230. * Sat Apr 27 2002 David Summers <david@summersoft.fay.ar.us> 0.19.4-1
  231. - Updated to neon 0.19.4.
  232. * Fri Feb 22 2002 David Summers <david@summersoft.fay.ar.us> 0.19.2-1
  233. - Updated to neon 0.19.2.
  234. * Thu Dec 20 2001 David Summers <david@summersoft.fay.ar.us> 0.18.2-1
  235. - Updated to neon 0.18.2.
  236. * Wed Oct 31 2001 David Summers <david@summersoft.fay.ar.us> 0.17.2-2
  237. - Took out dependency on libxml and w3c-libwww packages.
  238. - Added dependency on expat.
  239. * Sat Oct 27 2001 David Summers <david@summersoft.fay.ar.us> 0.17.2-1
  240. - Release 0.17.2-1: Updated neon.
  241. * Wed Oct 24 2001 David Summers <david@summersoft.fay.ar.us>
  242. - Release 2: Fixed prefix to be /usr instead of /usr/local.
  243. * Sat Oct 20 2001 David Summers <david@summersoft.fay.ar.us>
  244. - Release 2001-10-20: Initial Version.