npth-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. Name: npth
  2. Version: 1.5
  3. Release: 1%{?_dist_release}
  4. Summary: The New GNU Portable Threads library
  5. # software uses dual licensing (or both in parallel)
  6. License: LGPLv3+ or GPLv2+ or (LGPLv3+ and GPLv2+)
  7. URL: https://www.gnupg.org/related_software/npth/index.html
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Packager: iwaim
  11. Source: ftp://ftp.gnupg.org/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. * Thu Mar 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.5-1
  53. - updated to 1.5.
  54. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.3-1
  55. - update to 1.3
  56. - update URL tag
  57. - add Packager tag
  58. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-4
  59. - initial build for Vine Linux.
  60. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  62. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  64. * Thu Apr 16 2015 Christopher Meng <rpm@cicku.me> - 1.2-1
  65. - Update to 1.2
  66. * Sat Nov 15 2014 Christopher Meng <rpm@cicku.me> - 1.1-1
  67. - Update to 1.1
  68. * Sat Sep 20 2014 Christopher Meng <rpm@cicku.me> - 1.0-1
  69. - Update to 1.0
  70. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-7
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  72. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  74. * Thu Mar 7 2013 Milan Bartos <mbartos@redhat.com> - 0.91-5
  75. - fixed license tag
  76. * Wed Mar 6 2013 Milan Bartos <mbartos@redhat.com> - 0.91-4
  77. - fixed license tag
  78. - added comment to license and manual page
  79. - removed defattr
  80. * Tue Mar 5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-3
  81. - added npth-config man page
  82. * Tue Mar 5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-2
  83. - fixed license tag
  84. - added COPYING.LESSER to package
  85. * Tue Feb 26 2013 Milan Bartos <mbartos@redhat.com> - 0.91-1
  86. - initial port