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

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

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

revision 232281 by wally, Sun Aug 21 11:44:23 2011 UTC revision 232282 by remmy, Sat Apr 21 12:06:01 2012 UTC
# Line 1  Line 1 
1  %define build_hal       0  %define build_hal       0
2    %bcond_without python
3    %bcond_without sharp
4    
5  %define major           4  %define major           4
6  %define libname         %mklibname gpod %{major}  %define libname         %mklibname gpod %{major}
# Line 8  Line 10 
10  Summary:        Library to access an iPod audio player  Summary:        Library to access an iPod audio player
11  Name:           libgpod  Name:           libgpod
12  Version:        0.8.2  Version:        0.8.2
13  Release:        %mkrel 1  Release:        %mkrel 2
14  Source0:        http://prdownloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2  Source0:        http://prdownloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
15  License:        LGPLv2+  License:        LGPLv2+
16  Group:          System/Libraries  Group:          System/Libraries
# Line 51  stored on an iPod, to modify them and to Line 53  stored on an iPod, to modify them and to
53  Group:          Development/C  Group:          Development/C
54  Summary:        Library to access an iPod audio player  Summary:        Library to access an iPod audio player
55  Requires:       %{libname} = %{version}-%{release}  Requires:       %{libname} = %{version}-%{release}
56  Requires:       %{name}-sharp = %{version}-%{release}  Suggests:       %{name}-sharp = %{version}-%{release}
57  Provides:       %{name}-devel = %{version}-%{release}  Provides:       %{name}-devel = %{version}-%{release}
58  Obsoletes:      %mklibname -d gpod 2  Obsoletes:      %mklibname -d gpod 2
59    
# Line 60  libgpod is a library meant to abstract a Line 62  libgpod is a library meant to abstract a
62  provides an easy to use API to retrieve the list of files and playlist  provides an easy to use API to retrieve the list of files and playlist
63  stored on an iPod, to modify them and to save them back to the iPod.  stored on an iPod, to modify them and to save them back to the iPod.
64    
65    %if %{with python}
66  %package -n python-gpod  %package -n python-gpod
67  Group:          Development/Python  Group:          Development/Python
68  Summary:        Python module for iPod access  Summary:        Python module for iPod access
# Line 76  provides an easy to use API to retrieve Line 79  provides an easy to use API to retrieve
79  stored on an iPod, to modify them and to save them back to the iPod.  stored on an iPod, to modify them and to save them back to the iPod.
80    
81  This is a Python binding for libgpod.  This is a Python binding for libgpod.
82    %endif
83    
84    %if %{with sharp}
85  %package sharp  %package sharp
86  Group:          Development/Other  Group:          Development/Other
87  Summary:        Mono binding to libgpod for iPod access  Summary:        Mono binding to libgpod for iPod access
# Line 91  provides an easy to use API to retrieve Line 96  provides an easy to use API to retrieve
96  stored on an iPod, to modify them and to save them back to the iPod.  stored on an iPod, to modify them and to save them back to the iPod.
97    
98  This is a Mono binding for libgpod.  This is a Mono binding for libgpod.
99    %endif
100    
101  %prep  %prep
102  %setup -q  %setup -q
# Line 113  rm -rf %{buildroot} Line 119  rm -rf %{buildroot}
119    
120  #we don't want these  #we don't want these
121  find %{buildroot} -name "*.la" -delete  find %{buildroot} -name "*.la" -delete
122    %if !%{with sharp}
123    rm -f %{buildroot}/%{_libdir}/pkgconfig/%{name}-sharp.pc
124    %endif
125    
126  %find_lang %{name}  %find_lang %{name}
127    
# Line 139  find %{buildroot} -name "*.la" -delete Line 148  find %{buildroot} -name "*.la" -delete
148  %{_libdir}/pkgconfig/%{name}-sharp.pc  %{_libdir}/pkgconfig/%{name}-sharp.pc
149  %{_includedir}/gpod-%{api}/  %{_includedir}/gpod-%{api}/
150    
151    %if %{with python}
152  %files -n python-gpod  %files -n python-gpod
153  %{py_platsitedir}/gpod/  %{py_platsitedir}/gpod/
154    %endif
155    
156    %if %{with sharp}
157  %files sharp  %files sharp
158    %{_libdir}/pkgconfig/%{name}-sharp.pc
159  %dir %{_libdir}/%{name}  %dir %{_libdir}/%{name}
160  %{_libdir}/%{name}/%{name}-sharp*  %{_libdir}/%{name}/%{name}-sharp*
161    %endif

Legend:
Removed from v.232281  
changed lines
  Added in v.232282

  ViewVC Help
Powered by ViewVC 1.1.30