libdvdcss-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. %define name libdvdcss
  2. %define version 1.2.10
  3. %define release 3%{?_dist_release}
  4. %define major 2
  5. %define libname %{name}%{major}
  6. Summary: Library for accessing DVDs like block devices with transparent decryption
  7. Summary(ja): CSS を解除し DVD をブロックデバイスのように利用できるライブラリ
  8. Name: %{name}
  9. Version: %{version}
  10. Release: %{release}
  11. Source0: %{name}-%{version}.tar.bz2
  12. Patch0: libdvdcss-1.2.10-doxygen-fix.patch
  13. # (See http://mailman.videolan.org/pipermail/libdvdcss-devel/2007-July/000471.html)
  14. License: GPL
  15. Group: System Environment/Libraries
  16. URL: http://www.videolan.org/developers/libdvdcss.html
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. %description
  19. libdvdcss is a simple library designed for accessing DVDs like a block device
  20. without having to bother about the decryption. The important features are:
  21. * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
  22. OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X,
  23. Solaris, HP-UX and OS/2.
  24. * Adaptability: unlike most similar projects, libdvdcss doesn't require the
  25. region of your drive to be set and will try its best to read from the disc
  26. even in the case of a region mismatch.
  27. * Simplicity: a DVD player can be built around the libdvdcss API using no
  28. more than 6 library calls.
  29. %description -l ja
  30. libdvdcss は CSS (Content Scranble System) の解除に煩わされずに DVD を
  31. ブロックデバイスのように利用するためのシンプルなライブラリです。
  32. 主要な特徴は以下の通り:
  33. * 可搬性; 現在サポートされているプラットフォームは GNU/Linux、FreeBSD、
  34. NetBSD、OpenBSD、BSD/OS、BeOS、Windows 95/98/ME、Windows NT/2000/XP、
  35. MacOS X、Solaris、HP-UX と OS/2 です。
  36. * 適応性: 似たような他のプロジェクトとは違い、libdvdcss は DVD ドライブ
  37. にリージョンコードが設定されている必要が無く、またリージョンが異なる
  38. 場合でもできるだけディスクを読み込もうと努力します。
  39. * シンプル: libdvdcss を使えば 6種類の API を使うだけで DVD プレイヤー
  40. を作成することができます。
  41. #-------------------------------------------------------------------------------
  42. %package -n %{libname}
  43. Summary: Library for accessing DVDs like block devices with transparent decryption
  44. Summary(ja): CSS を解除し DVD をブロックデバイスのように利用できるライブラリ
  45. Group: System Environment/Libraries
  46. Provides: %name = %version-%release
  47. %description -n %{libname}
  48. libdvdcss is a simple library designed for accessing DVDs like a block device
  49. without having to bother about the decryption. The important features are:
  50. * Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
  51. OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X,
  52. Solaris, HP-UX and OS/2.
  53. * Adaptability: unlike most similar projects, libdvdcss doesn't require the
  54. region of your drive to be set and will try its best to read from the disc
  55. even in the case of a region mismatch.
  56. * Simplicity: a DVD player can be built around the libdvdcss API using no
  57. more than 6 library calls.
  58. %description -n %{libname} -l ja
  59. libdvdcss は CSS (Content Scranble System) の解除に煩わされずに DVD を
  60. ブロックデバイスのように利用するためのシンプルなライブラリです。
  61. 主要な特徴は以下の通り:
  62. * 可搬性; 現在サポートされているプラットフォームは GNU/Linux、FreeBSD、
  63. NetBSD、OpenBSD、BSD/OS、BeOS、Windows 95/98/ME、Windows NT/2000/XP、
  64. MacOS X、Solaris、HP-UX と OS/2 です。
  65. * 適応性: 似たような他のプロジェクトとは違い、libdvdcss は DVD ドライブ
  66. にリージョンコードが設定されている必要が無く、またリージョンが異なる
  67. 場合でもできるだけディスクを読み込もうと努力します。
  68. * シンプル: libdvdcss を使えば 6種類の API を使うだけで DVD プレイヤー
  69. を作成することができます。
  70. #-------------------------------------------------------------------------------
  71. %package -n %{libname}-devel
  72. Summary: Development tools for programs which will use the %{name} library
  73. Summary(ja): %{name} 用の開発ライブラリおよびヘッダファイル
  74. Group: Development/Libraries
  75. Requires: %{libname} = %version-%release
  76. Provides: %{name}-devel = %version-%release
  77. %description -n %{libname}-devel
  78. The %{name}-devel package includes the header files and static libraries
  79. necessary for developing programs which will manipulate DVDs files using
  80. the %{name} library.
  81. If you are going to develop programs which will manipulate DVDs, you
  82. should install %{name}-devel. You'll also need to have the %{name}
  83. package installed.
  84. %description -n %{libname}-devel -l ja
  85. %{name}-devel パッケージは %{name} ライブラリを使って DCD を操作する
  86. アプリケーションを開発するのに必要なライブラリやヘッダファイルを含ん
  87. でいます。
  88. もし DVD を操作するプログラムを開発するなら、 %{name}-devel パッケージ
  89. をインストールしてください。また %{name} パッケージもインストールされて
  90. いる必要があります。
  91. #'
  92. %prep
  93. %setup -q
  94. %patch0 -p0 -b .doxygen-fix
  95. %build
  96. %configure
  97. %{__make}
  98. %install
  99. %{__rm} -rf ${RPM_BUILD_ROOT}
  100. %makeinstall
  101. # remove unnecessary file.
  102. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/libdvdcss.la
  103. %clean
  104. %{__rm} -rf ${RPM_BUILD_ROOT}
  105. %post -n %{libname} -p /sbin/ldconfig
  106. %postun -n %{libname} -p /sbin/ldconfig
  107. %files -n %{libname}
  108. %defattr(-,root,root)
  109. %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
  110. %{_libdir}/libdvdcss.so.*
  111. %files -n %{libname}-devel
  112. %defattr(-,root,root)
  113. %{_includedir}/dvdcss/dvdcss.h
  114. %{_libdir}/libdvdcss.a
  115. %{_libdir}/libdvdcss.so
  116. %{_libdir}/pkgconfig/lib*.pc
  117. %changelog
  118. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.2.10-3
  119. - change release to sync with self-build-libdvdcss
  120. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.10-2
  121. - change release to sync with self-build-libdvdcss
  122. * Tue Nov 25 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.10-1
  123. - new upstream release
  124. - applied libdvdcss-1.2.10-doxygen-fix.patch
  125. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.9-2
  126. - spec in utf8
  127. * Sat May 03 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.9-1
  128. - apply new versioning policy
  129. * Thu Nov 1 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.2.9-0vl1
  130. - initial build for Vine Linux
  131. - add Patch0 to fix doxygen error