grenier pushed to testdisk (epel7). "split the GUI in qphotorec package"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Apr 19 07:39:45 UTC 2015


>From 70c1cae4c7bd2aecd8c85dfbb4f82ff1c25be562 Mon Sep 17 00:00:00 2001
From: Christophe Grenier <grenier at cgsecurity.org>
Date: Sun, 19 Apr 2015 09:39:23 +0200
Subject: split the GUI in qphotorec package


diff --git a/testdisk.spec b/testdisk.spec
index 5dd6217..cf41d1f 100644
--- a/testdisk.spec
+++ b/testdisk.spec
@@ -4,7 +4,7 @@ Summary(fr.UTF8):	Outil pour vérifier et restaurer des partitions
 Summary(ru_RU.UTF8): Программа для проверки и восстановления разделов диска
 Name:		testdisk
 Version:	7.0
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+
 Group:		Applications/System
 Source0:	http://www.cgsecurity.org/testdisk-%{version}.tar.bz2
@@ -52,6 +52,14 @@ Linux Raid, Linux Swap, LVM, LVM2, NSS, ReiserFS, UFS, XFS.
 PhotoRec is a signature based file recovery utility. It handles more than
 440 file formats including JPG, MSOffice, OpenOffice documents.
 
+%package -n qphotorec
+Summary:	Signature based file carver. Recover lost files
+
+%description -n qphotorec
+QPhotoRec is a Qt version of PhotoRec. It is a signature based file recovery
+utility. It handles more than 440 file formats including JPG, MSOffice,
+OpenOffice documents.
+
 %prep
 %setup -q
 
@@ -68,16 +76,16 @@ rm -rf $RPM_BUILD_ROOT
 %check
 desktop-file-validate %{buildroot}/%{_datadir}/applications/qphotorec.desktop
 
-%post
+%post -n qphotorec
 /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
 
-%postun
+%postun -n qphotorec
 if [ $1 -eq 0 ] ; then
     /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
     /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 fi
 
-%posttrans
+%posttrans -n qphotorec
 /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %files
@@ -85,21 +93,26 @@ fi
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS
 %attr(755,root,root) %{_bindir}/fidentify
 %attr(755,root,root) %{_bindir}/photorec
-%attr(755,root,root) %{_bindir}/qphotorec
 %attr(755,root,root) %{_bindir}/testdisk
 %{_mandir}/man8/fidentify.8*
 %{_mandir}/man8/photorec.8*
-%{_mandir}/man8/qphotorec.8*
 %{_mandir}/man8/testdisk.8*
 %{_mandir}/zh_CN/man8/fidentify.8*
 %{_mandir}/zh_CN/man8/photorec.8*
-%{_mandir}/zh_CN/man8/qphotorec.8*
 %{_mandir}/zh_CN/man8/testdisk.8*
+
+%files -n qphotorec
+%attr(755,root,root) %{_bindir}/qphotorec
+%{_mandir}/man8/qphotorec.8*
+%{_mandir}/zh_CN/man8/qphotorec.8*
 %{_datadir}/applications/qphotorec.desktop
 %{_datadir}/icons/hicolor/48x48/apps/qphotorec.png
 %{_datadir}/icons/hicolor/scalable/apps/qphotorec.svg
 
 %changelog
+* Sun Apr 19 2015 Christophe Grenier <grenier at cgsecurity.org> - 7.0-2
+- split the GUI in qphotorec package
+
 * Sat Apr 18 2015 Christophe Grenier <grenier at cgsecurity.org> - 7.0-1
 - Update to latest version
 - This version includes some security fixes.
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/testdisk.git/commit/?h=epel7&id=70c1cae4c7bd2aecd8c85dfbb4f82ff1c25be562


More information about the scm-commits mailing list