From 800fc9b9bfd7dd656865adb3d47eed1391cbf9d9 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jul 25 2013 13:09:19 +0000 Subject: import kolourpaint-4.10.5-2.el7.src.rpm --- diff --git a/.kolourpaint.metadata b/.kolourpaint.metadata new file mode 100644 index 0000000..37eeb7a --- /dev/null +++ b/.kolourpaint.metadata @@ -0,0 +1 @@ +976a2093dda115b16f13603c35959b163cc4169e SOURCES/kolourpaint-4.10.5.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/kolourpaint.spec b/SPECS/kolourpaint.spec new file mode 100644 index 0000000..fd29bf4 --- /dev/null +++ b/SPECS/kolourpaint.spec @@ -0,0 +1,208 @@ +Name: kolourpaint +Summary: An easy-to-use paint program +Version: 4.10.5 +Release: 2%{?dist} + +License: BSD and LGPLv2+ +URL: https://projects.kde.org/projects/kde/kdegraphics/kolourpaint +%global revision %(echo %{version} | cut -d. -f3) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: ftp://ftp.kde.org/pub/kde/%{stable}/%{version}/src/%{name}-%{version}.tar.xz + +BuildRequires: desktop-file-utils +BuildRequires: kdelibs4-devel >= %{version} +BuildRequires: pkgconfig(qimageblitz) + +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}} +# when split occurred +Conflicts: kdegraphics < 7:4.6.95-10 + +%description +%{summary}. + +%package libs +Summary: Runtime libraries for %{name} +Requires: %{name} = %{version}-%{release} +License: LGPLv2 +%description libs +%{summary}. + + +%prep +%setup -q + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kde4} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +rm -rf %{buildroot} + +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%find_lang %{name} --with-kde --without-mo + +## unpackaged files +rm -fv %{buildroot}%{_kde4_libdir}/libkolourpaint_lgpl.so + + +%check +desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/kde4/%{name}.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 || : +fi + +%files -f %{name}.lang +%doc AUTHORS BUGS ChangeLog COPYING NEWS README +%{_kde4_bindir}/%{name} +%{_kde4_appsdir}/%{name}/ +%{_kde4_datadir}/applications/kde4/%{name}.desktop +%{_kde4_iconsdir}/hicolor/*/*/* + +%post libs -p /sbin/ldconfig +%postun libs -p /sbin/ldconfig + +%files libs +%{_kde4_libdir}/libkolourpaint_lgpl.so.4* + + +%changelog +* Thu Jul 25 2013 Than Ngo - 4.10.5-2 +- add LGPLv2+ + +* 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 + +* Thu Apr 25 2013 Rex Dieter 4.10.2-2 +- Requires: kde-runtime + +* Mon Apr 01 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 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 + +* Sat Sep 29 2012 Rex Dieter - 4.9.2-1 +- 4.9.2 + +* Mon Sep 03 2012 Than Ngo - 4.9.1-1 +- 4.9.1 + +* 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 + +* Thu Jul 12 2012 Rex Dieter - 4.8.97-1 +- 4.8.97 + +* Thu Jun 28 2012 Rex Dieter - 4.8.95-1 +- 4.8.95 + +* Sun Jun 10 2012 Rex Dieter - 4.8.90-1 +- 4.8.90 + +* Sun Jun 03 2012 Jaroslav Reznik - 4.8.80-1 +- 4.8.80 + +* 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 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 Radek Novacek - 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 + +* Thu Dec 01 2011 Rex Dieter 4.7.80-1 +- 4.7.80 + +* Sat Oct 29 2011 Rex Dieter 4.7.3-1 +- 4.7.3 + +* Wed Oct 05 2011 Rex Dieter 4.7.2-1 +- 4.7.2 + +* Wed Sep 07 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 11 2011 Rex Dieter 4.6.95-1 +- 4.6.95 + +* Mon Jul 11 2011 Rex Dieter 4.6.90-3 +- License: BSD, -libs: License: LGPLv2 +- fix 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 + +