Accepting request 174060 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/174060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libregf?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2013-05-02 09:20:54 +00:00 committed by Git OBS Bridge
parent aa7e37e4e0
commit c31b43bff1
2 changed files with 36 additions and 28 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 22 20:09:25 UTC 2013 - Greg.Freemyer@gmail.com
- organize BuildRequires to better comment why they are commented out
- ran spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 3 21:37:14 UTC 2013 - jengelh@inai.de Wed Apr 3 21:37:14 UTC 2013 - jengelh@inai.de

View File

@ -27,29 +27,31 @@ Group: Productivity/File utilities
Url: http://code.google.com/p/libregf/ Url: http://code.google.com/p/libregf/
#DL-URL: http://libregf.googlecode.com/files/libregf-alpha-20130319.tar.gz #DL-URL: http://libregf.googlecode.com/files/libregf-alpha-20130319.tar.gz
Source: %name-alpha-%timestamp.tar.xz Source: %{name}-alpha-%timestamp.tar.xz
Source2: Windows_NT_Registry_File_(REGF)_format.pdf Source2: Windows_NT_Registry_File_(REGF)_format.pdf
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: xz BuildRequires: xz
#BuildRequires: pkgconfig(libbfio) >= 20120426 BuildRequires: pkgconfig(fuse) >= 2.6
#BuildRequires: pkgconfig(libcdata) >= 20120425 BuildRequires: pkgconfig(libcnotify) >= 20120425
BuildRequires: pkgconfig(libcsplit) >= 20120701
BuildRequires: pkgconfig(libfdatetime) >= 20120522
# Using these packages from factory causes build failures, so use the internal version instead
#BuildRequires: pkgconfig(libuna) >= 20120425
#BuildRequires: pkgconfig(libfguid) >= 20120426
#BuildRequires: pkgconfig(libcpath) >= 20120701
#BuildRequires: pkgconfig(libclocale) >= 20120425
#BuildRequires: pkgconfig(libcerror) >= 20120425 #BuildRequires: pkgconfig(libcerror) >= 20120425
#BuildRequires: pkgconfig(libcfile) >= 20120526 #BuildRequires: pkgconfig(libcfile) >= 20120526
#BuildRequires: pkgconfig(libclocale) >= 20120425 #BuildRequires: pkgconfig(libbfio) >= 20120426
BuildRequires: pkgconfig(libcnotify) >= 20120425 #BuildRequires: pkgconfig(libcdata) >= 20120425
#BuildRequires: pkgconfig(libcpath) >= 20120701 # These packages are not yet in factory
BuildRequires: pkgconfig(libcsplit) >= 20120701
#BuildRequires: pkgconfig(libcstring) >= 20120425 #BuildRequires: pkgconfig(libcstring) >= 20120425
#BuildRequires: pkgconfig(libcsystem) >= 20120425 #BuildRequires: pkgconfig(libcsystem) >= 20120425
#BuildRequires: pkgconfig(libfcache) >= 20120425 #BuildRequires: pkgconfig(libfcache) >= 20120425
#BuildRequires: pkgconfig(libfdata) >= 20120425 #BuildRequires: pkgconfig(libfdata) >= 20120425
BuildRequires: pkgconfig(libfdatetime) >= 20120522
#BuildRequires: pkgconfig(libfguid) >= 20120426
#BuildRequires: pkgconfig(libfwnt) >= 20120426 #BuildRequires: pkgconfig(libfwnt) >= 20120426
#BuildRequires: pkgconfig(libfwsi) >= 20120426 #BuildRequires: pkgconfig(libfwsi) >= 20120426
#BuildRequires: pkgconfig(libuna) >= 20120425
BuildRequires: pkgconfig(fuse) >= 2.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -78,22 +80,22 @@ Typically used for computer forensics.
Summary: Development files for libregf, a Windows REGF-type Registry file parser Summary: Development files for libregf, a Windows REGF-type Registry file parser
License: LGPL-3.0+ and GFDL-1.3+ License: LGPL-3.0+ and GFDL-1.3+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %lname = %{version}
%description devel %description devel
libregf is a library to access Windows Registry files of the REGF libregf is a library to access Windows Registry files of the REGF
type (a non-text representation). type (a non-text representation).
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of %name. applications that want to make use of %{name}.
%package -n python-%name %package -n python-%{name}
Summary: Python bindings for libregf, a library to access Windows REGF Registry files Summary: Python bindings for libregf, a library to access Windows REGF Registry files
License: LGPL-3.0+ License: LGPL-3.0+
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: python Requires: python
%description -n python-%name %description -n python-%{name}
libregf is a library to access Windows Registry files of the REGF libregf is a library to access Windows Registry files of the REGF
type (a non-text representation). type (a non-text representation).
@ -101,15 +103,15 @@ This subpackage contains the Python bindings for libregf.
%prep %prep
%setup -qn libregf-%timestamp %setup -qn libregf-%timestamp
cp "%SOURCE2" . cp "%{SOURCE2}" .
%build %build
%configure --disable-static --enable-wide-character-type --enable-python %configure --disable-static --enable-wide-character-type --enable-python
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR="%buildroot" %make_install
find %buildroot -name '*.la' -delete find %{buildroot} -name '*.la' -delete
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
@ -117,23 +119,23 @@ find %buildroot -name '*.la' -delete
%files -n %lname %files -n %lname
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog %doc AUTHORS COPYING ChangeLog
%_libdir/libregf.so.* %{_libdir}/libregf.so.*
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
%_bindir/regf* %{_bindir}/regf*
%_mandir/man1/regf*.1* %{_mandir}/man1/regf*.1*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc Windows_NT_Registry_File*.pdf %doc Windows_NT_Registry_File*.pdf
%_includedir/libregf.h %{_includedir}/libregf.h
%_includedir/libregf/ %{_includedir}/libregf/
%_libdir/libregf.so %{_libdir}/libregf.so
%_libdir/pkgconfig/libregf.pc %{_libdir}/pkgconfig/libregf.pc
%_mandir/man3/libregf.3* %{_mandir}/man3/libregf.3*
%files -n python-%name %files -n python-%{name}
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING README %doc AUTHORS COPYING README
%python_sitearch/pyregf.so %python_sitearch/pyregf.so