gtkpod-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. Name: gtkpod
  2. Version: 2.1.4
  3. Release: 2%{?_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: gstreamer-devel
  23. BuildRequires: gstreamer-plugins-base-devel >= 0.10.25
  24. BuildRequires: gtk3-devel
  25. BuildRequires: intltool
  26. BuildRequires: libgpod-devel
  27. BuildRequires: libid3tag-devel
  28. BuildRequires: libmusicbrainz3-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. * Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.4-2
  111. - rebuilt with libimobiledevice 1.2.0 and libplist 1.12
  112. * Wed Feb 4 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.1.4-1
  113. - updated to 2.1.4
  114. - updated SOURCE1
  115. - added devel subpackage
  116. * Fri Feb 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-2
  117. - rebuild with Vine6 environment
  118. * Sat Aug 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.16-1
  119. - new upstream release
  120. - add BuildRequires: libglade2-devel
  121. - add Requires: desktop-file-utils
  122. * Sat Jul 11 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-2
  123. - build without libmp4v2 by default
  124. - add %%post/%%postun script to update desktop db and icon cache
  125. * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.99.14-1
  126. - new upstream release
  127. - spec in utf-8
  128. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.12-1vl5
  129. - applied new versioning policy
  130. - fixed Icon path of gtkpod.desktop
  131. * Sun Jan 06 2008 Shu KONNO <owa@bg.wakwak.com> 0.99.12-0vl1
  132. - new upstream release
  133. - dropt gtkpod-0.99.8_libgpod-0.4.2.diff
  134. - added icons in %%files section
  135. - rebuilt with libgpod-0.6.0
  136. * Tue May 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.99.8-0vl3
  137. - for VineSeedPlus
  138. - rebuilt with new toolchain and libgpod-0.4.2
  139. - add Patch0 (derived from FC)
  140. * Sun Jan 7 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.8-0vl1
  141. - new upstream release
  142. - added SOURCE1
  143. - rebuilt with libgpod-devel 0.4.0
  144. - moved gtkpod.desktop to %{_datadir}/applications <BTS:454>
  145. * Sun Jan 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.2-0vl2
  146. - rebuilt for VineSeed Plus
  147. * Sun Jan 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.2-0vl1
  148. - new upstream release
  149. * Fri Dec 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.0-0vl3
  150. - rebuilt for VineSeed Plus
  151. * Fri Dec 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.0-0vl2
  152. - rebuilt for VinePlus/3.0
  153. - added BuildRequires: curl-devel, flex
  154. * Wed Dec 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.99.0-0vl1
  155. - new upstream release.
  156. - add BuildRequires: libgpod-devel
  157. * Tue Aug 16 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.94.0-0vl1
  158. -new upstream release.
  159. * Mon Jun 16 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.8.22-0vl3
  160. -A revision %description -l ja
  161. -A revision %files
  162. -add %doc
  163. * Thu Jun 2 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.8.22-0vl2
  164. -add macro
  165. -add BuildRequires
  166. * Tue May 17 2005 TOSHI <toshi-52@s5.dion.ne.jp> 0.8.22-0vl1
  167. First release.
  168. - initial build for Vine Linux
  169. # end of file