source: projects/specs/trunk/g/gtkpod/gtkpod-vl.spec @ 9614

Revision 9614, 6.0 KB checked in by inagaki, 9 years ago (diff)

2015-06-19 Ryoichi INAGAKI <ryo1@…>

  • gtkpod: updated


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