npth-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Name: npth
  2. Version: 1.3
  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. * Mon Mar 20 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 1.3-1
  53. - update to 1.3
  54. - update URL tag
  55. - add Packager tag
  56. * Sat May 21 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-4
  57. - initial build for Vine Linux.
  58. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-3
  59. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  60. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
  61. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  62. * Thu Apr 16 2015 Christopher Meng <rpm@cicku.me> - 1.2-1
  63. - Update to 1.2
  64. * Sat Nov 15 2014 Christopher Meng <rpm@cicku.me> - 1.1-1
  65. - Update to 1.1
  66. * Sat Sep 20 2014 Christopher Meng <rpm@cicku.me> - 1.0-1
  67. - Update to 1.0
  68. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-7
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  70. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-6
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  72. * Thu Mar 7 2013 Milan Bartos <mbartos@redhat.com> - 0.91-5
  73. - fixed license tag
  74. * Wed Mar 6 2013 Milan Bartos <mbartos@redhat.com> - 0.91-4
  75. - fixed license tag
  76. - added comment to license and manual page
  77. - removed defattr
  78. * Tue Mar 5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-3
  79. - added npth-config man page
  80. * Tue Mar 5 2013 Milan Bartos <mbartos@redhat.com> - 0.91-2
  81. - fixed license tag
  82. - added COPYING.LESSER to package
  83. * Tue Feb 26 2013 Milan Bartos <mbartos@redhat.com> - 0.91-1
  84. - initial port