From 37fef17a0d14bea5a277806726ddb9f3a7515dba Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 19:05:33 +0000 Subject: import qimageblitz-0.0.6-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d8c28d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/qimageblitz-0.0.6.tar.bz2 diff --git a/.qimageblitz.metadata b/.qimageblitz.metadata new file mode 100644 index 0000000..6d01b07 --- /dev/null +++ b/.qimageblitz.metadata @@ -0,0 +1 @@ +32bcda9adb262ef49c62e3a7adbfcdeec98f72e4 SOURCES/qimageblitz-0.0.6.tar.bz2 diff --git a/SOURCES/qimageblitz-0.0.4-noexecstack.patch b/SOURCES/qimageblitz-0.0.4-noexecstack.patch new file mode 100644 index 0000000..406f52b --- /dev/null +++ b/SOURCES/qimageblitz-0.0.4-noexecstack.patch @@ -0,0 +1,12 @@ +Use non-executable stack to make selinux happier +Upstreamed to kdesupport, +r1204248 | rdieter | 2010-12-06 08:05:09 -0600 (Mon, 06 Dec 2010) | 2 lines + +diff -ur qimageblitz-0.0.706674/blitz/asm_scale.S qimageblitz-0.0.706674-noexecstack/blitz/asm_scale.S +--- qimageblitz-0.0.706674/blitz/asm_scale.S 2007-08-13 20:49:30.000000000 +0200 ++++ qimageblitz-0.0.706674-noexecstack/blitz/asm_scale.S 2008-02-07 04:23:47.000000000 +0100 +@@ -1,3 +1,4 @@ ++.section .note.GNU-stack,"",%progbits + + #if defined(__EMX__) + /* Due to strange behaviour of as.exe we use this macros */ diff --git a/SPECS/qimageblitz.spec b/SPECS/qimageblitz.spec new file mode 100644 index 0000000..cac1ee6 --- /dev/null +++ b/SPECS/qimageblitz.spec @@ -0,0 +1,139 @@ +Summary: Graphical effect and filter library +Name: qimageblitz +Version: 0.0.6 +Release: 7%{?dist} + +Group: System Environment/Libraries +License: BSD and ImageMagick +URL: http://qimageblitz.sourceforge.net/ +Source0: http://download.kde.org/stable/qimageblitz/qimageblitz-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# upstreamed to kdesupport +# r1204248 | rdieter | 2010-12-06 08:05:09 -0600 (Mon, 06 Dec 2010) | 2 lines +Patch100: qimageblitz-0.0.4-noexecstack.patch + +BuildRequires: cmake +BuildRequires: qt4-devel + +%description +Blitz is a graphical effect and filter library for KDE4 that contains +improvements over KDE 3.x's kdefx library including bugfixes, memory and +speed improvements, and MMX/SSE support. + +%package devel +Summary: Developer files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +%{summary}. + +%package examples +Summary: Example programs for %{name} +Group: System Environment/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +%description examples +This package contains the blitztest example program for %{name}. + + +%prep +%setup -q +%patch100 -p1 + + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake} %{?_cmake_skip_rpath} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +rm -rf $RPM_BUILD_ROOT +make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} + + +%check +export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig +test "$(pkg-config --modversion qimageblitz)" = "4.0.0" + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc Changelog README* COPYING +%{_libdir}/libqimageblitz.so.4* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/libqimageblitz.so +%{_libdir}/pkgconfig/qimageblitz.pc +%{_includedir}/qimageblitz/ + +%files examples +%defattr(-,root,root,-) +%{_bindir}/blitztest + + +%changelog +* Fri Jan 24 2014 Daniel Mach - 0.0.6-7 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 0.0.6-6 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.0.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.0.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Aug 16 2010 Rex Dieter - 0.0.6-1 +- qimageblitz-0.0.6 + +* Fri Jan 22 2010 Kevin Kofler - 0.0.4-3 +- require the main package with exact version-release in -examples +- remove explicit Requires: qt4-devel pkgconfig from -devel, now autodetected + +* Tue Jan 05 2010 Rex Dieter - 0.0.4-2 +- update summary/description/Source_url +- %%files: track soname +- cleaner cmake-fu +- upstream noexecstack patch + +* Tue Jan 05 2010 Than Ngo - 0.0.4-1 +- use the official 0.0.4 + +* Sun Jul 26 2009 Fedora Release Engineering - 0.0.4-0.6.svn706674 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.0.4-0.5.svn706674 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 7 2008 Kevin Kofler 0.0.4-0.4.svn706674 +- Fix noexecstack patch to disable execstack also on x86_64 (#428036). + +* Tue Jan 8 2008 Kevin Kofler 0.0.4-0.3.svn706674 +- Apply Debian patch by Sune Vuorela to fix executable stack (#428036). + +* Wed Sep 19 2007 Kevin Kofler 0.0.4-0.2.svn706674 +- Move blitztest example to its own subpackage. + +* Fri Aug 3 2007 Kevin Kofler 0.0.4-0.1.svn706674 +- First Fedora package