source: projects/specs/trunk/q/qimageblitz/qimageblitz-vl.spec @ 9346

Revision 9346, 2.7 KB checked in by inagaki, 9 years ago (diff)

2015-02-09 Ryoichi INAGAKI <ryo1@…>

  • qca-ossl, qimageblitz, qoauth, qt-assistant-adp, qtsoap: rebuilt
  • qca2: added patch


Line 
1%define kde_major_version 4
2%define qt_ver 4.6.1
3
4Name:    qimageblitz
5Version: 0.0.6
6Release: 4%{?_dist_release}
7Summary: Graphical effect and filter library
8Summary(ja): グラフィック効果・グラフィックフィルタライブラリ
9
10Group:   System Environment/Libraries
11License: BSD and ImageMagick
12URL:     http://qimageblitz.sourceforge.net/
13
14Source0: 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
17Patch100: qimageblitz-0.0.4-noexecstack.patch
18
19BuildRoot: %{_tmppath}/%{name}-%{version}-root
20BuildRequires: qt4-devel >= %{qt_ver}
21BuildRequires: cmake >= 2.4.5
22BuildRequires: pkgconfig
23
24%description
25Blitz is a graphical effect and filter library for KDE4.0 that contains
26many improvements over KDE 3.x's kdefx library including bugfixes, memory
27and speed improvements, and MMX/SSE support.
28
29%package devel
30Summary: Development files for %{name}
31Summary(ja): %{name} の開発用ファイル
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34Requires: qt4-devel
35
36%description devel
37Header files for developing applications using blitz
38
39%prep
40%setup -q
41%patch100 -p1
42
43%build
44mkdir -p %{_target_platform}
45pushd %{_target_platform}
46%cmake %{?_cmake_skip_rpath} ..
47popd
48
49make %{?_smp_mflags} -C %{_target_platform}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
54
55%check
56export PKG_CONFIG_PATH=$RPM_BUILD_ROOT%{_datadir}/pkgconfig:$RPM_BUILD_ROOT%{_libdir}/pkgconfig
57test "$(pkg-config --modversion qimageblitz)" = "4.0.0"
58
59%clean
60rm -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
Note: See TracBrowser for help on using the repository browser.