]>
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 |
29ddc641 | 5 | Release: 2 |
47eba5af | 6 | License: GPL |
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 | |
0bce765f | 10 | URL: http://sourceforge.net/projects/qimageblitz/ |
21dc56b5 | 11 | BuildRequires: QtGui-devel |
5d05211c | 12 | BuildRequires: cmake |
505d2645 | 13 | BuildRequires: kde4-kdelibs-devel >= 4.0.0 |
ba922d58 | 14 | BuildRequires: qt4-build |
c5c10a3a | 15 | BuildRequires: qt4-qmake |
47eba5af RT |
16 | BuildRequires: rpmbuild(macros) >= 1.129 |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
0bce765f JB |
20 | Blitz is a graphical effect and filter library for KDE 4 that contains |
21 | many improvements over KDE 3.x's kdefx library including bugfixes, | |
22 | memory and speed improvements, and MMX/SSE support. | |
47eba5af RT |
23 | |
24 | %description -l pl.UTF-8 | |
0bce765f JB |
25 | Blitz to biblioteka efektów i filtrów graficznych dla KDE 4 |
26 | zawierająca wiele ulepszeń w stosunku do biblioteki kdefx z KDE 3.x, w | |
27 | tym poprawki błędów, poprawę wydajności (pod względem wykorzystania | |
28 | pamięci i szybkości działania) oraz obsługę MMX/SSE. | |
47eba5af RT |
29 | |
30 | %package devel | |
0bce765f | 31 | Summary: Header files for Blitz library |
8845343f | 32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Blitz |
0bce765f | 33 | Group: X11/Development/Libraries |
47eba5af RT |
34 | Requires: %{name} = %{version}-%{release} |
35 | ||
36 | %description devel | |
37 | Header files needed for build programs that use qimageblitz. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe potrzebne do tworzenia programów z użyciem | |
41 | qimageblitz. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
45 | ||
46 | %build | |
47 | install -d build | |
47eba5af | 48 | cd build |
21dc56b5 | 49 | %cmake .. \ |
47eba5af | 50 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ |
21dc56b5 JB |
51 | -DCMAKE_VERBOSE_MAKEFILE=ON \ |
52 | %if "%{_lib}" == "lib64" | |
53 | -DLIB_SUFFIX=64 | |
54 | %endif | |
47eba5af RT |
55 | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
0bce765f JB |
60 | |
61 | %{__make} -C build install \ | |
21dc56b5 | 62 | DESTDIR=$RPM_BUILD_ROOT |
47eba5af RT |
63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
e18e4c4d PS |
67 | %post -p /sbin/ldconfig |
68 | %postun -p /sbin/ldconfig | |
69 | ||
47eba5af RT |
70 | %files |
71 | %defattr(644,root,root,755) | |
72 | %attr(755,root,root) %{_bindir}/blitztest | |
73 | %attr(755,root,root) %{_libdir}/libqimageblitz.so.4.0.0 | |
0bce765f | 74 | %attr(755,root,root) %ghost %{_libdir}/libqimageblitz.so.4 |
47eba5af RT |
75 | |
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
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 |