libmicrohttpd-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. Summary: Lightweight library for embedding a webserver in applications
  2. Name: libmicrohttpd
  3. Version: 0.9.76
  4. Release: 1%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: LGPLv2+
  9. URL: https://www.gnu.org/software/libmicrohttpd/
  10. Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildRequires: autoconf, automake, libtool
  13. BuildRequires: curl-devel
  14. BuildRequires: gnutls-devel
  15. BuildRequires: libgcrypt-devel
  16. BuildRequires: openssl-devel
  17. BuildRequires: zlib-devel
  18. BuildRequires: graphviz
  19. BuildRequires: doxygen
  20. %description
  21. GNU libmicrohttpd is a small C library that is supposed to make it
  22. easy to run an HTTP server as part of another application.
  23. Key features that distinguish libmicrohttpd from other projects are:
  24. * C library: fast and small
  25. * API is simple, expressive and fully reentrant
  26. * Implementation is http 1.1 compliant
  27. * HTTP server can listen on multiple ports
  28. * Support for IPv6
  29. * Support for incremental processing of POST data
  30. * Creates binary of only 25k (for now)
  31. * Three different threading models
  32. %package devel
  33. Summary: Development files for libmicrohttpd
  34. Summary(ja): libmicrohttpd の開発用ファイル
  35. Group: programming
  36. Requires: %{name} = %{version}-%{release}
  37. %description devel
  38. Development files for libmicrohttpd
  39. %package doc
  40. Summary: Documentation for libmicrohttpd
  41. Summary(ja): libmicrohttpd のドキュメント
  42. Group: documentation
  43. BuildArch: noarch
  44. Requires: %{name} = %{version}-%{release}
  45. %description doc
  46. Doxygen documentation for libmicrohttpd and some example source code
  47. %debug_package
  48. %prep
  49. %setup -q
  50. %build
  51. %configure --disable-static --with-gnutls
  52. make %{?_smp_mflags}
  53. make full -C doc/doxygen
  54. %install
  55. rm -rf %{buildroot}
  56. make install DESTDIR=%{buildroot}
  57. rm -f %{buildroot}%{_libdir}/libmicrohttpd.la
  58. rm -f %{buildroot}%{_libdir}/libmicrospdy.la
  59. rm -f %{buildroot}%{_infodir}/dir
  60. # Install some examples in /usr/share/doc/libmicrohttpd-${version}/examples
  61. rm -rf examples
  62. mkdir -p examples
  63. install -m 644 src/examples/*.c examples
  64. # Install the doxygen documentation in /usr/share/doc/libmicrohttpd-${version}/html
  65. rm -rf html
  66. cp -R doc/doxygen/html .
  67. # Disabled for now due to problems reported at
  68. # https://gnunet.org/bugs/view.php?id=1619
  69. #check
  70. #make check %{?_smp_mflags}
  71. %clean
  72. rm -rf %{buildroot}
  73. %files
  74. %defattr(-,root,root,-)
  75. %license COPYING
  76. %{_libdir}/libmicro*.so.*
  77. %files devel
  78. %defattr(-,root,root,-)
  79. %{_includedir}/micro*.h
  80. %{_libdir}/libmicro*.so
  81. %{_libdir}/pkgconfig/libmicro*.pc
  82. %files doc
  83. %doc AUTHORS README ChangeLog
  84. %doc examples
  85. %doc html
  86. %defattr(-,root,root,-)
  87. %{_mandir}/man3/libmicrohttpd.3.gz
  88. %{_infodir}/libmicrohttpd.info.gz
  89. %{_infodir}/libmicrohttpd_performance_data.png.gz
  90. %{_infodir}/libmicrohttpd-tutorial.info.gz
  91. %changelog
  92. * Wed Mar 15 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.76-1
  93. - new upstream release.
  94. * Fri Jan 14 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.75-1
  95. - new upstream release.
  96. * Fri Dec 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.74-1
  97. - new upstream release.
  98. - dropped install-info scriptlets.
  99. * Fri May 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.73-1
  100. - new upstream release.
  101. * Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.72-1
  102. - new upstream release.
  103. - dropped ldconfig scriptlets.
  104. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.70-1
  105. - rebuilt with current environment.
  106. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.39-2
  107. - rebuild with openssl-1.0.2
  108. * Mon Jan 12 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.39-1
  109. - updated to 0.9.39
  110. - built with libgcrypt 1.6.0 and gnutls 3.2.20
  111. * Mon Jan 17 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.2-1
  112. - initial build for Vine Linux based on fedora development
  113. * Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-3
  114. - Add missing BR gnutls-devel and libgcrypt-devel
  115. - Added patch to fix test apps (NSS instead of GnuTLS/OpenSSL curl,
  116. implicit DSO linking)
  117. - Disable test cases for now due to false errors, reported upstream
  118. * Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-2
  119. - Re-enable HTTPS, configure flags had unexpected result
  120. * Sun Nov 7 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-1
  121. - Update to 0.9.2
  122. * Fri Jun 4 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.6-1
  123. - Update to 0.4.6
  124. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  126. * Tue Jul 21 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.2-1
  127. - Update to version 0.4.2
  128. - Drop upstreamed patch
  129. * Fri Feb 27 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0a-1
  130. - Update to version 0.4.0a
  131. - Drop upstreamed patch
  132. - Added a new patch to fix a 64bit issue
  133. - The -devel package now contains a pkgconfig file
  134. - The configure script is now run with '--enable-messages --enable-https'
  135. - Made the -doc subpackage noarch (F11+)
  136. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
  137. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  138. * Sat Feb 14 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0-1
  139. - Update to version 0.4.0
  140. - This version introduces a API bump (which is required for
  141. supporting large files on 32bit environments)
  142. - The license issues we had with version 0.3.1 of this package (as
  143. discussed in #457924) are resolved in this version. The license
  144. of this package is now changed to LGPLv2+
  145. - Added a patch to fix two testcases on 64bit environments (upstream bug #1454)
  146. * Sat Sep 6 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-3
  147. - Changed license to GPLv3+ and added some comments
  148. regarding the license issues with this package
  149. * Sun Aug 10 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-2
  150. - Changed license to LGPLv2+
  151. - Moved the COPYING file to the main package
  152. * Tue Aug 5 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-1
  153. - Initial release