From dea504a51b4ac7eca394fbfd6f2d1b8d1f5da4b2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 19:43:01 +0000 Subject: import gwenview-4.10.5-5.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4aae664 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gwenview-4.10.5.tar.xz diff --git a/.gwenview.metadata b/.gwenview.metadata new file mode 100644 index 0000000..2673adf --- /dev/null +++ b/.gwenview.metadata @@ -0,0 +1 @@ +14e8b214ad2aa17a3ce586ca481502a120061912 SOURCES/gwenview-4.10.5.tar.xz diff --git a/SOURCES/gwenview-fix-documentation-about-importer.patch b/SOURCES/gwenview-fix-documentation-about-importer.patch new file mode 100644 index 0000000..a9947e6 --- /dev/null +++ b/SOURCES/gwenview-fix-documentation-about-importer.patch @@ -0,0 +1,35 @@ +diff --git a/doc/index.docbook b/doc/index.docbook +index 175930c..1c3ee6b 100644 +--- a/doc/index.docbook ++++ b/doc/index.docbook +@@ -390,9 +390,7 @@ in the &kde; Device Notifier after connecting a supported device. + + + +- +- +- ++ + Importing Images + If you wish, you may select the images you want to import under + Select the documents to import by pressing the + +@@ -403,9 +401,9 @@ button to the right of the text box. When you are done, click the + Import Selected button to import only the images you have + selected, or click Import All to import all images found + on the device. +- ++ + +- ++ + Automatic Renaming + &kappname; Importer can rename your files according to a specified pattern. + To configure this, select the Settings in the lower left +@@ -414,6 +412,7 @@ corner. You may turn this feature on or off using the checkbox at the top. The + be replaced by metadata such as the date the image was created or its filename. + They are listed below the text box. You may either click on the parameter name to + enter it into the text box or type one manually. ++ + + + diff --git a/SPECS/gwenview.spec b/SPECS/gwenview.spec new file mode 100644 index 0000000..c67a1c4 --- /dev/null +++ b/SPECS/gwenview.spec @@ -0,0 +1,262 @@ +Name: gwenview +Summary: An image viewer +Version: 4.10.5 +Release: 5%{?dist} + +# app: GPLv2+ +# lib: IJG and (LGPLv2 or LGPLv3 or LGPLv3+ (KDE e.V.)) and LGPLv2+ and GPLv2+ +License: GPLv2+ +URL: https://projects.kde.org/projects/kde/kdegraphics/gwenview +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz + +Patch0: gwenview-fix-documentation-about-importer.patch + +BuildRequires: desktop-file-utils +BuildRequires: kactivities-devel >= %{version} +# libkonq +BuildRequires: kde-baseapps-devel >= %{version} +BuildRequires: kdelibs4-devel >= %{version} +BuildRequires: libkipi-devel >= %{version} +BuildRequires: libjpeg-devel +BuildRequires: pkgconfig(exiv2) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libpng) + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: kde-runtime >= 4.10.5 + +# when split occurred +Conflicts: kdegraphics < 7:4.6.95-10 + +%description +%{summary}. + +%package libs +Summary: Runtime files for %{name} +# wrt (LGPLv2 or LGPLv3), KDE e.V. may determine that future GPL versions are accepted +License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3 +Requires: %{name} = %{version}-%{release} +%description libs +%{summary}. + + +%prep +%setup -q + +%patch0 -p1 -b .fix-documentation-about-importer.patch + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kde4} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +# unpackaged files +rm -fv %{buildroot}%{_kde4_libdir}/libgwenviewlib.so + + +%check +desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/gwenview.desktop + + +%post +touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : + +%posttrans +gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : +update-desktop-database -q &> /dev/null ||: + +%postun +if [ $1 -eq 0 ] ; then +touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null || : +gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || : +update-desktop-database -q &> /dev/null ||: +fi + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + + +%files +%doc COPYING +%{_kde4_bindir}/%{name}* +%{_kde4_appsdir}/%{name}/ +%{_kde4_appsdir}/solid/actions/%{name}*.desktop +%{_kde4_datadir}/kde4/services/ServiceMenus/*.desktop +%{_kde4_datadir}/applications/kde4/%{name}.desktop +%{_kde4_iconsdir}/hicolor/*/*/* +%{_kde4_docdir}/HTML/en/%{name}/ +# split gvpart? +%{_kde4_appsdir}/gvpart/ +%{_kde4_datadir}/kde4/services/gvpart.desktop +%{_kde4_libdir}/kde4/gvpart.so + +%files libs +%doc lib/libjpeg-80/README.jpeg +%{_kde4_libdir}/libgwenviewlib.so.4* + + +%changelog +* Wed Sep 06 2017 Jan Grulich - 4.10.5-5 +- Rebuild exiv2 + Resolves: bz#1488007 + +* Tue Mar 29 2016 Jan Grulich - 4.10.5-4 +- Fix documentation about importer + Resolves: bz#1064200 + +* Fri Jan 24 2014 Daniel Mach - 4.10.5-3 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 4.10.5-2 +- Mass rebuild 2013-12-27 + +* Sun Jun 30 2013 Than Ngo - 4.10.5-1 +- 4.10.5 + +* Sat Jun 01 2013 Rex Dieter - 4.10.4-1 +- 4.10.4 + +* Mon May 06 2013 Than Ngo - 4.10.3-1 +- 4.10.3 + +* Sun Mar 31 2013 Rex Dieter - 4.10.2-1 +- 4.10.2 + +* Sat Mar 02 2013 Rex Dieter - 4.10.1-1 +- 4.10.1 + +* Fri Feb 01 2013 Rex Dieter - 4.10.0-1 +- 4.10.0 + +* Tue Jan 22 2013 Rex Dieter - 4.9.98-1 +- 4.9.98 + +* Fri Jan 18 2013 Adam Tkac - 4.9.97-2 +- rebuild due to "jpeg8-ABI" feature drop + +* Fri Jan 04 2013 Rex Dieter - 4.9.97-1 +- 4.9.97 + +* Thu Dec 20 2012 Rex Dieter - 4.9.95-1 +- 4.9.95 + +* Tue Dec 04 2012 Rex Dieter - 4.9.90-1 +- 4.9.90 + +* Mon Dec 03 2012 Than Ngo - 4.9.4-1 +- 4.9.4 + +* Sat Nov 03 2012 Rex Dieter - 4.9.3-1 +- 4.9.3 + +* Wed Oct 24 2012 Rex Dieter 4.9.2-2 +- rebuild (libjpeg-turbo v8) + +* Sat Sep 29 2012 Rex Dieter - 4.9.2-1 +- 4.9.2 + +* Fri Sep 21 2012 Alexey Kurov - 4.9.1-2 +- rebuild (libkipi) + +* Mon Sep 03 2012 Than Ngo - 4.9.1-1 +- 4.9.1 + +* Mon Aug 6 2012 Lukas Tinkl - 4.9.0-2 +- stop the thumbnailing when Gwenview exits; This is important as it + blocks unmounting of flash drives + +* Thu Jul 26 2012 Lukas Tinkl - 4.9.0-1 +- 4.9.0 + +* Thu Jul 19 2012 Fedora Release Engineering - 4.8.97-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jul 11 2012 Rex Dieter - 4.8.97-1 +- 4.8.97 + +* Wed Jun 27 2012 Jaroslav Reznik - 4.8.95-1 +- 4.8.95 + +* Sat Jun 09 2012 Rex Dieter - 4.8.90-1 +- 4.8.90 + +* Fri Jun 01 2012 Jaroslav Reznik - 4.8.80-1 +- 4.8.80 + +* Wed May 02 2012 Rex Dieter - 4.8.3-2 +- rebuild (exiv2) + +* Mon Apr 30 2012 Jaroslav Reznik - 4.8.3-1 +- 4.8.3 + +* Fri Mar 30 2012 Rex Dieter - 4.8.2-1 +- 4.8.2 + +* Mon Mar 12 2012 Rex Dieter 4.8.1-2 +- gvpart fixes (#784683,kde#292394) + +* Mon Mar 05 2012 Jaroslav Reznik - 4.8.1-1 +- 4.8.1 + +* Sun Jan 22 2012 Rex Dieter - 4.8.0-1 +- 4.8.0 + +* Wed Jan 04 2012 Rex Dieter 4.7.97-1 +- 4.7.97 + +* Wed Dec 21 2011 Radek Novacek - 4.7.95-1 +- 4.7.95 + +* Sun Dec 04 2011 Rex Dieter - 4.7.90-1 +- 4.7.90 + +* Fri Nov 25 2011 Rex Dieter 4.7.80-1 +- 4.7.80 + +* Sat Oct 29 2011 Rex Dieter 4.7.3-1 +- 4.7.3 + +* Fri Oct 14 2011 Rex Dieter - 4.7.2-2 +- rebuild (exiv2) + +* Wed Oct 05 2011 Rex Dieter 4.7.2-1 +- 4.7.2 + +* Wed Sep 14 2011 Radek Novacek - 4.7.1-2 +- Make BR: kdebase4-devel versioned + +* Fri Sep 02 2011 Than Ngo - 4.7.1-1 +- 4.7.1 + +* Tue Jul 26 2011 Jaroslav Reznik 4.7.0-1 +- 4.7.0 + +* Mon Jul 18 2011 Rex Dieter 4.6.95-2 +- License: GPLv2+ +- -libs: License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3 +- %%postun: +update-desktop-database + +* Mon Jul 11 2011 Rex Dieter 4.6.95-1 +- 4.6.95 +- update URL + +* Wed Jul 06 2011 Rex Dieter 4.6.90-2 +- fix Source0 URL +- Conflicts: kdegraphics < 7:4.6.90-10 + +* Tue Jul 05 2011 Rex Dieter 4.6.90-1 +- first try +