1 | %define kde_major_version 4 |
---|
2 | %define qt_ver 4.6.1 |
---|
3 | |
---|
4 | Name: qimageblitz |
---|
5 | Version: 0.0.6 |
---|
6 | Release: 4%{?_dist_release} |
---|
7 | Summary: Graphical effect and filter library |
---|
8 | Summary(ja): グラフィック効果・グラフィックフィルタライブラリ |
---|
9 | |
---|
10 | Group: System Environment/Libraries |
---|
11 | License: BSD and ImageMagick |
---|
12 | URL: http://qimageblitz.sourceforge.net/ |
---|
13 | |
---|
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 |
---|
18 | |
---|
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 |
---|
30 | Summary: Development files for %{name} |
---|
31 | Summary(ja): %{name} の開発用ファイル |
---|
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 |
---|
41 | %patch100 -p1 |
---|
42 | |
---|
43 | %build |
---|
44 | mkdir -p %{_target_platform} |
---|
45 | pushd %{_target_platform} |
---|
46 | %cmake %{?_cmake_skip_rpath} .. |
---|
47 | popd |
---|
48 | |
---|
49 | make %{?_smp_mflags} -C %{_target_platform} |
---|
50 | |
---|
51 | %install |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
54 | |
---|
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 | |
---|
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) |
---|
68 | %doc Changelog README* COPYING |
---|
69 | %{_libdir}/*.so.* |
---|
70 | |
---|
71 | %files devel |
---|
72 | %defattr(-,root,root) |
---|
73 | %{_bindir}/blitztest |
---|
74 | %{_includedir}/qimageblitz |
---|
75 | %{_libdir}/*.so |
---|
76 | %{_libdir}/pkgconfig/*.pc |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.0.6-4 |
---|
80 | - rebuilt on current VineSeed |
---|
81 | - fixed LICENSE to BSD |
---|
82 | - moved %{_bindir}/blitztest to devel subpackage |
---|
83 | - added Japanese summary |
---|
84 | |
---|
85 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-3 |
---|
86 | - rebuild with current VineSeed environment |
---|
87 | |
---|
88 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-2 |
---|
89 | - rebuilt with rpm-4.8.1 |
---|
90 | |
---|
91 | * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1 |
---|
92 | - new upstream release |
---|
93 | |
---|
94 | * Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4 |
---|
95 | - use %%cmake macro |
---|
96 | - drop redundant cmake options |
---|
97 | |
---|
98 | * Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3 |
---|
99 | - rebuilt with qt-4.5.2 |
---|
100 | |
---|
101 | * Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2 |
---|
102 | - added -DLIB_INSTALL_DIR=%%{_libdir} at cmake |
---|
103 | |
---|
104 | * Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1 |
---|
105 | - initial release |
---|