]> git.pld-linux.org Git - packages/qimageblitz5.git/blob - qimageblitz5.spec
- new, qimageblitz built for Qt5, packaged with "5" suffix
[packages/qimageblitz5.git] / qimageblitz5.spec
1 Summary:        Blitz Qt 5 image filter library
2 Summary(pl.UTF-8):      Biblioteka filtrów obrazu Blitz dla Qt 5
3 Name:           qimageblitz5
4 Version:        0.0.6
5 %define snap    20131029
6 %define rel     1
7 Release:        1.%{snap}.%{rel}
8 License:        BSD
9 Group:          X11/Libraries
10 Source0:        https://dev.gentoo.org/~asturm/distfiles/qimageblitz-%{version}_p%{snap}.tar.xz
11 # Source0-md5:  98e14003f2a7f2a4d83442c401ab6780
12 Patch0:         %{name}-noexecstack.patch
13 Patch1:         %{name}-suffix.patch
14 URL:            http://sourceforge.net/projects/qimageblitz/
15 BuildRequires:  Qt5Core-devel >= 5
16 BuildRequires:  Qt5Gui-devel >= 5
17 BuildRequires:  Qt5Widgets-devel >= 5
18 BuildRequires:  cmake >= 2.6.4
19 BuildRequires:  qt5-build >= 5
20 BuildRequires:  qt5-qmake >= 5
21 BuildRequires:  rpmbuild(macros) >= 1.605
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Blitz is a graphical effect and filter library for Qt 5 that contains
26 many improvements over KDE 3.x's kdefx library including bugfixes,
27 memory and speed improvements, and MMX/SSE support.
28
29 %description -l pl.UTF-8
30 Blitz to biblioteka efektów i filtrów graficznych dla Qt 5
31 zawierająca wiele ulepszeń w stosunku do biblioteki kdefx z KDE 3.x, w
32 tym poprawki błędów, poprawę wydajności (pod względem wykorzystania
33 pamięci i szybkości działania) oraz obsługę MMX/SSE.
34
35 %package devel
36 Summary:        Header files for Blitz library
37 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Blitz
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       Qt5Gui-devel >= 5
41
42 %description devel
43 Header files needed for build programs that use qimageblitz.
44
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe potrzebne do tworzenia programów z użyciem
47 qimageblitz.
48
49 %prep
50 %setup -q -n qimageblitz-%{version}_p%{snap}
51 %patch0 -p1
52 %patch1 -p1
53
54 %build
55 install -d build
56 cd build
57 %cmake .. \
58         -DQT4_BUILD=OFF
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} -C build install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %{__mv} $RPM_BUILD_ROOT%{_bindir}/blitztest{,5}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc COPYING Changelog README.BLITZ
79 %attr(755,root,root) %{_bindir}/blitztest5
80 %attr(755,root,root) %{_libdir}/libqimageblitz5.so.5.0.0
81 %attr(755,root,root) %ghost %{_libdir}/libqimageblitz5.so.5
82
83 %files devel
84 %defattr(644,root,root,755)
85 %doc README.PORTING
86 %attr(755,root,root) %{_libdir}/libqimageblitz5.so
87 %dir %{_includedir}/qimageblitz5
88 %{_includedir}/qimageblitz5/blitzcpu.h
89 %{_includedir}/qimageblitz5/qimageblitz.h
90 %{_includedir}/qimageblitz5/qimageblitz_export.h
91 %{_pkgconfigdir}/qimageblitz5.pc
This page took 0.070708 seconds and 3 git commands to generate.