|
@@ -1,17 +1,20 @@
|
|
%define with_mono 1
|
|
%define with_mono 1
|
|
|
|
|
|
-Summary: Library to access the iPod
|
|
+Summary: Library to access the iPod
|
|
-Summary(ja): iPod にアクセスするためのライブラリ
|
|
+Summary(ja): iPod にアクセスするためのライブラリ
|
|
-Name: libgpod
|
|
+Name: libgpod
|
|
-Version: 0.8.3
|
|
+Version: 0.8.3
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 4%{?_dist_release}
|
|
-Group: System Environment/Libraries
|
|
+Group: System Environment/Libraries
|
|
-License: LGPLv2+
|
|
+License: LGPLv2+
|
|
-URL: http://www.gtkpod.org/libgpod.html
|
|
+URL: http://www.gtkpod.org/libgpod.html
|
|
-
|
|
+
|
|
-Source: %{name}-%{version}.tar.bz2
|
|
+Source0: %{name}-%{version}.tar.bz2
|
|
-
|
|
+
|
|
-Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
+# Vine Patch
|
|
|
|
+Patch100: %{name}-0.8.3-python-uncomment.patch
|
|
|
|
+
|
|
|
|
+Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRequires: docbook-style-xsl
|
|
BuildRequires: docbook-style-xsl
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: gtk2-devel
|
|
@@ -36,11 +39,11 @@ BuildRequires: mono-devel
|
|
BuildRequires: gtk-sharp2-devel
|
|
BuildRequires: gtk-sharp2-devel
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-Requires: udev
|
|
+Requires: udev
|
|
|
|
|
|
-Vendor: Project Vine
|
|
+Vendor: Project Vine
|
|
-Distribution: Vine Linux
|
|
+Distribution: Vine Linux
|
|
-Packager: daisuke
|
|
+Packager: daisuke
|
|
|
|
|
|
%description
|
|
%description
|
|
libgpod is a library meant to abstract access to an iPod content. It
|
|
libgpod is a library meant to abstract access to an iPod content. It
|
|
@@ -53,54 +56,49 @@ iPod に格納されているファイルリストやプレイリストを取得
|
|
iPod に書き戻すための API が提供されています。
|
|
iPod に書き戻すための API が提供されています。
|
|
|
|
|
|
%package devel
|
|
%package devel
|
|
-Summary: Support files necessary to compile applications with libgpod.
|
|
+Summary: Support files necessary to compile applications with libgpod.
|
|
Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル.
|
|
Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル.
|
|
-Group: Development/Libraries
|
|
+Group: Development/Libraries
|
|
-Requires: libgpod = %{version}-%{release}
|
|
+Requires: libgpod = %{version}-%{release}
|
|
-Requires: glib2-devel
|
|
+Requires: glib2-devel
|
|
-Requires: gtk2-devel
|
|
+Requires: gtk2-devel
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
-Libraries, headers, and support files necessary to compile applications
|
|
+Libraries, headers, and support files necessary to compile applications using libgpod.
|
|
-using libgpod.
|
|
|
|
|
|
|
|
%description -l ja devel
|
|
%description -l ja devel
|
|
-libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,
|
|
+libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,ヘッダファイルなどが含まれています.
|
|
-ヘッダファイルなどが含まれています.
|
|
|
|
|
|
|
|
%package -n python-gpod
|
|
%package -n python-gpod
|
|
-Summary: Python module to access iPod content
|
|
+Summary: Python module to access iPod content
|
|
Summary(ja): iPod にアクセスするための Python モジュール
|
|
Summary(ja): iPod にアクセスするための Python モジュール
|
|
-Group: Development/Libraries
|
|
+Group: Development/Libraries
|
|
-Requires: %{name} = %{version}-%{release}
|
|
+Requires: %{name} = %{version}-%{release}
|
|
-Requires: python-mutagen
|
|
+Requires: python-mutagen
|
|
|
|
|
|
%description -n python-gpod
|
|
%description -n python-gpod
|
|
-A python module to access iPod content. This module provides bindings
|
|
+A python module to access iPod content. This module provides bindings to the libgpod library.
|
|
-to the libgpod library.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with_mono}
|
|
%if %{with_mono}
|
|
%package sharp
|
|
%package sharp
|
|
-Summary: C#/.NET library to access iPod content
|
|
+Summary: C#/.NET library to access iPod content
|
|
Summary(ja): iPod にアクセスするための C#/.NET ライブラリ
|
|
Summary(ja): iPod にアクセスするための C#/.NET ライブラリ
|
|
-Group: System Environment/Libraries
|
|
+Group: System Environment/Libraries
|
|
-Requires: %{name} = %{version}-%{release}
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description sharp
|
|
%description sharp
|
|
-C#/.NET library to access iPod content. Provides bindings to the libgpod
|
|
+C#/.NET library to access iPod content. Provides bindings to the libgpod library.
|
|
-library.
|
|
|
|
|
|
|
|
%package sharp-devel
|
|
%package sharp-devel
|
|
-Summary: Development files for libgpod-sharp
|
|
+Summary: Development files for libgpod-sharp
|
|
Summary(ja): libgpod-sharp の開発用ファイル
|
|
Summary(ja): libgpod-sharp の開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: Development/Libraries
|
|
-Requires: %{name}-sharp = %{version}-%{release}
|
|
+Requires: %{name}-sharp = %{version}-%{release}
|
|
-Requires: pkgconfig
|
|
+Requires: pkgconfig
|
|
|
|
|
|
%description sharp-devel
|
|
%description sharp-devel
|
|
-C#/.NET library to access iPod content. Provides bindings to the libgpod
|
|
+C#/.NET library to access iPod content. Provides bindings to the libgpod library.
|
|
-library.
|
|
|
|
|
|
|
|
This package contains the files required to develop programs that will use
|
|
This package contains the files required to develop programs that will use
|
|
libgpod-sharp.
|
|
libgpod-sharp.
|
|
@@ -109,14 +107,15 @@ libgpod-sharp.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch100 -p1 -b .uncomment
|
|
|
|
|
|
chmod -x bindings/python/examples/*.py
|
|
chmod -x bindings/python/examples/*.py
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
- --without-hal \
|
|
+ --without-hal \
|
|
- --enable-udev \
|
|
+ --enable-udev \
|
|
- --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
|
+ --with-temp-mount-dir=%{_localstatedir}/run/%{name}
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
@@ -149,7 +148,7 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
%files devel
|
|
%files devel
|
|
%defattr(-, root, root, 0755)
|
|
%defattr(-, root, root, 0755)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
-%{_libdir}/pkgconfig/*.pc
|
|
+%{_libdir}/pkgconfig/%{name}-1.0.pc
|
|
%{_includedir}/gpod-1.0/
|
|
%{_includedir}/gpod-1.0/
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
%{_datadir}/gtk-doc/html/%{name}
|
|
|
|
|
|
@@ -170,6 +169,10 @@ if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Mar 8 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-4
|
|
|
|
+- added patch100 to build swig 3.0.5
|
|
|
|
+- moved %%{_libdir}/pkgconfig/libgpod-sharp.pc to sharp subpackage
|
|
|
|
+
|
|
* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-3
|
|
* Wed Nov 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.8.3-3
|
|
- moved sharp subpackage to System Environment/Libraries Group
|
|
- moved sharp subpackage to System Environment/Libraries Group
|
|
- moved sharp-devel subpackage to Development/Libraries Group
|
|
- moved sharp-devel subpackage to Development/Libraries Group
|