npth-vl.spec 3.1 KB

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