1 |
%bcond_without python |
%bcond_without python |
2 |
|
%ifnarch %arm %mips |
3 |
%bcond_without sharp |
%bcond_without sharp |
4 |
|
%endif |
5 |
|
|
6 |
%define major 4 |
%define major 4 |
7 |
%define libname %mklibname gpod %{major} |
%define libname %mklibname gpod %{major} |
11 |
Summary: Library to access an iPod audio player |
Summary: Library to access an iPod audio player |
12 |
Name: libgpod |
Name: libgpod |
13 |
Version: 0.8.2 |
Version: 0.8.2 |
14 |
Release: %mkrel 4 |
Release: %mkrel 5 |
15 |
Source0: http://prdownloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2 |
Source0: http://prdownloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2 |
16 |
License: LGPLv2+ |
License: LGPLv2+ |
17 |
Group: System/Libraries |
Group: System/Libraries |
50 |
Group: Development/C |
Group: Development/C |
51 |
Summary: Library to access an iPod audio player |
Summary: Library to access an iPod audio player |
52 |
Requires: %{libname} = %{version}-%{release} |
Requires: %{libname} = %{version}-%{release} |
53 |
|
%if %{with sharp} |
54 |
Suggests: %{name}-sharp = %{version}-%{release} |
Suggests: %{name}-sharp = %{version}-%{release} |
55 |
|
%endif |
56 |
Provides: %{name}-devel = %{version}-%{release} |
Provides: %{name}-devel = %{version}-%{release} |
57 |
Obsoletes: %mklibname -d gpod 2 |
Obsoletes: %mklibname -d gpod 2 |
58 |
|
|
136 |
%doc %{_datadir}/gtk-doc/html/%{name} |
%doc %{_datadir}/gtk-doc/html/%{name} |
137 |
%{_libdir}/%{name}.so |
%{_libdir}/%{name}.so |
138 |
%{_libdir}/pkgconfig/%{name}-%{api}.pc |
%{_libdir}/pkgconfig/%{name}-%{api}.pc |
139 |
|
%if %{with sharp} |
140 |
%{_libdir}/pkgconfig/%{name}-sharp.pc |
%{_libdir}/pkgconfig/%{name}-sharp.pc |
141 |
|
%endif |
142 |
%{_includedir}/gpod-%{api}/ |
%{_includedir}/gpod-%{api}/ |
143 |
|
|
144 |
%if %{with python} |
%if %{with python} |