libgpod-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. Summary: Library to access the iPod
  2. Summary(ja): iPod にアクセスするためのライブラリ
  3. Name: libgpod
  4. Version: 0.8.0
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.gtkpod.org/libgpod.html
  9. Source: %{name}-%{version}.tar.gz
  10. Patch0: libgpod-0.8.0-x86-32.patch
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: docbook-style-xsl
  13. BuildRequires: glib2-devel
  14. BuildRequires: gtk2-devel
  15. BuildRequires: gettext
  16. BuildRequires: intltool
  17. BuildRequires: libimobiledevice-devel >= 1.0.2
  18. BuildRequires: libplist-devel >= 1.0
  19. BuildRequires: libusb1-devel
  20. BuildRequires: libxml2-devel
  21. BuildRequires: libxslt
  22. BuildRequires: libffi-devel
  23. BuildRequires: perl(XML::Parser)
  24. BuildRequires: pygobject-devel
  25. BuildRequires: python-devel
  26. BuildRequires: python-mutagen
  27. BuildRequires: sg3_utils-devel
  28. BuildRequires: sqlite3-devel
  29. BuildRequires: swig
  30. Requires: udev
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: daisuke
  34. %description
  35. libgpod is a library meant to abstract access to an iPod content. It
  36. provides an easy to use API to retrieve the list of files and playlist
  37. stored on an iPod, to modify them and to save them back to the iPod.
  38. %description -l ja
  39. libgpod は iPod のコンテンツにアクセスするためのライブラリです。
  40. iPod に格納されているファイルリストやプレイリストを取得し、変更し、
  41. iPod に書き戻すための API が提供されています。
  42. %package devel
  43. Summary: Support files necessary to compile applications with libgpod.
  44. Summary(ja): libgpod を使うアプリケーションのコンパイルに必要なファイル.
  45. Group: Development/Libraries
  46. Requires: libgpod = %{version}-%{release}
  47. Requires: glib2-devel
  48. Requires: gtk2-devel
  49. %description devel
  50. Libraries, headers, and support files necessary to compile applications
  51. using libgpod.
  52. %description -l ja devel
  53. libgpod を使ったアプリケーションのコンパイルに必要なライブラリ,
  54. ヘッダファイルなどが含まれています.
  55. %package -n python-gpod
  56. Summary: Python module to access iPod content
  57. Group: Development/Languages
  58. Requires: %{name} = %{version}-%{release}
  59. Requires: python-mutagen
  60. %description -n python-gpod
  61. A python module to access iPod content. This module provides bindings
  62. to the libgpod library.
  63. %prep
  64. %setup -q
  65. %patch0 -p1 -b .x86-32
  66. chmod -x bindings/python/examples/*.py
  67. %build
  68. %configure \
  69. --without-hal \
  70. --enable-udev \
  71. --with-temp-mount-dir=%{_localstatedir}/run/%{name}
  72. make %{?_smp_mflags}
  73. %install
  74. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  75. make DESTDIR=%{buildroot} install
  76. %find_lang %{name}
  77. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la}
  78. rm -f $RPM_BUILD_ROOT%{python_sitearch}/gpod/*.{a,la}
  79. %clean
  80. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  81. %post -p /sbin/ldconfig
  82. %postun -p /sbin/ldconfig
  83. %files -f %{name}.lang
  84. %defattr(-, root, root, 0755)
  85. %doc AUTHORS ChangeLog COPYING README
  86. %{_bindir}/*
  87. %{_libdir}/lib*.so.*
  88. %dir %{_localstatedir}/run/%{name}
  89. /lib/udev/iphone-set-info
  90. /lib/udev/ipod-set-info
  91. /lib/udev/rules.d/*.rules
  92. %files devel
  93. %defattr(-, root, root, 0755)
  94. %{_libdir}/lib*.so
  95. %{_libdir}/pkgconfig/*.pc
  96. %{_includedir}/gpod-1.0/
  97. %{_datadir}/gtk-doc/html/%{name}
  98. %files -n python-gpod
  99. %defattr(-, root, root, 0755)
  100. %doc COPYING bindings/python/README bindings/python/examples
  101. %{python_sitearch}/gpod
  102. %changelog
  103. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.0-2
  104. - rebuild with libimobiledevice-1.1.1
  105. * Fri Jun 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-1
  106. - update to 0.8.0
  107. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.7.93-2
  108. - rebuilt with rpm-4.8.1 for pkg-config
  109. * Sat Jun 26 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.93-1
  110. - new upstream release
  111. - add configure option (disable hal, enable udev, specify temp mount dir)
  112. - add python subpackage
  113. - add BR:
  114. * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.2-1
  115. - new upstream release
  116. - remove static library
  117. * Sat Oct 11 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-3vl5
  118. - added BuildRequires: libffi-devel
  119. * Thu Oct 09 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.0-2vl5
  120. - spec in utf-8
  121. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.0-1vl5
  122. - applied new versioning policy
  123. * Thu Jan 03 2008 Satoshi MACHINO <machino@vinelinux.org> 0.6.0-0vl1
  124. - new upstream release
  125. * Tue May 29 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.4.2-0vl2
  126. - for VineSeedPlus
  127. - new upstream release
  128. - built with new toolchain
  129. * Sun Oct 1 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.0-0vl1
  130. - new upstream release
  131. - build with dbus-0.62
  132. * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1
  133. - new upstream release
  134. - build with dbus-0.61
  135. * Wed Dec 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.3.0-0vl1
  136. - initial package