libgpod-vl.spec 4.2 KB

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