npth-vl.spec 3.6 KB

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