libquvi-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Summary: C library for parsing Adobe Flash media stream URLs
  2. Summary(ja): AdobeFlash メディアストリーム URL を解析するための C ライブラリ
  3. Name: libquvi
  4. Version: 0.4.1
  5. Release: 2%{?_dist_release}
  6. License: LGPLv2.1+
  7. Group: System Environment/Libraries
  8. URL: http://quvi.sourceforge.net/
  9. Source0: %{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: curl-devel
  12. BuildRequires: gzip
  13. BuildRequires: libquvi-scripts-devel
  14. BuildRequires: lua-devel
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. Packager: Takemikaduchi
  18. %description
  19. libquvi is a small C library that can be used to parse Flash media stream URLs.
  20. It originates from the idea of working around the Flash requirement found on many
  21. media hosting websites (e.g. YouTube).
  22. %package devel
  23. Summary: Development tools for libquvi
  24. Summary(ja): libquvi の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. Provides: quvi-devel
  29. Obsoletes: quvi-devel < 0.4
  30. %description devel
  31. Header files and libraries for building a extension library for the
  32. libquvi.
  33. %prep
  34. %setup -q
  35. %build
  36. %configure --disable-static
  37. %{__make} %{?_smp_mflags}
  38. %install
  39. %{__rm} -rf ${RPM_BUILD_ROOT}
  40. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  41. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  42. gzip $RPM_BUILD_ROOT%{_mandir}/man3/libquvi.3
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %post -p /sbin/ldconfig
  46. %postun -p /sbin/ldconfig
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc COPYING ChangeLog NEWS README
  50. %{_libdir}/libquvi.so.*
  51. %{_mandir}/man3/libquvi.3.gz
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %{_includedir}/quvi
  55. %{_libdir}/libquvi.so
  56. %{_libdir}/pkgconfig/libquvi.pc
  57. %changelog
  58. * Tue Dec 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.1-2
  59. - moved libquvi to System Environment/Libraries Group
  60. * Wed Apr 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  61. - initial build for Vine Linux