/[packages]/cauldron/qimageblitz/current/SPECS/qimageblitz.spec
ViewVC logotype

Contents of /cauldron/qimageblitz/current/SPECS/qimageblitz.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 197802 - (show annotations) (download)
Wed Jan 18 10:17:53 2012 UTC (9 years, 6 months ago) by mikala
File size: 1510 byte(s)
- Remove obsoletes
- Remove pkconfig as BR
- Remove %defattr() & %clean section
- Fix requires in -devel pacakge
- Fix URL & SOURCE tag
- Clean spec

1 Name: qimageblitz
2 Version: 0.0.6
3 Release: %mkrel 3
4 Epoch: 1
5 Summary: Graphics manipulation library
6 License: GPL
7 Group: Graphics
8 Url: http://www.kde.org
9 Source: ftp.kde.org:/pub/kde/stable/qimageblitz/%name-%version.tar.bz2
10 BuildRequires: cmake >= 2.4.5
11 BuildRequires: qt4-devel >= 4.3.0
12
13
14 %description
15 Qimageblitz is a graphics manipulation library.
16
17 %files
18 %_bindir/blitztest
19
20 #--------------------------------------------------------------------
21
22 %define libblitz_major 4
23 %define libblitz %mklibname qimageblitz %{libblitz_major}
24
25 %package -n %libblitz
26 Summary: Qimageblitz runtime library
27 Group: System/Libraries
28
29 %description -n %libblitz
30 Qimageblitz runtime library.
31
32
33 %files -n %libblitz
34 %{_libdir}/*.so.%{libblitz_major}*
35
36 #--------------------------------------------------------------------
37
38 %define libblitzdev %mklibname -d qimageblitz
39
40 %package -n %libblitzdev
41 Summary: Development files for %name
42 Group: Development/KDE and Qt
43 Requires: %libblitz = %epoch:%version-%release
44 Provides: lib%name-devel = %epoch:%version-%release
45 Provides: %name-devel = %epoch:%version-%release
46
47 %description -n %libblitzdev
48 Development files for %name.
49
50 %files -n %libblitzdev
51 %_libdir/*.so
52 %_includedir/qimageblitz
53 %_libdir/pkgconfig/*
54
55 #--------------------------------------------------------------------
56
57 %prep
58 %setup -q
59
60 %build
61 %cmake_qt4 \
62 -DCMAKE_SKIP_RPATH:BOOL=ON \
63 -DLIB_INSTALL_DIR=%_libdir \
64 -DINCLUDE_INSTALL_DIR=%_includedir
65 %make
66
67 %install
68 rm -fr %buildroot
69 %makeinstall_std -C build

  ViewVC Help
Powered by ViewVC 1.1.28