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

Revision 1597, 1.8 KB checked in by inagaki, 14 years ago (diff)

updated: libgadu, libindi, ortp, qjson, qimageblitz, shared-desktop-ontologies

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: 1%{?_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* Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1
71- new upstream release
72
73* Tue Sep 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 0.0.4-4
74- use %%cmake macro
75- drop redundant cmake options
76
77* Sat Aug 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.4-3
78- rebuilt with qt-4.5.2
79
80* Thu Oct 23 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-2
81- added -DLIB_INSTALL_DIR=%%{_libdir} at cmake
82
83* Sun Oct 12 2008 AKIYAMA KAzuhito <akiyama@yb3.so-net.ne.jp> 0.0.4-1
84- initial release
Note: See TracBrowser for help on using the repository browser.