|
@@ -1,37 +1,71 @@
|
|
%bcond_with mp4v2
|
|
%bcond_with mp4v2
|
|
|
|
|
|
-Summary: GUI tool for Apple's iPod
|
|
|
|
-Summary(ja): アップルのiPod用GUIツール
|
|
|
|
Name: gtkpod
|
|
Name: gtkpod
|
|
-Version: 0.99.16
|
|
|
|
|
|
+Version: 2.1.4
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Source0: %{name}-%{version}.tar.gz
|
|
|
|
-Source1: %{name}-0.99.8-ja.po
|
|
|
|
-License: GPL
|
|
|
|
|
|
+Summary: Graphical song management program for Apple's iPod
|
|
|
|
+Summary(ja): Apple の iPod 用のグラフィカルな楽曲管理ツール
|
|
|
|
+#'
|
|
|
|
+
|
|
Group: Applications/Multimedia
|
|
Group: Applications/Multimedia
|
|
-URL: http://gtkpod.sourceforge.net/
|
|
|
|
|
|
+# The help documentation is under GFDL, the rest of the code is GPLv2+
|
|
|
|
+License: GPLv2+ and GFDL
|
|
|
|
+URL: http://www.gtkpod.org/
|
|
|
|
+
|
|
|
|
+Source0: %{name}-%{version}.tar.gz
|
|
|
|
+Source1: %{name}-2.1.4-ja.po
|
|
|
|
|
|
-Requires: desktop-file-utils
|
|
|
|
-BuildRequires: gtk2-devel, libid3tag-devel, libgpod-devel, curl-devel
|
|
|
|
-BuildRequires: gettext-devel, flex
|
|
|
|
-BuildRequires: libglade2-devel
|
|
|
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: anjuta-devel
|
|
|
|
+BuildRequires: brasero-devel
|
|
|
|
+BuildRequires: clutter-gtk-devel
|
|
|
|
+BuildRequires: curl-devel
|
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
|
+BuildRequires: flac-devel >= 1.2.1
|
|
|
|
+BuildRequires: flex
|
|
|
|
+BuildRequires: gettext
|
|
|
|
+BuildRequires: gstreamer-devel
|
|
|
|
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.25
|
|
|
|
+BuildRequires: gtk3-devel
|
|
|
|
+BuildRequires: intltool
|
|
|
|
+BuildRequires: libgpod-devel
|
|
|
|
+BuildRequires: libid3tag-devel
|
|
|
|
+BuildRequires: libmusicbrainz3-devel
|
|
|
|
+BuildRequires: libvorbis-devel >= 1.3.1
|
|
|
|
+BuildRequires: perl(XML::Parser)
|
|
|
|
+BuildRequires: pkgconfig
|
|
|
|
+BuildRequires: WebKit3-gtk-devel
|
|
%if %{with mp4v2}
|
|
%if %{with mp4v2}
|
|
-BuildRequires: self-build-libmp4v2}
|
|
|
|
|
|
+BuildRequires: self-build-libmp4v2
|
|
%endif
|
|
%endif
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
|
|
+# some of the scripts in %%{_datadir}/%%{name}/scripts use which
|
|
|
|
+Requires: which
|
|
|
|
+Requires: hicolor-icon-theme
|
|
|
|
+
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
%description
|
|
%description
|
|
-gtkpod is a platform independent GUI tool for Apple's iPod using GTK2.
|
|
|
|
-It supports the first to fourth Generation as well as the iPod mini,
|
|
|
|
-iPod Photo, iPod shuffle and iPod Video.
|
|
|
|
|
|
+gtkpod is a platform independent Graphical User Interface for Apple's
|
|
|
|
+iPod using GTK3. It supports all current iPod models, including
|
|
|
|
+the Mini, Photo, Shuffle, Nano, Video, Classic, Touch, and iPhone.
|
|
|
|
|
|
%description -l ja
|
|
%description -l ja
|
|
-gtkpodは、GTK2を利用したプラットフォームに依存しないアップルの iPod 用
|
|
|
|
-GUIツールです。初代 iPod 〜第四世代の iPod、及び iPod(mini、Photo、
|
|
|
|
-shuffle、Video)に対応しています。
|
|
|
|
|
|
+gtkpodは、GTK3を利用したプラットフォームに依存しない Apple の iPod 用 GUI
|
|
|
|
+ツールです。 Mini, Photo, Shuffle, Nano, Video, Classic, Touch を含む
|
|
|
|
+iPod 及び iPhone に対応しています。
|
|
|
|
+
|
|
|
|
+#'
|
|
|
|
+%package devel
|
|
|
|
+Summary: Development files for the gtkpod
|
|
|
|
+Summary(ja): gtkpod の開発用ファイル
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description devel
|
|
|
|
+The gtkpod-devel package contains libraries and header files for
|
|
|
|
+developing extensions for gtkpod.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -39,64 +73,77 @@ cp -p %{SOURCE1} po/ja.po
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
-%{?!with_mp4v2: --without-mp4v2}
|
|
|
|
|
|
+ --disable-static \
|
|
|
|
+%{?!with_mp4v2: --without-mp4}
|
|
|
|
|
|
-make
|
|
|
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-%makeinstall
|
|
|
|
-
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
|
-cat > $RPM_BUILD_ROOT%{_datadir}/applications/gtkpod.desktop << EOF
|
|
|
|
-[Desktop Entry]
|
|
|
|
-Name=gtkpod
|
|
|
|
-Comment=GUI tool for Apple's iPod
|
|
|
|
-Comment[ja]=アップルのiPod用GUIツール
|
|
|
|
-Icon=gtkpod
|
|
|
|
-Exec=gtkpod
|
|
|
|
-Type=Application
|
|
|
|
-Categories=Application;GTK;AudioVideo;
|
|
|
|
-Terminal=0
|
|
|
|
-EOF
|
|
|
|
-
|
|
|
|
-#mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
|
-#pushd $RPM_BUILD_ROOT%{_datadir}/pixmaps
|
|
|
|
-#ln -s ../gtkpod/pixmaps/gtkpod-icon-32.png .
|
|
|
|
-#popd
|
|
|
|
-
|
|
|
|
-# remove unused file
|
|
|
|
-rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
|
|
|
|
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+
|
|
|
|
+desktop-file-install \
|
|
|
|
+ --delete-original \
|
|
|
|
+ --dir %{buildroot}%{_datadir}/applications \
|
|
|
|
+ --add-category="Audio" \
|
|
|
|
+ --add-category="Video" \
|
|
|
|
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
+
|
|
|
|
+%find_lang %{name}
|
|
|
|
+
|
|
|
|
+# delete libtool files
|
|
|
|
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
+
|
|
|
|
+%clean
|
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
%post
|
|
-update-desktop-database -q ||:
|
|
|
|
|
|
+/sbin/ldconfig
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
|
|
-fi
|
|
|
|
|
|
|
|
%postun
|
|
%postun
|
|
-update-desktop-database -q ||:
|
|
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
-if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
|
|
|
|
|
|
+/sbin/ldconfig
|
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
|
+ /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
+fi
|
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
|
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
fi
|
|
fi
|
|
|
|
|
|
-%clean
|
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
+%posttrans
|
|
|
|
+/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
-%files
|
|
|
|
|
|
+%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc AUTHORS TODOandBUGS.txt COPYING ChangeLog INSTALL NEWS README
|
|
|
|
|
|
+%doc AUTHORS ChangeLog* COPYING README TODO TROUBLESHOOTING
|
|
%{_bindir}/gtkpod
|
|
%{_bindir}/gtkpod
|
|
|
|
+%{_libdir}/lib*.so.*
|
|
|
|
+%dir %{_libdir}/gtkpod
|
|
|
|
+%{_libdir}/gtkpod/*.plugin
|
|
|
|
+%{_libdir}/gtkpod/*.so
|
|
%{_datadir}/gtkpod
|
|
%{_datadir}/gtkpod
|
|
-%{_localedir}/*/*/gtkpod.mo
|
|
|
|
-#{_sysconfdir}/X11/applnk/Multimedia/gtkpod.desktop
|
|
|
|
-#{_datadir}/pixmaps/*
|
|
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/applications/*
|
|
|
|
+%{_datadir}/glib-2.0/schemas/*.gschema.xml
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_datadir}/icons/hicolor/*
|
|
|
|
+%{_mandir}/man1/%{name}*
|
|
|
|
+
|
|
|
|
+%files devel
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_includedir}/gtkpod
|
|
|
|
+%{_libdir}/lib*.so
|
|
|
|
+%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.4-1
|
|
|
|
+- updated to 2.1.4
|
|
|
|
+- updated SOURCE1
|
|
|
|
+- added devel subpackage
|
|
|
|
+
|
|
|
|
+* Fri Feb 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-2
|
|
|
|
+- rebuild with Vine6 environment
|
|
|
|
+
|
|
* Sat Aug 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-1
|
|
* Sat Aug 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- add BuildRequires: libglade2-devel
|
|
- add BuildRequires: libglade2-devel
|