npth-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: npth
  2. Version: 1.6
  3. Release: 1%{?_dist_release}
  4. Summary: The New GNU Portable Threads library
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. Packager: iwaim
  8. # software uses dual licensing (or both in parallel)
  9. License: LGPLv3+ or GPLv2+ or (LGPLv3+ and GPLv2+)
  10. URL: https://www.gnupg.org/related_software/npth/index.html
  11. Source: https://gnupg.org/ftp/gcrypt/npth/npth-%{version}.tar.bz2
  12. #Source1: ftp://ftp.gnupg.org/gcrypt/npth/npth-%{version}.tar.bz2.sig
  13. # Manual page is re-used and changed pth-config.1 from pth-devel package
  14. Source2: npth-config.1
  15. %description
  16. nPth is a non-preemptive threads implementation using an API very similar
  17. to the one known from GNU Pth. It has been designed as a replacement of
  18. GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is
  19. based on the system's standard threads implementation. Thus nPth allows
  20. the use of libraries which are not compatible to GNU Pth.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Requires: %{name}%{?_isa} = %{version}-%{release}
  24. %description devel
  25. This package contains libraries and header files for
  26. developing applications that use %{name}.
  27. %prep
  28. %setup -q
  29. %build
  30. %configure --disable-static
  31. %make_build
  32. %install
  33. %make_install INSTALL='install -p'
  34. mkdir -p %{buildroot}%{_mandir}/man1/
  35. install -pm0644 %{S:2} %{buildroot}%{_mandir}/man1/
  36. find %{buildroot} -name '*.la' -delete -print
  37. %check
  38. make check
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %license COPYING COPYING.LESSER
  43. %{_libdir}/*.so.*
  44. %files devel
  45. %doc AUTHORS ChangeLog NEWS README
  46. %{_bindir}/*
  47. %{_libdir}/*.so
  48. %{_includedir}/*.h
  49. %{_mandir}/*/*
  50. %{_datadir}/aclocal/*
  51. %changelog
  52. * Sun Mar 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.6-1
  53. - updated to 1.6.
  54. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5-1
  55. - updated to 1.5.
  56. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.3-1
  57. - update to 1.3
  58. - update URL tag
  59. - add Packager tag
  60. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-4
  61. - initial build for Vine Linux.
  62. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  64. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
  65. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  66. * Thu Apr 16 2015 Christopher Meng <rpm@cicku.me> - 1.2-1
  67. - Update to 1.2
  68. * Sat Nov 15 2014 Christopher Meng <rpm@cicku.me> - 1.1-1
  69. - Update to 1.1
  70. * Sat Sep 20 2014 Christopher Meng <rpm@cicku.me> - 1.0-1
  71. - Update to 1.0
  72. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-7
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  74. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  76. * Thu Mar 7 2013 Milan Bartos <mbartos@redhat.com> - 0.91-5
  77. - fixed license tag
  78. * Wed Mar 6 2013 Milan Bartos <mbartos@redhat.com> - 0.91-4
  79. - fixed license tag
  80. - added comment to license and manual page
  81. - removed defattr
  82. * Tue Mar 5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-3
  83. - added npth-config man page
  84. * Tue Mar 5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-2
  85. - fixed license tag
  86. - added COPYING.LESSER to package
  87. * Tue Feb 26 2013 Milan Bartos <mbartos@redhat.com> - 0.91-1
  88. - initial port