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

Revision 10570, 2.8 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

RevLine 
[521]1%define kde_major_version 4
[1597]2%define qt_ver 4.6.1
[521]3
[9346]4Name:    qimageblitz
[1597]5Version: 0.0.6
[10570]6Release: 5%{?_dist_release}
[9346]7Summary: Graphical effect and filter library
8Summary(ja): グラフィック効果・グラフィックフィルタライブラリ
[1597]9
[9346]10Group:   System Environment/Libraries
11License: BSD and ImageMagick
12URL:     http://qimageblitz.sourceforge.net/
[521]13
[9346]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
[1597]18
[521]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
[9346]30Summary: Development files for %{name}
31Summary(ja): %{name} の開発用ファイル
[521]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
[9346]41%patch100 -p1
[521]42
43%build
[1597]44mkdir -p %{_target_platform}
45pushd %{_target_platform}
[9346]46%cmake %{?_cmake_skip_rpath} ..
[521]47popd
48
[1597]49make %{?_smp_mflags} -C %{_target_platform}
50
[521]51%install
52rm -rf $RPM_BUILD_ROOT
[1597]53make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
[521]54
[9346]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
[521]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)
[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
Note: See TracBrowser for help on using the repository browser.