diff --git a/checkmedia-3.8.tar.xz b/checkmedia-3.8.tar.xz deleted file mode 100644 index 83c8435..0000000 --- a/checkmedia-3.8.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2b07912e27f6c09352c0fcff6997c0771d60f2868f29e2b930140ab57585571d -size 35244 diff --git a/checkmedia-4.0.tar.xz b/checkmedia-4.0.tar.xz new file mode 100644 index 0000000..89c76e4 --- /dev/null +++ b/checkmedia-4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:07a2c329d145beb4f50787e190fb5fc30e88ac319e45e1b626479495c61629e6 +size 45664 diff --git a/checkmedia.changes b/checkmedia.changes index 4e811e4..988836b 100644 --- a/checkmedia.changes +++ b/checkmedia.changes @@ -1,3 +1,21 @@ +-------------------------------------------------------------------- +Fri Jun 29 10:55:47 UTC 2018 - wfeldt@opensuse.org + +- merge gh#openSUSE/checkmedia#6 +- change tagmedia to also store checksum over partition + (bsc#1000947) +- update Makefile +- update documentation +- rewrite checkmedia to use new mediacheck library +- digestdemo: add simple demo tool for libmediacheck usage +- mediacheck library header file +- mediacheck library code +- add test tool for mediachecks +- test data +- enhance code +- fix typo in tagmedia +- 4.0 + -------------------------------------------------------------------- Thu Apr 26 14:44:26 UTC 2018 - wfeldt@opensuse.org diff --git a/checkmedia.spec b/checkmedia.spec index d16b39f..57b1f78 100644 --- a/checkmedia.spec +++ b/checkmedia.spec @@ -16,18 +16,36 @@ # +%define libversion 4 + Name: checkmedia -Summary: Check Installation Media -License: GPL-3.0+ +Summary: Check SUSE installation media +License: GPL-3.0-or-later Group: System/Management -Version: 3.8 +Version: 4.0 Release: 0 -Url: https://github.com/wfeldt/checkmedia.git +Url: https://github.com/openSUSE/checkmedia Source: %{name}-%{version}.tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Checks installation CDs and DVDs for errors. +Check SUSE installation media for errors. + +%package -n libmediacheck%{libversion} +Summary: Library for checking SUSE installation media +Group: System/Libraries +PreReq: /sbin/ldconfig + +%description -n libmediacheck%{libversion} +Library for checking SUSE installation media. Used by checkmedia and linuxrc. + +%package -n libmediacheck-devel +Summary: Library for checking SUSE installation media +Group: Development/Libraries/C and C++ +Requires: libmediacheck%{libversion} = %version + +%description -n libmediacheck-devel +Library for checking SUSE installation media. Used by checkmedia and linuxrc. %prep %setup @@ -35,15 +53,32 @@ Checks installation CDs and DVDs for errors. %build make %{?_smp_mflags} +%check +make test + %install - install -d -m 755 %{buildroot}/usr/bin - make install DESTDIR=%{buildroot} +install -d -m 755 %{buildroot}/usr/bin +make install DESTDIR=%{buildroot} + +%post -n libmediacheck4 -p /sbin/ldconfig + +%postun -n libmediacheck4 -p /sbin/ldconfig %files %defattr(-,root,root) /usr/bin/checkmedia /usr/bin/tagmedia + +%files -n libmediacheck%{libversion} +%defattr(-,root,root) +%{_libdir}/*.so.* %doc README.md +%doc mediacheck.md %doc COPYING +%files -n libmediacheck-devel +%defattr(-,root,root) +%{_libdir}/*.so +%{_includedir}/mediacheck.h + %changelog