Hello community, here is the log from the commit of package libbde for openSUSE:Factory checked in at 2014-08-25 11:03:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libbde (Old) and /work/SRC/openSUSE:Factory/.libbde.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libbde" Changes: -------- --- /work/SRC/openSUSE:Factory/libbde/libbde.changes 2014-08-20 17:52:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libbde.new/libbde.changes 2014-08-25 11:04:52.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Aug 21 16:36:32 UTC 2014 - [email protected] + +- add "Requires: %lname = %version" to python section. +- add provides pybde to python sub-package to match upstream requires statements +- cleaned up BuildRequires statements to allow build for openSUSE 13.1 +- ran spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libbde.spec ++++++ --- /var/tmp/diff_new_pack.9XOn5m/_old 2014-08-25 11:04:53.000000000 +0200 +++ /var/tmp/diff_new_pack.9XOn5m/_new 2014-08-25 11:04:53.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package +# spec file for package libbde # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,50 +15,45 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -Name: libbde + %define lname libbde1 %define timestamp 20140731 -Version: 0~%timestamp +Name: libbde +Version: 0~%{timestamp} Release: 0 Summary: Library and tools to access Microsoft Bitlocker Disk Encrypted partitions License: LGPL-3.0+ and GFDL-1.1+ Group: Productivity/File utilities Url: http://code.google.com/p/libbde/ - #DL-URL: https://06e59d65f852bfaf8c2f4b6a8bc2f362763d58bc.googledrive.com/host/0B3fBvzttpiiSX2VCRk16TnpDd0U/libbde-alpha-20140731.tar.gz - -Source: %name-alpha-%timestamp.tar.gz +Source: %{name}-alpha-%{timestamp}.tar.gz Source2: BitLocker_Drive_Encryption_(BDE)_format.pdf -# Patch: -# PreReq: -# Provides: -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -BuildRequires: pkg-config -BuildRequires: pkgconfig(fuse) >= 2.6 BuildRequires: glibc-devel +BuildRequires: pkg-config BuildRequires: python-devel - +BuildRequires: pkgconfig(fuse) >= 2.6 +BuildRequires: pkgconfig(libcaes) >= 20130331 +# fails to build with factory package, use internal +#BuildRequires: pkgconfig(libcerror) >= 20120425 +BuildRoot: %{_tmppath}/%{name}-%{version}-build # use factory packages if available %if 0%{?suse_version} > 1230 -BuildRequires: pkgconfig(libcsplit) >= 20130609 +BuildRequires: pkgconfig(libbfio) >= 20130721 BuildRequires: pkgconfig(libcfile) >= 20130609 -BuildRequires: pkgconfig(libcpath) >= 20130609 BuildRequires: pkgconfig(libclocale) >= 20130609 -BuildRequires: pkgconfig(libbfio) >= 20130721 -%endif -# fails to build with factory package, use internal -#BuildRequires: pkgconfig(libcerror) >= 20120425 BuildRequires: pkgconfig(libcnotify) >= 20120425 -BuildRequires: pkgconfig(libfguid) >= 20120426 +BuildRequires: pkgconfig(libcpath) >= 20130609 +BuildRequires: pkgconfig(libcsplit) >= 20130609 BuildRequires: pkgconfig(libfdatetime) >= 20120522 -BuildRequires: pkgconfig(libcaes) >= 20130331 +BuildRequires: pkgconfig(libfguid) >= 20120426 +BuildRequires: pkgconfig(libhmac) >= 20130714 +%endif +%if 0%{?suse_version} > 1310 BuildRequires: pkgconfig(libcdata) >= 20130904 BuildRequires: pkgconfig(libcthreads) >= 20130723 -# libhmac +%endif # verified 8/12/2014 #BuildRequires: pkgconfig(libuna) >= 20120425 -# verified 7/31/2013 # not (yet) released as packages by upstream #BuildRequires: pkgconfig(libfmapi) >= 20120405 #BuildRequires: pkgconfig(libfvalue) >= 20120428 @@ -68,8 +63,6 @@ #BuildRequires: pkgconfig(libfcache) >= 20120405 #BuildRequires: pkgconfig(libfdata) >= 20120405 - - %description libbde is a library and tools to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. @@ -95,20 +88,19 @@ Dokan library support Multi-threading support - -%package -n %lname +%package -n %{lname} Summary: Library to access Microsoft Bitlocker Drive Encrypted volumes License: LGPL-3.0+ Group: System/Libraries -%description -n %lname +%description -n %{lname} libbde is a library to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. %package tools Summary: Tools to access Microsoft Bitlocker Drive Encrypted volumes License: LGPL-3.0+ Group: Productivity/File utilities -Requires: %lname = %version +Requires: %{lname} = %{version} %description tools Tools to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. @@ -117,7 +109,7 @@ Summary: Development files for libbde, used to access Bitlocker Drive Encrypted Volumes License: LGPL-3.0+ and GFDL-1.1+ and GFDL-1.3+ Group: Development/Libraries/C and C++ -Requires: %lname = %version +Requires: %{lname} = %{version} %description devel libbde is a library to access the BitLocker Drive Encryption (BDE) format. The BDE format is used by Windows, as of Vista, to encrypt data on a storage media volume. @@ -125,57 +117,60 @@ This subpackage contains libraries and header files for developing applications that want to make use of libbde. -%package -n python-%name +%package -n python-%{name} Summary: Python bindings for libbde, a Bitlocker Drive Encryption library License: LGPL-3.0+ Group: Development/Libraries/Python +Requires: %{lname} = %{version} Requires: python +Provides: pybde = %{version} -%description -n python-%name +%description -n python-%{name} Python bindings for libbde, which can access Bitlocker Drive Encrypted volumes %prep -%setup -qn libbde-%timestamp -cp "%{S:2}" . +%setup -q -n libbde-%{timestamp} +cp "%{SOURCE2}" . %build # I haven't tested the usefullness of these args yet %configure --disable-static --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --enable-python -# %configure --enable-wide-character-type --enable-python make %{?_smp_mflags} %install -make install DESTDIR="%buildroot" -find "%buildroot" -name "*.la" -delete +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print # we have static libs for some reason, trash them -find "%buildroot" -name "*.a" -delete +find %{buildroot} -name "*.a" -delete -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%post -n %{lname} -p /sbin/ldconfig -%files -n %lname +%postun -n %{lname} -p /sbin/ldconfig + +%files -n %{lname} %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog -%_libdir/libbde.so.* +%{_libdir}/libbde.so.* %files tools -%doc AUTHORS COPYING ChangeLog %defattr(-,root,root) -%_bindir/bde* -%_mandir/man1/bde*.1* +%doc AUTHORS COPYING ChangeLog +%{_bindir}/bde* +%{_mandir}/man1/bde*.1* %files devel %defattr(-,root,root) %doc AUTHORS COPYING README ChangeLog %doc BitLocker_Drive_Encryption_*.pdf -%_includedir/libbde.h -%_includedir/libbde/ -%_libdir/libbde.so -%_libdir/pkgconfig/libbde.pc -%_mandir/man3/libbde.3* +%{_includedir}/libbde.h +%{_includedir}/libbde/ +%{_libdir}/libbde.so +%{_libdir}/pkgconfig/libbde.pc +%{_mandir}/man3/libbde.3* -%files -n python-%name +%files -n python-%{name} %defattr(-,root,root) -%python_sitearch/pybde.so +%doc AUTHORS COPYING README ChangeLog +%{python_sitearch}/pybde.so %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
