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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 197801 by mikala, Sat Jan 15 17:25:25 2011 UTC revision 197802 by mikala, Wed Jan 18 10:17:53 2012 UTC
# Line 1  Line 1 
 %define unstable 1  
 %{?_unstable: %{expand: %%global unstable 1}}  
   
 %define branch 1  
 %{?_branch: %{expand: %%global branch 1}}  
   
 %if %{unstable}  
 %define dont_strip 1  
 %endif  
   
1  Name:    qimageblitz  Name:    qimageblitz
2  Version: 0.0.6  Version: 0.0.6
3  Release: %mkrel 3  Release: %mkrel 3
4  Epoch:   1  Epoch:   1
5  Summary: Graphics manipulation library  Summary: Graphics manipulation library
6  License: GPL  License: GPL
7  Group:   Development/KDE and Qt  Group:   Graphics
8  Source:  %name-%version.tar.bz2  Url:     http://www.kde.org
9    Source:  ftp.kde.org:/pub/kde/stable/qimageblitz/%name-%version.tar.bz2
10  BuildRequires: cmake >= 2.4.5  BuildRequires: cmake >= 2.4.5
11  BuildRequires: qt4-devel >= 4.3.0  BuildRequires: qt4-devel >= 4.3.0
12  BuildRequires: pkgconfig  
 Obsoletes: blitz  
13    
14  %description  %description
15  Blitz is a graphics manipulation library.  Qimageblitz is a graphics manipulation library.
16    
17  %files  %files
 %defattr(-,root,root)  
18  %_bindir/blitztest  %_bindir/blitztest
19    
20  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 34  Blitz is a graphics manipulation library Line 23  Blitz is a graphics manipulation library
23  %define libblitz %mklibname qimageblitz %{libblitz_major}  %define libblitz %mklibname qimageblitz %{libblitz_major}
24    
25  %package -n %libblitz  %package -n %libblitz
26  Summary: Blitz library  Summary: Qimageblitz runtime library
27  Group: System/Libraries  Group: System/Libraries
 Obsoletes: %{_lib}blitz4  
28    
29  %description -n %libblitz  %description -n %libblitz
30  Blitz library.  Qimageblitz runtime library.
31    
32    
33  %files -n %libblitz  %files -n %libblitz
 %defattr(-,root,root)  
34  %{_libdir}/*.so.%{libblitz_major}*  %{_libdir}/*.so.%{libblitz_major}*
35    
36  #--------------------------------------------------------------------  #--------------------------------------------------------------------
# Line 51  Blitz library. Line 38  Blitz library.
38  %define libblitzdev %mklibname -d qimageblitz  %define libblitzdev %mklibname -d qimageblitz
39    
40  %package -n %libblitzdev  %package -n %libblitzdev
 Requires: %libblitz  
41  Summary: Development files for %name  Summary: Development files for %name
42  Group: Development/KDE and Qt  Group: Development/KDE and Qt
43  Requires: %libblitz = %epoch:%version-%release  Requires: %libblitz = %epoch:%version-%release
44  Provides: lib%name-devel = %epoch:%version-%release  Provides: lib%name-devel = %epoch:%version-%release
45  Provides: %name-devel = %epoch:%version-%release  Provides: %name-devel = %epoch:%version-%release
 Obsoletes: %{_lib}blitz-devel  
46    
47  %description -n %libblitzdev  %description -n %libblitzdev
48  Development files for %name.  Development files for %name.
49    
50  %files -n %libblitzdev  %files -n %libblitzdev
 %defattr(-,root,root)  
51  %_libdir/*.so  %_libdir/*.so
52  %_includedir/qimageblitz  %_includedir/qimageblitz
53  %_libdir/pkgconfig/*  %_libdir/pkgconfig/*
# Line 83  Development files for %name. Line 67  Development files for %name.
67  %install  %install
68  rm -fr %buildroot  rm -fr %buildroot
69  %makeinstall_std -C build  %makeinstall_std -C build
   
 %clean  
 rm -fr %buildroot  

Legend:
Removed from v.197801  
changed lines
  Added in v.197802

  ViewVC Help
Powered by ViewVC 1.1.28