[521] | 1 | %define kde_major_version 4 |
---|
[1597] | 2 | %define qt_ver 4.6.1 |
---|
[521] | 3 | |
---|
| 4 | Name: qimageblitz |
---|
| 5 | Summary: Blitz KDE/Qt image filter library |
---|
[1597] | 6 | Version: 0.0.6 |
---|
[7801] | 7 | Release: 3%{?_dist_release} |
---|
[1597] | 8 | |
---|
[521] | 9 | Group: System Environment/Libraries |
---|
| 10 | License: LGPL |
---|
[1597] | 11 | URL: http://sourceforge.net/projects/qimageblitz |
---|
[521] | 12 | |
---|
[1597] | 13 | Source: %{name}-%{version}.tar.bz2 |
---|
| 14 | |
---|
[521] | 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | BuildRequires: qt4-devel >= %{qt_ver} |
---|
| 17 | BuildRequires: cmake >= 2.4.5 |
---|
| 18 | BuildRequires: pkgconfig |
---|
| 19 | Requires: qt4 >= %{qt_ver} |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | Blitz is a graphical effect and filter library for KDE4.0 that contains |
---|
| 23 | many improvements over KDE 3.x's kdefx library including bugfixes, memory |
---|
| 24 | and speed improvements, and MMX/SSE support. |
---|
| 25 | |
---|
| 26 | %package devel |
---|
| 27 | Summary: Development files for blitz |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires: %{name} = %{version}-%{release} |
---|
| 30 | Requires: qt4-devel |
---|
| 31 | |
---|
| 32 | %description devel |
---|
| 33 | Header files for developing applications using blitz |
---|
| 34 | |
---|
| 35 | %prep |
---|
| 36 | %setup -q |
---|
| 37 | |
---|
| 38 | %build |
---|
| 39 | |
---|
[1597] | 40 | mkdir -p %{_target_platform} |
---|
| 41 | pushd %{_target_platform} |
---|
[521] | 42 | %cmake -DCMAKE_BUILD_TYPE=release .. |
---|
| 43 | popd |
---|
| 44 | |
---|
[1597] | 45 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 46 | |
---|
[521] | 47 | %install |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
[1597] | 49 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
[521] | 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -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 |
---|
[7801] | 70 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.6-3 |
---|
| 71 | - rebuild with current VineSeed environment |
---|
| 72 | |
---|
[1850] | 73 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-2 |
---|
| 74 | - rebuilt with rpm-4.8.1 |
---|
| 75 | |
---|
[1597] | 76 | * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.0.6-1 |
---|
| 77 | - new upstream release |
---|
| 78 | |
---|
[521] | 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 |
---|