[521] | 1 | %define kde_major_version 4 |
---|
[1597] | 2 | %define qt_ver 4.6.1 |
---|
[521] | 3 | |
---|
[9346] | 4 | Name: qimageblitz |
---|
[1597] | 5 | Version: 0.0.6 |
---|
[10570] | 6 | Release: 5%{?_dist_release} |
---|
[9346] | 7 | Summary: Graphical effect and filter library |
---|
| 8 | Summary(ja): グラフィック効果・グラフィックフィルタライブラリ |
---|
[1597] | 9 | |
---|
[9346] | 10 | Group: System Environment/Libraries |
---|
| 11 | License: BSD and ImageMagick |
---|
| 12 | URL: http://qimageblitz.sourceforge.net/ |
---|
[521] | 13 | |
---|
[9346] | 14 | Source0: http://download.kde.org/stable/qimageblitz/qimageblitz-%{version}.tar.bz2 |
---|
| 15 | # upstreamed to kdesupport |
---|
| 16 | # r1204248 | rdieter | 2010-12-06 08:05:09 -0600 (Mon, 06 Dec 2010) | 2 lines |
---|
| 17 | Patch100: qimageblitz-0.0.4-noexecstack.patch |
---|
[1597] | 18 | |
---|
[521] | 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | BuildRequires: qt4-devel >= %{qt_ver} |
---|
| 21 | BuildRequires: cmake >= 2.4.5 |
---|
| 22 | BuildRequires: pkgconfig |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Blitz is a graphical effect and filter library for KDE4.0 that contains |
---|
| 26 | many improvements over KDE 3.x's kdefx library including bugfixes, memory |
---|
| 27 | and speed improvements, and MMX/SSE support. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
[9346] | 30 | Summary: Development files for %{name} |
---|
| 31 | Summary(ja): %{name} の開発用ファイル |
---|
[521] | 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name} = %{version}-%{release} |
---|
| 34 | Requires: qt4-devel |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | Header files for developing applications using blitz |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q |
---|
[9346] | 41 | %patch100 -p1 |
---|
[521] | 42 | |
---|
| 43 | %build |
---|
[1597] | 44 | mkdir -p %{_target_platform} |
---|
| 45 | pushd %{_target_platform} |
---|
[9346] | 46 | %cmake %{?_cmake_skip_rpath} .. |
---|
[521] | 47 | popd |
---|
| 48 | |
---|
[1597] | 49 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 50 | |
---|
[521] | 51 | %install |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
[1597] | 53 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
[521] | 54 | |
---|
[9346] | 55 | %check |
---|
| 56 | export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig |
---|
| 57 | test "$(pkg-config --modversion qimageblitz)" = "4.0.0" |
---|
| 58 | |
---|
[521] | 59 | %clean |
---|
| 60 | rm -rf $RPM_BUILD_ROOT |
---|
| 61 | |
---|
| 62 | %post -p /sbin/ldconfig |
---|
| 63 | |
---|
| 64 | %postun -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | %files |
---|
| 67 | %defattr(-,root,root) |
---|
[9346] | 68 | %doc Changelog README* COPYING |
---|
[521] | 69 | %{_libdir}/*.so.* |
---|
| 70 | |
---|
| 71 | %files devel |
---|
| 72 | %defattr(-,root,root) |
---|
[9346] | 73 | %{_bindir}/blitztest |
---|
[521] | 74 | %{_includedir}/qimageblitz |
---|
| 75 | %{_libdir}/*.so |
---|
| 76 | %{_libdir}/pkgconfig/*.pc |
---|
| 77 | |
---|
| 78 | %changelog |
---|
[10570] | 79 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-5 |
---|
| 80 | - rebuild with gcc-5.4.0 |
---|
| 81 | |
---|
[9346] | 82 | * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.0.6-4 |
---|
| 83 | - rebuilt on current VineSeed |
---|
| 84 | - fixed LICENSE to BSD |
---|
| 85 | - moved %{_bindir}/blitztest to devel subpackage |
---|
| 86 | - added Japanese summary |
---|
| 87 | |
---|
[7801] | 88 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-3 |
---|
| 89 | - rebuild with current VineSeed environment |
---|
| 90 | |
---|
[1850] | 91 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-2 |
---|
| 92 | - rebuilt with rpm-4.8.1 |
---|
| 93 | |
---|
[1597] | 94 | * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[521] | 97 | * Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4 |
---|
| 98 | - use %%cmake macro |
---|
| 99 | - drop redundant cmake options |
---|
| 100 | |
---|
| 101 | * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3 |
---|
| 102 | - rebuilt with qt-4.5.2 |
---|
| 103 | |
---|
| 104 | * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2 |
---|
| 105 | - added -DLIB_INSTALL_DIR=%%{_libdir} at cmake |
---|
| 106 | |
---|
| 107 | * Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1 |
---|
| 108 | - initial release |
---|