libmicrohttpd-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Summary: Lightweight library for embedding a webserver in applications
  2. Name: libmicrohttpd
  3. Version: 0.9.74
  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. * Fri Dec 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.74-1
  93. - new upstream release.
  94. - dropped install-info scriptlets.
  95. * Fri May 07 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.73-1
  96. - new upstream release.
  97. * Mon Mar 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.72-1
  98. - new upstream release.
  99. - dropped ldconfig scriptlets.
  100. * Sun Mar 29 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.70-1
  101. - rebuilt with current environment.
  102. * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.39-2
  103. - rebuild with openssl-1.0.2
  104. * Mon Jan 12 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.9.39-1
  105. - updated to 0.9.39
  106. - built with libgcrypt 1.6.0 and gnutls 3.2.20
  107. * Mon Jan 17 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.2-1
  108. - initial build for Vine Linux based on fedora development
  109. * Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-3
  110. - Add missing BR gnutls-devel and libgcrypt-devel
  111. - Added patch to fix test apps (NSS instead of GnuTLS/OpenSSL curl,
  112. implicit DSO linking)
  113. - Disable test cases for now due to false errors, reported upstream
  114. * Tue Nov 16 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-2
  115. - Re-enable HTTPS, configure flags had unexpected result
  116. * Sun Nov 7 2010 Tim Niemueller <tim@niemueller.de> - 0.9.2-1
  117. - Update to 0.9.2
  118. * Fri Jun 4 2010 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.6-1
  119. - Update to 0.4.6
  120. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
  121. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  122. * Tue Jul 21 2009 Erik van Pienbroek <epienbro@fedoraproject.org> - 0.4.2-1
  123. - Update to version 0.4.2
  124. - Drop upstreamed patch
  125. * Fri Feb 27 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0a-1
  126. - Update to version 0.4.0a
  127. - Drop upstreamed patch
  128. - Added a new patch to fix a 64bit issue
  129. - The -devel package now contains a pkgconfig file
  130. - The configure script is now run with '--enable-messages --enable-https'
  131. - Made the -doc subpackage noarch (F11+)
  132. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
  133. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  134. * Sat Feb 14 2009 Erik van Pienbroek <info@nntpgrab.nl> - 0.4.0-1
  135. - Update to version 0.4.0
  136. - This version introduces a API bump (which is required for
  137. supporting large files on 32bit environments)
  138. - The license issues we had with version 0.3.1 of this package (as
  139. discussed in #457924) are resolved in this version. The license
  140. of this package is now changed to LGPLv2+
  141. - Added a patch to fix two testcases on 64bit environments (upstream bug #1454)
  142. * Sat Sep 6 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-3
  143. - Changed license to GPLv3+ and added some comments
  144. regarding the license issues with this package
  145. * Sun Aug 10 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-2
  146. - Changed license to LGPLv2+
  147. - Moved the COPYING file to the main package
  148. * Tue Aug 5 2008 Erik van Pienbroek <info@nntpgrab.nl> - 0.3.1-1
  149. - Initial release