gtkpod-vl.spec 6.0 KB

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