libdc1394-12-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. %define _name libdc1394
  2. Summary: 1394-Based Digital Camera Control Library (ver.1.2.x)
  3. Summary(ja): IEEE1394 ベースのデジタルカメラ制御ライブラリ (ver 1.2.x)
  4. Name: libdc1394-12
  5. Version: 1.2.2
  6. Release: 1%{?_dist_release}
  7. License: LGPLv2+
  8. Group: System Environment/Libraries
  9. Source: http://downloads.sourceforge.net/%{_name}/%{_name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{_name}-%{version}-root
  11. BuildRequires: kernel-headers
  12. BuildRequires: libraw1394-devel
  13. BuildRequires: doxygen libtool
  14. BuildRequires: xorg-x11-devel
  15. %description
  16. libdc1394 provides functionality to control any camera that conforms to the
  17. 1394-Based Digital Camera Specification.
  18. This package dont provide dc1394_vloopback, dc1394_vloopback is provided by
  19. libdc1394 package.
  20. %description -l ja
  21. libdc1394 は IEEE1394 ベースのデジタルカメラ規格に沿ったカメラをコントロール
  22. する機能を提供しています。
  23. このパッケージでは dc1394_vloopback は提供していません。
  24. dc1394_vloopback は、libdc1394 パッケージにて提供されています。
  25. %package devel
  26. Summary: Development libs for libdc1394 (ver 1.2.x)
  27. Summary(ja): libdc1394 用開発ライブラリ (ver 1.2.x)
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. Development libraries required to build applications using libdc1394.
  32. %description devel -l ja
  33. libdc1394 を使用するアプリケーションのビルドに必要な開発ライブラリです。
  34. %prep
  35. %setup -q -n libdc1394-1.2.2
  36. %build
  37. %configure --disable-static
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. %makeinstall
  42. ## remove unuse files
  43. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  44. rm -f $RPM_BUILD_ROOT%{_bindir}/*
  45. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-, root, root, 0755)
  52. %doc AUTHORS ChangeLog COPYING NEWS README
  53. #%{_bindir}/*
  54. %{_libdir}/lib*.so.*
  55. %files devel
  56. %defattr(-, root, root, 0755)
  57. %{_includedir}/libdc1394
  58. %{_libdir}/lib*.so
  59. %changelog
  60. * Sun Jun 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.2-1vl5
  61. - new upstream release
  62. - provide library and developping file, but bin file (dc1394_vloopback) don't provide
  63. (dc1394_vloopback is provided by libdc1394 package, because confilct)
  64. - added configure option (--disable-static)
  65. - added BuildRequires: libtool xorg-x11-devel
  66. - added Japanese description
  67. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-2vl5
  68. - added BuildRequires: libraw1394-devel
  69. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.1-1vl5
  70. - applied new versioning policy, spec in utf-8
  71. - removed *.la
  72. * Tue Aug 14 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-0vl2
  73. - added obsolete_time.patch: CLK_TCK updated to CLOCKS_PER_SEC
  74. * Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl1
  75. - new upstream release
  76. - s/Copyright/License/
  77. * Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-0vl1
  78. - new upstream release
  79. * Sat Mar 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-0vl1
  80. - initial build