/[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 279837 by remmy, Sat Apr 21 12:06:01 2012 UTC revision 279838 by wally, Tue Aug 7 19:38:54 2012 UTC
# Line 1  Line 1 
 %define build_hal       0  
1  %bcond_without python  %bcond_without python
2  %bcond_without sharp  %bcond_without sharp
3    
# Line 10  Line 9 
9  Summary:        Library to access an iPod audio player  Summary:        Library to access an iPod audio player
10  Name:           libgpod  Name:           libgpod
11  Version:        0.8.2  Version:        0.8.2
12  Release:        %mkrel 2  Release:        %mkrel 3
13  Source0:        http://prdownloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2  Source0:        http://prdownloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
14  License:        LGPLv2+  License:        LGPLv2+
15  Group:          System/Libraries  Group:          System/Libraries
# Line 19  BuildRequires: gtk+2-devel Line 18  BuildRequires: gtk+2-devel
18  BuildRequires:  udev-devel  BuildRequires:  udev-devel
19  BuildRequires:  dbus-glib-devel  BuildRequires:  dbus-glib-devel
20    
 %if %{build_hal}  
 BuildRequires:  hal-devel  
 %endif  
   
21  BuildRequires:  libsgutils-devel  BuildRequires:  libsgutils-devel
22  BuildRequires:  taglib-devel  BuildRequires:  taglib-devel
23  BuildRequires:  libxml2-devel  BuildRequires:  libxml2-devel
# Line 104  This is a Mono binding for libgpod. Line 99  This is a Mono binding for libgpod.
99    
100  %build  %build
101  %configure2_5x \  %configure2_5x \
         --enable-gtk-doc \  
102          --disable-static \          --disable-static \
103          --enable-udev \          --enable-udev \
 %if !%{build_hal}  
104          --without-hal          --without-hal
 %endif  
105    
106  %make  %make
107    
108  %install  %install
 rm -rf %{buildroot}  
109  %makeinstall_std  %makeinstall_std
110    
111  #we don't want these  #we don't want these
112  find %{buildroot} -name "*.la" -delete  find %{buildroot} -name "*.la" -delete
113    
114  %if !%{with sharp}  %if !%{with sharp}
115  rm -f %{buildroot}/%{_libdir}/pkgconfig/%{name}-sharp.pc  rm -f %{buildroot}/%{_libdir}/pkgconfig/%{name}-sharp.pc
116  %endif  %endif
# Line 132  rm -f %{buildroot}/%{_libdir}/pkgconfig/ Line 124  rm -f %{buildroot}/%{_libdir}/pkgconfig/
124  /lib/udev/ipod-set-info  /lib/udev/ipod-set-info
125  /lib/udev/rules.d/90-libgpod.rules  /lib/udev/rules.d/90-libgpod.rules
126    
 %if %build_hal  
 %{_libdir}/hal/scripts/*  
 %{_datadir}/hal/fdi/policy/20thirdparty/*  
 %endif  
   
127  %files -n %{libname}  %files -n %{libname}
128  %{_libdir}/%{name}.so.%{major}*  %{_libdir}/%{name}.so.%{major}*
129    

Legend:
Removed from v.279837  
changed lines
  Added in v.279838

  ViewVC Help
Powered by ViewVC 1.1.28