liblockfile-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. Name: liblockfile
  2. Version: 1.14
  3. Release: 6%{?_dist_release}
  4. Summary: This implements a number of functions found in -lmail on SysV systems
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. # regarding license please see file COPYRIGHT
  8. License: GPLv2+ and LGPLv2+
  9. URL: http://packages.qa.debian.org/libl/liblockfile.html
  10. Source0: http://ftp.de.debian.org/debian/pool/main/libl/liblockfile/liblockfile_%{version}.orig.tar.gz
  11. BuildRequires: gcc
  12. %description
  13. This library implements a number of functions found in -lmail on SysV
  14. systems. These functions are designed to lock the standard mailboxes in
  15. /var/mail (or wherever the system puts them).
  16. In additions, this library adds a number of functions to create,
  17. manage and remove generic lockfiles.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Requires: %{name} = %{version}-%{release}
  21. %description devel
  22. The %{name}-devel package contains libraries and header files for
  23. developing applications that use %{name}.
  24. %prep
  25. %setup -q -n %{name}
  26. # remove -g root from install
  27. sed -i "s/-g root//" Makefile.in
  28. %build
  29. %configure --enable-shared --prefix=%{buildroot} --bindir=%{buildroot}%{_bindir} --mandir=%{buildroot}%{_mandir} --libdir=%{buildroot}%{_libdir} --includedir=%{buildroot}%{_includedir}
  30. make
  31. %install
  32. rm -rf %{buildroot}
  33. export DESTDIR=%{buildroot}
  34. make install
  35. ldconfig -N -n %{buildroot}/%{_libdir}
  36. %clean
  37. rm -rf %{buildroot}
  38. %post -p /sbin/ldconfig
  39. %postun -p /sbin/ldconfig
  40. %files
  41. %license COPYRIGHT
  42. %doc README Changelog
  43. %{_bindir}/dotlockfile
  44. %{_libdir}/liblockfile.so.1.0
  45. %{_libdir}/liblockfile.so.1
  46. %{_mandir}/man1/dotlockfile.1*
  47. %files devel
  48. %{_libdir}/liblockfile.so
  49. %{_includedir}/maillock.h
  50. %{_includedir}/lockfile.h
  51. %{_libdir}/liblockfile.a
  52. %{_mandir}/man3/lockfile_create.3*
  53. %{_mandir}/man3/maillock.3*
  54. %changelog
  55. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.14-6
  56. - initial build for Vine Linux.
  57. * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-5
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  59. * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-4
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  61. * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-3
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  63. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  65. * Thu Mar 08 2018 Matthias Runge <mrunge@redhat.com> - 1.14-1
  66. - update to 1.14 (rhbz#1548753)
  67. - fixed build flags injection (rhbz#1548706)
  68. * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-8
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  70. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-7
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  72. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-6
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  74. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-5
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  76. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-4
  77. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  78. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.09-3
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  80. * Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.09-2
  81. - Rebuilt for Fedora 23 Change
  82. https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
  83. * Thu Jan 15 2015 Matthias Runge <mrunge@redhat.com> - 1.09-1
  84. - update to 1.09
  85. - resolve timeout issue (rhbz#1159377)
  86. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-18
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  88. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-17
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  90. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-16
  91. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  92. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-15
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  94. * Fri Sep 14 2012 Matthias Runge <mrunge@redhat.com> - 1.08-14
  95. - license is GPLv2+ and LGPLv2+
  96. - minor spec cleanups
  97. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-13
  98. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  99. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-12
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  101. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-11
  102. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  103. * Sat Aug 14 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08.10
  104. - replace linking of libs with ldconfig
  105. * Fri Aug 6 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-9
  106. - change description and summary of -devel-subpackage
  107. - make wildcard for man-pages even match against uncompressed files
  108. * Fri Aug 6 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-8
  109. - rename to liblockfile
  110. - sorting file to main and -devel package
  111. - explicitly list files in files-section
  112. * Fri Aug 6 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-7
  113. - remove COPYRIGHT from devel
  114. - just fix one missing link from upstream
  115. * Thu Aug 5 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-6
  116. - include COPYRIGHT in -devel, too
  117. - remove unnecessary exclude
  118. * Tue Aug 3 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-5
  119. - fix shared lib warning, sort lib to devel
  120. - choose GPLv2+ as License (until we know better)
  121. * Wed Jul 28 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-4
  122. - rename to lockfile
  123. - sort lib to top package, fix license, build shared lib
  124. * Sun Jul 18 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-3
  125. - fix up hidden dirs, and links
  126. * Wed Jun 30 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-2
  127. - replace patch by sed-script
  128. * Sat May 22 2010 Matthias Runge <mrunge@matthias-runge.de> 1.08-1
  129. - initial build