source: projects/specs/trunk/c/cryptsetup/cryptsetup-vl.spec @ 5968

Revision 5968, 13.4 KB checked in by shaolin, 12 years ago (diff)
  • cryptsetup: updated to 1.4.1
  • dialog: updated to 1.1
Line 
1%define _root_sbindir /sbin
2%define upstream_version %{version}
3
4Summary:        A utility for setting up encrypted disks
5Summary(ja):    暗号化ファイルシステム設定用ユーティリティ
6Name:           cryptsetup
7Version:        1.4.1
8Release:        3%{?_dist_release}
9License:        GPLv2 and LGPLv2+
10Group:          Applications/System
11URL:            http://cryptsetup.googlecode.com/
12BuildRequires:  libgcrypt-devel, popt-devel, device-mapper-devel
13BuildRequires:  libgpg-error-devel, libuuid-devel
14BuildRequires:  python-devel
15Provides:       cryptsetup-luks = %{version}-%{release}
16Obsoletes:      cryptsetup-luks < 1.4.0
17Requires:       cryptsetup-libs = %{version}-%{release}
18Source0:        http://cryptsetup.googlecode.com/files/cryptsetup-%{upstream_version}.tar.bz2
19
20%description
21The cryptsetup package contains a utility for setting up
22disk encryption using dm-crypt kernel module.
23
24%description -l ja
25cryptsetup パッケージには、dm-crypt カーネルモジュールを使って
26ディスクの暗号化を設定するユーティリティが収録されています。
27
28
29%package devel
30Group: Development/Libraries
31Requires: %{name} = %{version}-%{release}
32Requires: libgcrypt-devel > 1.1.42, device-mapper-devel, libuuid-devel
33Requires: pkgconfig
34Summary: Headers and libraries for using encrypted file systems
35Summary(ja): 暗号化ファイルシステムを使うためのヘッダとライブラリ
36Provides: cryptsetup-luks-devel = %{version}-%{release}
37Obsoletes: cryptsetup-luks-devel < 1.4.0
38
39%description devel
40The cryptsetup-devel package contains libraries and header files
41used for writing code that makes use of disk encryption.
42
43%description devel -l ja
44cryptsetup-devel パッケージには、ディスクの暗号化を使うコードを
45書くのに使われるライブラリとヘッダファイルが収録されています。
46
47
48%package libs
49Group: System Environment/Libraries
50Summary: Cryptsetup shared library
51Summary(ja): Cryptsetup 共有ライブラリ
52Provides: cryptsetup-luks-libs = %{version}-%{release}
53Obsoletes: cryptsetup-luks-libs < 1.4.0
54
55%description libs
56This package contains the cryptsetup shared library, libcryptsetup.
57
58%description libs -l ja
59このパッケージには、cryptsetup の共有ライブラリ、libcryptsetup が
60収録されています。
61
62
63%package python
64Group: System Environment/Libraries
65Summary: Python bindings for libcryptsetup
66Summary(ja): libcryptsetup の Python バインディング
67Requires: %{name}-libs = %{version}-%{release}
68Provides: python-cryptsetup = %{version}-%{release}
69Obsoletes: python-cryptsetup < 1.4.0
70
71%description python
72This package provides Python bindings for libcryptsetup, a library
73for setting up disk encryption using dm-crypt kernel module.
74
75%description python -l ja
76このパッケージには、dm-crypt カーネルモジュールを使って
77ディスクの暗号化を設定するライブラリ libcryptsetup の
78Python バインディングが収録されています。
79
80
81%prep
82%setup -q -n cryptsetup-%{upstream_version}
83chmod -x python/pycryptsetup-test.py
84
85
86%build
87%configure  --sbindir=%{_root_sbindir} --libdir=/%{_lib} \
88        --enable-python \
89        --disable-selinux
90# remove rpath
91sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
92sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
93make %{?_smp_mflags}
94
95
96%install
97rm -rf %{buildroot}
98make install DESTDIR=%{buildroot}
99rm -rf  %{buildroot}/%{_lib}/*.la %{buildroot}/%{_lib}/cryptsetup
100
101# move libcryptsetup.so to %%{_libdir}
102pushd %{buildroot}/%{_lib}
103rm libcryptsetup.so
104mkdir -p %{buildroot}/%{_libdir}
105ln -s ../../%{_lib}/$(ls libcryptsetup.so.?.?.?) %{buildroot}/%{_libdir}/libcryptsetup.so
106mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}/%{_libdir}
107popd
108%find_lang cryptsetup
109
110
111%post -n cryptsetup-libs -p /sbin/ldconfig
112
113
114%postun -n cryptsetup-libs -p /sbin/ldconfig
115
116
117%files -f cryptsetup.lang
118%doc COPYING ChangeLog AUTHORS TODO FAQ
119%{_mandir}/man8/cryptsetup.8.gz
120%{_root_sbindir}/cryptsetup
121
122
123%files devel
124%doc docs/examples/*
125%{_includedir}/libcryptsetup.h
126%{_libdir}/libcryptsetup.so
127%{_libdir}/pkgconfig/libcryptsetup.pc
128
129
130%files libs
131%doc COPYING
132/%{_lib}/libcryptsetup.so.*
133
134
135%files python
136%doc COPYING.LGPL python/pycryptsetup-test.py
137%exclude %{python_sitearch}/pycryptsetup.la
138%{python_sitearch}/pycryptsetup.so
139
140
141%clean
142rm -rf %{buildroot}
143
144
145%changelog
146* Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.4.1-3
147- updated to 1.4.1; spec revamp; Japanese summary & description
148
149  - Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.5-8vl5
150  - applied new versioning policy
151 
152  - Sun Dec  9 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.5-7vl1
153  - initial build for VineSeed
154
155* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
156- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
157
158* Wed Nov 09 2011 Milan Broz <mbroz@redhat.com> - 1.4.1-1
159- Update to cryptsetup 1.4.1.
160- Add Python cryptsetup bindings.
161- Obsolete separate python-cryptsetup package.
162
163* Wed Oct 26 2011 Milan Broz <mbroz@redhat.com> - 1.4.0-1
164- Update to cryptsetup 1.4.0.
165
166* Mon Oct 10 2011 Milan Broz <mbroz@redhat.com> - 1.4.0-0.1
167- Update to cryptsetup 1.4.0-rc1.
168- Rename package back from cryptsetup-luks to cryptsetup.
169
170* Wed Jun 22 2011 Milan Broz <mbroz@redhat.com> - 1.3.1-2
171- Fix return code for status command when device doesn't exist.
172
173* Tue May 24 2011 Milan Broz <mbroz@redhat.com> - 1.3.1-1
174- Update to cryptsetup 1.3.1.
175
176* Tue Apr 05 2011 Milan Broz <mbroz@redhat.com> - 1.3.0-1
177- Update to cryptsetup 1.3.0.
178
179* Tue Mar 22 2011 Milan Broz <mbroz@redhat.com> - 1.3.0-0.2
180- Update to cryptsetup 1.3.0-rc2
181
182* Mon Mar 14 2011 Milan Broz <mbroz@redhat.com> - 1.3.0-0.1
183- Update to cryptsetup 1.3.0-rc1
184
185* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
186- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
187
188* Mon Dec 20 2010 Milan Broz <mbroz@redhat.com> - 1.2.0-1
189- Update to cryptsetup 1.2.0
190
191* Thu Nov 25 2010 Milan Broz <mbroz@redhat.com> - 1.2.0-0.2
192- Fix crypt_activate_by_keyfile() to work with PLAIN devices.
193
194* Tue Nov 16 2010 Milan Broz <mbroz@redhat.com> - 1.2.0-0.1
195- Add FAQ to documentation.
196- Update to cryptsetup 1.2.0-rc1
197
198* Sat Jul 03 2010 Milan Broz <mbroz@redhat.com> - 1.1.3-1
199- Update to cryptsetup 1.1.3
200
201* Mon Jun 07 2010 Milan Broz <mbroz@redhat.com> - 1.1.2-2
202- Fix alignment ioctl use.
203- Fix API activation calls to handle NULL device name.
204
205* Sun May 30 2010 Milan Broz <mbroz@redhat.com> - 1.1.2-1
206- Update to cryptsetup 1.1.2
207- Fix luksOpen handling of new line char on stdin.
208
209* Sun May 23 2010 Milan Broz <mbroz@redhat.com> - 1.1.1-1
210- Update to cryptsetup 1.1.1
211- Fix luksClose for stacked LUKS/LVM devices.
212
213* Mon May 03 2010 Milan Broz <mbroz@redhat.com> - 1.1.1-0.2
214- Update to cryptsetup 1.1.1-rc2.
215
216* Sat May 01 2010 Milan Broz <mbroz@redhat.com> - 1.1.1-0.1
217- Update to cryptsetup 1.1.1-rc1.
218
219* Sun Jan 17 2010 Milan Broz <mbroz@redhat.com> - 1.1.0-1
220- Update to cryptsetup 1.1.0.
221
222* Fri Jan 15 2010 Milan Broz <mbroz@redhat.com> - 1.1.0-0.6
223- Fix gcrypt initialisation.
224- Fix backward compatibility for hash algorithm (uppercase).
225
226* Wed Dec 30 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.5
227- Update to cryptsetup 1.1.0-rc4
228
229* Mon Nov 16 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.4
230- Update to cryptsetup 1.1.0-rc3
231
232* Thu Oct 01 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.3
233- Update to cryptsetup 1.1.0-rc2
234- Fix libcryptsetup to properly export only versioned symbols.
235
236* Tue Sep 29 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.2
237- Update to cryptsetup 1.1.0-rc1
238- Add luksHeaderBackup and luksHeaderRestore commands.
239
240* Thu Sep 11 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.1
241- Update to new upstream testing version with new API interface.
242- Add luksSuspend and luksResume commands.
243- Introduce pkgconfig.
244
245* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
246- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
247
248* Wed Jul 22 2009 Milan Broz <mbroz@redhat.com> - 1.0.7-1
249- Update to upstream final release.
250- Split libs subpackage.
251- Remove rpath setting from cryptsetup binary.
252
253* Wed Jul 15 2009 Till Maas <opensource@till.name> - 1.0.7-0.2
254- update BR because of libuuid splitout from e2fsprogs
255
256* Mon Jun 22 2009 Milan Broz <mbroz@redhat.com> - 1.0.7-0.1
257- Update to new upstream 1.0.7-rc1.
258
259- Wipe old fs headers to not confuse blkid (#468062)
260* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-7
261- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
262
263* Thu Oct 30 2008 Milan Broz <mbroz@redhat.com> - 1.0.6-6
264- Wipe old fs headers to not confuse blkid (#468062)
265
266* Tue Sep 23 2008 Milan Broz <mbroz@redhat.com> - 1.0.6-5
267- Change new project home page.
268- Print more descriptive messages for initialization errors.
269- Refresh patches to versions commited upstream.
270
271* Sat Sep 06 2008 Milan Broz <mbroz@redhat.com> - 1.0.6-4
272- Fix close of zero decriptor.
273- Fix udevsettle delays - use temporary crypt device remapping.
274
275* Wed May 28 2008 Till Maas <opensource till name> - 1.0.6-3
276- remove a duplicate sentence from the manpage (RH #448705)
277- add patch metadata about upstream status
278
279* Tue Apr 15 2008 Bill Nottinghm <notting@redhat.com> - 1.0.6-2
280- Add the device to the luksOpen prompt (#433406)
281- Use iconv, not recode (#442574)
282
283* Thu Mar 13 2008 Till Maas <opensource till name> - 1.0.6-1
284- Update to latest version
285- remove patches that have been merged upstream
286
287* Mon Mar 03 2008 Till Maas <opensource till name> - 1.0.6-0.1.pre2
288- Update to new version with several bugfixes
289- remove patches that have been merged upstream
290- add patch from cryptsetup newsgroup
291- fix typo / missing luksRemoveKey in manpage (patch)
292
293* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.5-9
294- Autorebuild for GCC 4.3
295
296* Sat Jan 19 2008 Peter Jones <pjones@redhat.com> - 1.0.5-8
297- Rebuild for broken deps.
298
299* Thu Aug 30 2007 Till Maas <opensource till name> - 1.0.5-7
300- update URL
301- update license tag
302- recode ChangeLog from latin1 to uf8
303- add smp_mflags to make
304
305* Fri Aug 24 2007 Till Maas <opensource till name> - 1.0.5-6
306- cleanup BuildRequires:
307- removed versions, packages in Fedora are new enough
308- changed popt to popt-devel
309
310* Thu Aug 23 2007 Till Maas <opensource till name> - 1.0.5-5
311- fix devel subpackage requires
312- remove empty NEWS README
313- remove uneeded INSTALL
314- remove uneeded ldconfig requires
315- add readonly detection patch
316
317* Wed Aug 08 2007 Till Maas <opensource till name> - 1.0.5-4
318- disable patch2, libsepol is now detected by configure
319- move libcryptsetup.so to %%{_libdir} instead of /%%{_lib}
320
321* Fri Jul 27 2007 Till Maas <opensource till name> - 1.0.5-3
322- Use /%%{_lib} instead of /lib to use /lib64 on 64bit archs
323
324* Thu Jul 26 2007 Till Maas <opensource till name> - 1.0.5-2
325- Use /lib as libdir (#243228)
326- sync header and library (#215349)
327- do not use %%makeinstall (recommended by PackageGuidelines)
328- select sbindir with %%configure instead with make
329- add TODO
330
331* Wed Jun 13 2007 Jeremy Katz <katzj@redhat.com> - 1.0.5-1
332- update to 1.0.5
333
334* Mon Jun 04 2007 Peter Jones <pjones@redhat.com> - 1.0.3-5
335- Don't build static any more.
336
337* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 1.0.3-4
338- Add build dependency on new device-mapper-devel package.
339- Add preun and post ldconfig requirements.
340- Update BuildRoot.
341
342* Wed Nov  1 2006 Peter Jones <pjones@redhat.com> - 1.0.3-3
343- Require newer libselinux (#213414)
344
345* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.3-2.1
346- rebuild
347
348* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 1.0.3-2
349- put shared libs in the right subpackages
350
351* Fri Apr  7 2006 Bill Nottingham <notting@redhat.com> 1.0.3-1
352- update to final 1.0.3
353
354* Wed Feb 27 2006 Bill Nottingham <notting@redhat.com> 1.0.3-0.rc2
355- update to 1.0.3rc2, fixes bug with HAL & encrypted devices (#182658)
356
357* Wed Feb 22 2006 Bill Nottingham <notting@redhat.com> 1.0.3-0.rc1
358- update to 1.0.3rc1, reverts changes to default encryption type
359
360* Tue Feb 21 2006 Bill Nottingham <notting@redhat.com> 1.0.2-1
361- update to 1.0.2, fix incompatiblity with old cryptsetup (#176726)
362
363* Mon Feb 20 2006 Karsten Hopp <karsten@redhat.de> 1.0.1-5
364- BuildRequires: libselinux-devel
365
366* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
367- bump again for double-long bug on ppc(64)
368
369* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
370- rebuilt for new gcc4.1 snapshot and glibc changes
371
372* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
373- rebuilt
374
375* Mon Dec  5 2005 Bill Nottingham <notting@redhat.com> 1.0.1-4
376- rebuild against new libdevmapper
377
378* Thu Oct 13 2005 Florian La Roche <laroche@redhat.com>
379- add -lsepol to rebuild on current fc5
380
381* Mon Aug 22 2005 Karel Zak <kzak@redhat.com> 1.0.1-2
382- fix cryptsetup help for isLuks action
383
384* Fri Jul  1 2005 Bill Nottingham <notting@redhat.com> 1.0.1-1
385- update to 1.0.1 - fixes incompatiblity with previous cryptsetup for
386  piped passwords
387
388* Thu Jun 16 2005 Bill Nottingham <notting@redhat.com> 1.0-2
389- add patch for 32/64 bit compatibility (#160445, <redhat@paukstadt.de>)
390
391* Tue Mar 29 2005 Bill Nottingham <notting@redhat.com> 1.0-1
392- update to 1.0
393
394* Thu Mar 10 2005 Bill Nottingham <notting@redhat.com> 0.993-1
395- switch to cryptsetup-luks, for LUKS support
396
397* Tue Oct 12 2004 Bill Nottingham <notting@redhat.com> 0.1-4
398- oops, make that *everything* static (#129926)
399
400* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> 0.1-3
401- link some things static, move to /sbin (#129926)
402
403* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
404- rebuilt
405
406* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> 0.1-1
407- initial packaging
Note: See TracBrowser for help on using the repository browser.