]>
Commit | Line | Data |
---|---|---|
0bce765f JB |
1 | Summary: Blitz KDE/Qt image filter library |
2 | Summary(pl.UTF-8): Biblioteka filtrów obrazu Blitz dla KDE/Qt | |
47eba5af | 3 | Name: qimageblitz |
d2fdd2b1 | 4 | Version: 0.0.6 |
1f65a2ba | 5 | Release: 5 |
5e81624d | 6 | License: BSD |
0bce765f | 7 | Group: X11/Libraries |
d2fdd2b1 AM |
8 | Source0: ftp://ftp.kde.org/pub/kde/stable/qimageblitz/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 0ae2f7d4e0876764a97ca73799f61df4 | |
1f65a2ba | 10 | Patch0: %{name}-noexecstack.patch |
0bce765f | 11 | URL: http://sourceforge.net/projects/qimageblitz/ |
5e81624d JB |
12 | BuildRequires: QtCore-devel >= 4 |
13 | BuildRequires: QtGui-devel >= 4 | |
5d05211c | 14 | BuildRequires: cmake |
5e81624d JB |
15 | BuildRequires: qt4-build >= 4 |
16 | BuildRequires: qt4-qmake >= 4 | |
17 | BuildRequires: rpmbuild(macros) >= 1.605 | |
47eba5af RT |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
0bce765f JB |
21 | Blitz is a graphical effect and filter library for KDE 4 that contains |
22 | many improvements over KDE 3.x's kdefx library including bugfixes, | |
23 | memory and speed improvements, and MMX/SSE support. | |
47eba5af RT |
24 | |
25 | %description -l pl.UTF-8 | |
0bce765f JB |
26 | Blitz to biblioteka efektów i filtrów graficznych dla KDE 4 |
27 | zawierająca wiele ulepszeń w stosunku do biblioteki kdefx z KDE 3.x, w | |
28 | tym poprawki błędów, poprawę wydajności (pod względem wykorzystania | |
29 | pamięci i szybkości działania) oraz obsługę MMX/SSE. | |
47eba5af RT |
30 | |
31 | %package devel | |
0bce765f | 32 | Summary: Header files for Blitz library |
8845343f | 33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Blitz |
0bce765f | 34 | Group: X11/Development/Libraries |
47eba5af | 35 | Requires: %{name} = %{version}-%{release} |
5e81624d | 36 | Requires: QtGui-devel >= 4 |
47eba5af RT |
37 | |
38 | %description devel | |
39 | Header files needed for build programs that use qimageblitz. | |
40 | ||
41 | %description devel -l pl.UTF-8 | |
42 | Pliki nagłówkowe potrzebne do tworzenia programów z użyciem | |
43 | qimageblitz. | |
44 | ||
45 | %prep | |
46 | %setup -q | |
1f65a2ba | 47 | %patch0 -p1 |
47eba5af RT |
48 | |
49 | %build | |
50 | install -d build | |
47eba5af | 51 | cd build |
5e81624d | 52 | %cmake .. |
47eba5af RT |
53 | |
54 | %{__make} | |
55 | ||
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
0bce765f JB |
58 | |
59 | %{__make} -C build install \ | |
21dc56b5 | 60 | DESTDIR=$RPM_BUILD_ROOT |
47eba5af RT |
61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
e18e4c4d PS |
65 | %post -p /sbin/ldconfig |
66 | %postun -p /sbin/ldconfig | |
67 | ||
47eba5af RT |
68 | %files |
69 | %defattr(644,root,root,755) | |
5e81624d | 70 | %doc COPYING Changelog README.BLITZ |
47eba5af RT |
71 | %attr(755,root,root) %{_bindir}/blitztest |
72 | %attr(755,root,root) %{_libdir}/libqimageblitz.so.4.0.0 | |
0bce765f | 73 | %attr(755,root,root) %ghost %{_libdir}/libqimageblitz.so.4 |
47eba5af RT |
74 | |
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
5e81624d | 77 | %doc README.PORTING |
0bce765f | 78 | %attr(755,root,root) %{_libdir}/libqimageblitz.so |
47eba5af RT |
79 | %dir %{_includedir}/qimageblitz |
80 | %{_includedir}/qimageblitz/blitzcpu.h | |
81 | %{_includedir}/qimageblitz/qimageblitz.h | |
82 | %{_includedir}/qimageblitz/qimageblitz_export.h | |
0bce765f | 83 | %{_pkgconfigdir}/qimageblitz.pc |