16 |
License: GPL |
License: GPL |
17 |
Group: Development/KDE and Qt |
Group: Development/KDE and Qt |
18 |
Source: %name-%version.tar.bz2 |
Source: %name-%version.tar.bz2 |
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
|
19 |
BuildRequires: cmake >= 2.4.5 |
BuildRequires: cmake >= 2.4.5 |
20 |
BuildRequires: qt4-devel >= 4.3.0 |
BuildRequires: qt4-devel >= 4.3.0 |
21 |
BuildRequires: pkgconfig |
BuildRequires: pkgconfig |
30 |
|
|
31 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
32 |
|
|
33 |
%define libblitz %mklibname qimageblitz 4 |
%define libblitz_major 4 |
34 |
|
%define libblitz %mklibname qimageblitz %{libblitz_major} |
35 |
|
|
36 |
%package -n %libblitz |
%package -n %libblitz |
37 |
Summary: Blitz library |
Summary: Blitz library |
41 |
%description -n %libblitz |
%description -n %libblitz |
42 |
Blitz library. |
Blitz library. |
43 |
|
|
|
%if %mdkversion < 200900 |
|
|
%post -n %libblitz -p /sbin/ldconfig |
|
|
%endif |
|
|
%if %mdkversion < 200900 |
|
|
%postun -n %libblitz -p /sbin/ldconfig |
|
|
%endif |
|
44 |
|
|
45 |
%files -n %libblitz |
%files -n %libblitz |
46 |
%defattr(-,root,root) |
%defattr(-,root,root) |
47 |
%{_libdir}/*.so.4 |
%{_libdir}/*.so.%{libblitz_major}* |
|
%{_libdir}/*.so.4.* |
|
48 |
|
|
49 |
#-------------------------------------------------------------------- |
#-------------------------------------------------------------------- |
50 |
|
|
86 |
|
|
87 |
%clean |
%clean |
88 |
rm -fr %buildroot |
rm -fr %buildroot |
|
|
|
|
|
|