cryptsetup-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. Summary: A utility for setting up encrypted filesystems
  2. Name: cryptsetup
  3. Version: 1.0.5
  4. Release: 8%{?_dist_release}
  5. License: GPLv2
  6. Group: Applications/System
  7. URL: http://luks.endorphin.org/
  8. Source: http://luks.endorphin.org/source/cryptsetup-%{version}.tar.bz2
  9. Patch: cryptsetup-luks-1.0.1-proto.patch
  10. Patch1: cryptsetup-1.0.5-readonly_detection.patch
  11. Patch3: cryptsetup-1.0.5-luksInit_header.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  13. BuildRequires: libgcrypt-devel, popt, device-mapper-devel
  14. BuildRequires: libgpg-error-devel, e2fsprogs-devel
  15. #BuildRequires: recode
  16. Provides: cryptsetup-luks = %{version}-%{release}
  17. Obsoletes: cryptsetup-luks
  18. %description
  19. This package contains cryptsetup, a utility for setting up
  20. encrypted filesystems using Device Mapper and the dm-crypt target.
  21. %package devel
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: libgcrypt-devel > 1.1.42, device-mapper-devel, e2fsprogs-devel
  25. Summary: Headers and libraries for using encrypted filesystems
  26. %description devel
  27. The cryptsetup-luks-devel package contain libraries and header files
  28. used for writing code that makes use of encrypted filesystems.
  29. %prep
  30. %setup -q -n cryptsetup-%{version}
  31. %patch -p1
  32. %patch3 -p1
  33. #recode latin1..utf-8 ChangeLog
  34. %build
  35. %configure --sbindir=/sbin --libdir=/%{_lib}
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. rm -rf $RPM_BUILD_ROOT/%{_lib}/*.la $RPM_BUILD_ROOT/%{_lib}/cryptsetup
  41. # move libcryptsetup.so to %{_libdir}
  42. pushd $RPM_BUILD_ROOT/%{_lib}
  43. rm libcryptsetup.so
  44. mkdir -p $RPM_BUILD_ROOT/%{_libdir}
  45. ln -s ../../%{_lib}/$(ls libcryptsetup.so.?.?.?) $RPM_BUILD_ROOT/%{_libdir}/libcryptsetup.so
  46. popd
  47. %find_lang cryptsetup
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files -f cryptsetup.lang
  51. %defattr(-,root,root,-)
  52. %doc COPYING ChangeLog AUTHORS TODO
  53. %{_mandir}/man8/cryptsetup.8.gz
  54. /sbin/cryptsetup
  55. /%{_lib}/libcryptsetup.so.*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/libcryptsetup.h
  59. %{_libdir}/libcryptsetup.so
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %changelog
  63. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.5-8vl5
  64. - applied new versioning policy
  65. * Sun Dec 9 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.5-7vl1
  66. - initial build for VineSeed
  67. * Thu Aug 30 2007 Till Maas <opensource till name> - 1.0.5-7
  68. - update URL
  69. - update license tag
  70. - recode ChangeLog from latin1 to uf8
  71. - add smp_mflags to make
  72. * Fri Aug 24 2007 Till Maas <opensource till name> - 1.0.5-6
  73. - cleanup BuildRequires:
  74. - removed versions, packages in Fedora are new enough
  75. - changed popt to popt-devel
  76. * Thu Aug 23 2007 Till Maas <opensource till name> - 1.0.5-5
  77. - fix devel subpackage requires
  78. - remove empty NEWS README
  79. - remove uneeded INSTALL
  80. - remove uneeded ldconfig requires
  81. - add readonly detection patch
  82. * Wed Aug 08 2007 Till Maas <opensource till name> - 1.0.5-4
  83. - disable patch2, libsepol is now detected by configure
  84. - move libcryptsetup.so to %%{_libdir} instead of /%%{_lib}
  85. * Fri Jul 27 2007 Till Maas <opensource till name> - 1.0.5-3
  86. - Use /%%{_lib} instead of /lib to use /lib64 on 64bit archs
  87. * Thu Jul 26 2007 Till Maas <opensource till name> - 1.0.5-2
  88. - Use /lib as libdir (#243228)
  89. - sync header and library (#215349)
  90. - do not use %%makeinstall (recommended by PackageGuidelines)
  91. - select sbindir with %%configure instead with make
  92. - add TODO
  93. * Wed Jun 13 2007 Jeremy Katz <katzj@redhat.com> - 1.0.5-1
  94. - update to 1.0.5
  95. * Mon Jun 04 2007 Peter Jones <pjones@redhat.com> - 1.0.3-5
  96. - Don't build static any more.
  97. * Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 1.0.3-4
  98. - Add build dependency on new device-mapper-devel package.
  99. - Add preun and post ldconfig requirements.
  100. - Update BuildRoot.
  101. * Wed Nov 1 2006 Peter Jones <pjones@redhat.com> - 1.0.3-3
  102. - Require newer libselinux (#213414)
  103. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.3-2.1
  104. - rebuild
  105. * Wed Jun 7 2006 Jeremy Katz <katzj@redhat.com> - 1.0.3-2
  106. - put shared libs in the right subpackages
  107. * Fri Apr 7 2006 Bill Nottingham <notting@redhat.com> 1.0.3-1
  108. - update to final 1.0.3
  109. * Wed Feb 27 2006 Bill Nottingham <notting@redhat.com> 1.0.3-0.rc2
  110. - update to 1.0.3rc2, fixes bug with HAL & encrypted devices (#182658)
  111. * Wed Feb 22 2006 Bill Nottingham <notting@redhat.com> 1.0.3-0.rc1
  112. - update to 1.0.3rc1, reverts changes to default encryption type
  113. * Tue Feb 21 2006 Bill Nottingham <notting@redhat.com> 1.0.2-1
  114. - update to 1.0.2, fix incompatiblity with old cryptsetup (#176726)
  115. * Mon Feb 20 2006 Karsten Hopp <karsten@redhat.de> 1.0.1-5
  116. - BuildRequires: libselinux-devel
  117. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
  118. - bump again for double-long bug on ppc(64)
  119. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
  120. - rebuilt for new gcc4.1 snapshot and glibc changes
  121. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  122. - rebuilt
  123. * Mon Dec 5 2005 Bill Nottingham <notting@redhat.com> 1.0.1-4
  124. - rebuild against new libdevmapper
  125. * Thu Oct 13 2005 Florian La Roche <laroche@redhat.com>
  126. - add -lsepol to rebuild on current fc5
  127. * Mon Aug 22 2005 Karel Zak <kzak@redhat.com> 1.0.1-2
  128. - fix cryptsetup help for isLuks action
  129. * Fri Jul 1 2005 Bill Nottingham <notting@redhat.com> 1.0.1-1
  130. - update to 1.0.1 - fixes incompatiblity with previous cryptsetup for
  131. piped passwords
  132. * Thu Jun 16 2005 Bill Nottingham <notting@redhat.com> 1.0-2
  133. - add patch for 32/64 bit compatibility (#160445, <redhat@paukstadt.de>)
  134. * Tue Mar 29 2005 Bill Nottingham <notting@redhat.com> 1.0-1
  135. - update to 1.0
  136. * Thu Mar 10 2005 Bill Nottingham <notting@redhat.com> 0.993-1
  137. - switch to cryptsetup-luks, for LUKS support
  138. * Tue Oct 12 2004 Bill Nottingham <notting@redhat.com> 0.1-4
  139. - oops, make that *everything* static (#129926)
  140. * Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> 0.1-3
  141. - link some things static, move to /sbin (#129926)
  142. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  143. - rebuilt
  144. * Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> 0.1-1
  145. - initial packaging