[521] | 1 | %bcond_with mp4v2 |
---|
| 2 | |
---|
| 3 | Name: gtkpod |
---|
[9330] | 4 | Version: 2.1.4 |
---|
[1571] | 5 | Release: 1%{?_dist_release} |
---|
[9330] | 6 | Summary: Graphical song management program for Apple's iPod |
---|
| 7 | Summary(ja): Apple の iPod 用のグラフィカルな楽曲管理ツール |
---|
| 8 | #' |
---|
| 9 | |
---|
[521] | 10 | Group: Applications/Multimedia |
---|
[9330] | 11 | # The help documentation is under GFDL, the rest of the code is GPLv2+ |
---|
| 12 | License: GPLv2+ and GFDL |
---|
| 13 | URL: http://www.gtkpod.org/ |
---|
[521] | 14 | |
---|
[9330] | 15 | Source0: %{name}-%{version}.tar.gz |
---|
| 16 | Source1: %{name}-2.1.4-ja.po |
---|
| 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | BuildRequires: anjuta-devel |
---|
| 20 | BuildRequires: brasero-devel |
---|
| 21 | BuildRequires: clutter-gtk-devel |
---|
| 22 | BuildRequires: curl-devel |
---|
| 23 | BuildRequires: desktop-file-utils |
---|
| 24 | BuildRequires: flac-devel >= 1.2.1 |
---|
| 25 | BuildRequires: flex |
---|
| 26 | BuildRequires: gettext |
---|
| 27 | BuildRequires: gstreamer-devel |
---|
| 28 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.25 |
---|
| 29 | BuildRequires: gtk3-devel |
---|
| 30 | BuildRequires: intltool |
---|
| 31 | BuildRequires: libgpod-devel |
---|
| 32 | BuildRequires: libid3tag-devel |
---|
| 33 | BuildRequires: libmusicbrainz3-devel |
---|
| 34 | BuildRequires: libvorbis-devel >= 1.3.1 |
---|
| 35 | BuildRequires: perl(XML::Parser) |
---|
| 36 | BuildRequires: pkgconfig |
---|
| 37 | BuildRequires: WebKit3-gtk-devel |
---|
[521] | 38 | %if %{with mp4v2} |
---|
[9330] | 39 | BuildRequires: self-build-libmp4v2 |
---|
[521] | 40 | %endif |
---|
| 41 | |
---|
[9330] | 42 | # some of the scripts in %%{_datadir}/%%{name}/scripts use which |
---|
| 43 | Requires: which |
---|
| 44 | Requires: hicolor-icon-theme |
---|
[521] | 45 | |
---|
[9330] | 46 | Vendor: Project Vine |
---|
| 47 | Distribution: Vine Linux |
---|
| 48 | |
---|
[521] | 49 | %description |
---|
[9330] | 50 | gtkpod is a platform independent Graphical User Interface for Apple's |
---|
| 51 | iPod using GTK3. It supports all current iPod models, including |
---|
| 52 | the Mini, Photo, Shuffle, Nano, Video, Classic, Touch, and iPhone. |
---|
[521] | 53 | |
---|
| 54 | %description -l ja |
---|
[9330] | 55 | gtkpodは、GTK3を利用したプラットフォームに依存しない Apple の iPod 用 GUI |
---|
| 56 | ツールです。 Mini, Photo, Shuffle, Nano, Video, Classic, Touch を含む |
---|
| 57 | iPod 及び iPhone に対応しています。 |
---|
[521] | 58 | |
---|
[9330] | 59 | #' |
---|
| 60 | %package devel |
---|
| 61 | Summary: Development files for the gtkpod |
---|
| 62 | Summary(ja): gtkpod の開発用ファイル |
---|
| 63 | Group: Development/Libraries |
---|
| 64 | Requires: %{name} = %{version}-%{release} |
---|
| 65 | |
---|
| 66 | %description devel |
---|
| 67 | The gtkpod-devel package contains libraries and header files for |
---|
| 68 | developing extensions for gtkpod. |
---|
| 69 | |
---|
[521] | 70 | %prep |
---|
| 71 | %setup -q |
---|
| 72 | cp -p %{SOURCE1} po/ja.po |
---|
| 73 | |
---|
| 74 | %build |
---|
| 75 | %configure \ |
---|
[9330] | 76 | --disable-static \ |
---|
| 77 | %{?!with_mp4v2: --without-mp4} |
---|
[521] | 78 | |
---|
[9330] | 79 | make %{?_smp_mflags} |
---|
[521] | 80 | |
---|
| 81 | %install |
---|
| 82 | rm -rf $RPM_BUILD_ROOT |
---|
[9330] | 83 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 84 | |
---|
[9330] | 85 | desktop-file-install \ |
---|
| 86 | --delete-original \ |
---|
| 87 | --dir %{buildroot}%{_datadir}/applications \ |
---|
| 88 | --add-category="Audio" \ |
---|
| 89 | --add-category="Video" \ |
---|
| 90 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
[521] | 91 | |
---|
[9330] | 92 | %find_lang %{name} |
---|
[521] | 93 | |
---|
[9330] | 94 | # delete libtool files |
---|
| 95 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
[521] | 96 | |
---|
[9330] | 97 | %clean |
---|
| 98 | rm -rf $RPM_BUILD_ROOT |
---|
| 99 | |
---|
[521] | 100 | %post |
---|
[9330] | 101 | /sbin/ldconfig |
---|
[521] | 102 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 103 | |
---|
| 104 | %postun |
---|
[9330] | 105 | /sbin/ldconfig |
---|
| 106 | if [ $1 -eq 0 ] ; then |
---|
| 107 | /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
[521] | 108 | fi |
---|
[9330] | 109 | if [ $1 -eq 0 ] ; then |
---|
| 110 | /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 111 | /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 112 | fi |
---|
[521] | 113 | |
---|
[9330] | 114 | %posttrans |
---|
| 115 | /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : |
---|
| 116 | /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
[521] | 117 | |
---|
[9330] | 118 | %files -f %{name}.lang |
---|
[521] | 119 | %defattr(-,root,root) |
---|
[9330] | 120 | %doc AUTHORS ChangeLog* COPYING README TODO TROUBLESHOOTING |
---|
[521] | 121 | %{_bindir}/gtkpod |
---|
[9330] | 122 | %{_libdir}/lib*.so.* |
---|
| 123 | %dir %{_libdir}/gtkpod |
---|
| 124 | %{_libdir}/gtkpod/*.plugin |
---|
| 125 | %{_libdir}/gtkpod/*.so |
---|
[521] | 126 | %{_datadir}/gtkpod |
---|
| 127 | %{_datadir}/applications/* |
---|
[9330] | 128 | %{_datadir}/glib-2.0/schemas/*.gschema.xml |
---|
[521] | 129 | %{_datadir}/icons/hicolor/* |
---|
[9330] | 130 | %{_mandir}/man1/%{name}* |
---|
[521] | 131 | |
---|
[9330] | 132 | %files devel |
---|
| 133 | %defattr(-,root,root) |
---|
| 134 | %{_includedir}/gtkpod |
---|
| 135 | %{_libdir}/lib*.so |
---|
| 136 | %{_libdir}/pkgconfig/*.pc |
---|
| 137 | |
---|
[521] | 138 | %changelog |
---|
[9330] | 139 | * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.4-1 |
---|
| 140 | - updated to 2.1.4 |
---|
| 141 | - updated SOURCE1 |
---|
| 142 | - added devel subpackage |
---|
| 143 | |
---|
| 144 | * Fri Feb 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-2 |
---|
| 145 | - rebuild with Vine6 environment |
---|
| 146 | |
---|
[1571] | 147 | * Sat Aug 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-1 |
---|
| 148 | - new upstream release |
---|
| 149 | - add BuildRequires: libglade2-devel |
---|
| 150 | - add Requires: desktop-file-utils |
---|
| 151 | |
---|
[521] | 152 | * Sat Jul 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-2 |
---|
| 153 | - build without libmp4v2 by default |
---|
| 154 | - add %%post/%%postun script to update desktop db and icon cache |
---|
| 155 | |
---|
| 156 | * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-1 |
---|
| 157 | - new upstream release |
---|
| 158 | - spec in utf-8 |
---|
| 159 | |
---|
| 160 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.12-1vl5 |
---|
| 161 | - applied new versioning policy |
---|
| 162 | - fixed Icon path of gtkpod.desktop |
---|
| 163 | |
---|
| 164 | * Sun Jan 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.99.12-0vl1 |
---|
| 165 | - new upstream release |
---|
| 166 | - dropt gtkpod-0.99.8_libgpod-0.4.2.diff |
---|
| 167 | - added icons in %%files section |
---|
| 168 | - rebuilt with libgpod-0.6.0 |
---|
| 169 | |
---|
| 170 | * Tue May 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.99.8-0vl3 |
---|
| 171 | - for VineSeedPlus |
---|
| 172 | - rebuilt with new toolchain and libgpod-0.4.2 |
---|
| 173 | - add Patch0 (derived from FC) |
---|
| 174 | |
---|
| 175 | * Sun Jan 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.8-0vl1 |
---|
| 176 | - new upstream release |
---|
| 177 | - added SOURCE1 |
---|
| 178 | - rebuilt with libgpod-devel 0.4.0 |
---|
| 179 | - moved gtkpod.desktop to %{_datadir}/applications <BTS:454> |
---|
| 180 | |
---|
| 181 | * Sun Jan 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.2-0vl2 |
---|
| 182 | - rebuilt for VineSeed Plus |
---|
| 183 | |
---|
| 184 | * Sun Jan 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.2-0vl1 |
---|
| 185 | - new upstream release |
---|
| 186 | |
---|
| 187 | * Fri Dec 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.0-0vl3 |
---|
| 188 | - rebuilt for VineSeed Plus |
---|
| 189 | |
---|
| 190 | * Fri Dec 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.0-0vl2 |
---|
| 191 | - rebuilt for VinePlus/3.0 |
---|
| 192 | - added BuildRequires: curl-devel, flex |
---|
| 193 | |
---|
| 194 | * Wed Dec 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.0-0vl1 |
---|
| 195 | - new upstream release. |
---|
| 196 | - add BuildRequires: libgpod-devel |
---|
| 197 | |
---|
| 198 | * Tue Aug 16 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.94.0-0vl1 |
---|
| 199 | -new upstream release. |
---|
| 200 | |
---|
| 201 | * Mon Jun 16 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.8.22-0vl3 |
---|
| 202 | -A revision %description -l ja |
---|
| 203 | -A revision %files |
---|
| 204 | -add %doc |
---|
| 205 | |
---|
| 206 | * Thu Jun 2 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.8.22-0vl2 |
---|
| 207 | -add macro |
---|
| 208 | -add BuildRequires |
---|
| 209 | |
---|
| 210 | * Tue May 17 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.8.22-0vl1 |
---|
| 211 | First release. |
---|
| 212 | |
---|
| 213 | - initial build for Vine Linux |
---|
| 214 | |
---|
| 215 | # end of file |
---|