libmicrohttpd-vl.spec 5.9 KB

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