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

Revision 7801, 2.0 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.11.1

Line 
1%define kde_major_version 4
2%define qt_ver 4.6.1
3
4Name: qimageblitz
5Summary: Blitz KDE/Qt image filter library
6Version: 0.0.6
7Release: 3%{?_dist_release}
8
9Group: System Environment/Libraries
10License: LGPL
11URL: http://sourceforge.net/projects/qimageblitz
12
13Source: %{name}-%{version}.tar.bz2
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: qt4-devel >= %{qt_ver}
17BuildRequires: cmake >= 2.4.5
18BuildRequires: pkgconfig
19Requires: qt4 >= %{qt_ver}
20
21%description
22Blitz is a graphical effect and filter library for KDE4.0 that contains
23many improvements over KDE 3.x's kdefx library including bugfixes, memory
24and speed improvements, and MMX/SSE support.
25
26%package devel
27Summary: Development files for blitz
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30Requires: qt4-devel
31
32%description devel
33Header files for developing applications using blitz
34
35%prep
36%setup -q
37
38%build
39
40mkdir -p %{_target_platform}
41pushd %{_target_platform}
42%cmake -DCMAKE_BUILD_TYPE=release ..
43popd
44
45make %{?_smp_mflags} -C %{_target_platform}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%post -p /sbin/ldconfig
55
56%postun -p /sbin/ldconfig
57
58%files
59%defattr(-,root,root)
60%{_bindir}*
61%{_libdir}/*.so.*
62
63%files devel
64%defattr(-,root,root)
65%{_includedir}/qimageblitz
66%{_libdir}/*.so
67%{_libdir}/pkgconfig/*.pc
68
69%changelog
70* Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-3
71- rebuild with current VineSeed environment
72
73* Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-2
74- rebuilt with rpm-4.8.1
75
76* Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1
77- new upstream release
78
79* Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4
80- use %%cmake macro
81- drop redundant cmake options
82
83* Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3
84- rebuilt with qt-4.5.2
85
86* Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2
87- added -DLIB_INSTALL_DIR=%%{_libdir} at cmake
88
89* Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1
90- initial release
Note: See TracBrowser for help on using the repository browser.