2013-08-05 20:47:04 +02:00
|
|
|
#
|
|
|
|
# spec file for package libodraw
|
|
|
|
#
|
2020-12-30 04:48:15 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2013-08-05 20:47:04 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-19 22:29:55 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-08-05 20:47:04 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libodraw
|
|
|
|
%define lname libodraw1
|
2020-12-30 04:48:15 +01:00
|
|
|
%define timestamp 20201003
|
2013-08-05 20:47:04 +02:00
|
|
|
Version: 0~%timestamp
|
|
|
|
Release: 0
|
|
|
|
Summary: Library and tools to access to optical disc (split) RAW image files
|
2019-04-19 22:29:55 +02:00
|
|
|
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
2013-08-05 20:47:04 +02:00
|
|
|
Group: Productivity/File utilities
|
2020-12-30 04:48:15 +01:00
|
|
|
URL: https://github.com/libyal/libodraw/wiki
|
2015-01-12 09:50:14 +01:00
|
|
|
Source: https://github.com/libyal/libodraw/releases/download/%timestamp/%name-alpha-%timestamp.tar.gz
|
2013-08-05 20:47:04 +02:00
|
|
|
Source2: CUE_sheet_format.pdf
|
2020-12-30 04:48:15 +01:00
|
|
|
#BuildRequires: pkg-config
|
2014-08-14 14:58:28 +02:00
|
|
|
BuildRequires: pkgconfig(libbfio) >= 20120426
|
|
|
|
BuildRequires: pkgconfig(libcdata) >= 20120425
|
|
|
|
BuildRequires: pkgconfig(libcfile) >= 20120526
|
2015-01-12 09:50:14 +01:00
|
|
|
BuildRequires: pkgconfig(libclocale) >= 20140105
|
2014-09-03 18:22:25 +02:00
|
|
|
BuildRequires: pkgconfig(libcnotify) >= 20120425
|
2014-08-14 14:58:28 +02:00
|
|
|
BuildRequires: pkgconfig(libcpath) >= 20120701
|
2014-09-03 18:22:25 +02:00
|
|
|
BuildRequires: pkgconfig(libcsplit) >= 20120701
|
|
|
|
BuildRequires: pkgconfig(libcthreads)
|
2015-01-12 09:50:14 +01:00
|
|
|
BuildRequires: pkgconfig(libuna) >= 20120425
|
2014-08-14 14:58:28 +02:00
|
|
|
#use internal package, factory version causes build failure
|
2015-01-12 09:50:14 +01:00
|
|
|
# verified 1/11/2015
|
2013-08-05 20:47:04 +02:00
|
|
|
#BuildRequires: pkgconfig(libcsystem) >= 20120425
|
2015-01-12 09:50:14 +01:00
|
|
|
#BuildRequires: pkgconfig(libcerror) >= 20120425
|
|
|
|
#BuildRequires: pkgconfig(libcstring) >= 20120425
|
|
|
|
#BuildRequires: pkgconfig(libhmac)
|
2013-08-05 20:47:04 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
libodraw is a library to access optical disc (split) RAW images such
|
|
|
|
as BIN/ISO/CUE.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: Library to access to optical disc (split) RAW image files
|
2019-04-19 22:29:55 +02:00
|
|
|
License: LGPL-3.0-or-later
|
2013-08-05 20:47:04 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
libodraw is a library to access optical disc (split) RAW images such
|
|
|
|
as BIN/ISO/CUE.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libodraw, a disc image file library
|
2019-04-19 22:29:55 +02:00
|
|
|
License: LGPL-3.0-or-later AND GFDL-1.3-or-later
|
2013-08-05 20:47:04 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libodraw is a library to access optical disc (split) RAW images such
|
|
|
|
as BIN/ISO/CUE.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libodraw.
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
Summary: Utilities for reading BIN/ISO/CUE image files through libodraw
|
2019-04-19 22:29:55 +02:00
|
|
|
License: LGPL-3.0-or-later
|
2013-08-05 20:47:04 +02:00
|
|
|
Group: Productivity/File utilities
|
2014-09-03 18:22:25 +02:00
|
|
|
Requires: %lname = %version
|
2013-08-05 20:47:04 +02:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
This subpackage contains the utility programs from libodraw, which
|
|
|
|
can read optical disc (split) RAW image files such as BIN/ISO/CUE.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -qn libodraw-%timestamp
|
|
|
|
cp "%{S:2}" .
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --enable-wide-character-type
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="%buildroot"
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
2019-04-19 22:29:55 +02:00
|
|
|
%doc AUTHORS ChangeLog
|
2020-12-30 04:48:15 +01:00
|
|
|
%license COPYING*
|
2013-08-05 20:47:04 +02:00
|
|
|
%_libdir/libodraw.so.1*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2019-04-19 22:29:55 +02:00
|
|
|
%doc AUTHORS ChangeLog
|
2020-12-30 04:48:15 +01:00
|
|
|
%license COPYING*
|
2013-08-05 20:47:04 +02:00
|
|
|
%doc CUE_*.pdf
|
|
|
|
%_includedir/libodraw*
|
|
|
|
%_libdir/libodraw.so
|
|
|
|
%_libdir/pkgconfig/libodraw.pc
|
|
|
|
%_mandir/man3/libodraw.3*
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
2019-04-19 22:29:55 +02:00
|
|
|
%doc AUTHORS ChangeLog
|
2020-12-30 04:48:15 +01:00
|
|
|
%license COPYING*
|
2014-08-14 14:58:28 +02:00
|
|
|
%_bindir/odrawverify
|
2013-08-05 20:47:04 +02:00
|
|
|
%_bindir/odrawinfo
|
|
|
|
%_mandir/man1/odrawinfo.1*
|
|
|
|
|
|
|
|
%changelog
|