libdc1394-12-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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: 2%{?_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. * Fri Oct 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.2-2
  61. - rebuilt with rpm-4.8.1 for pkg-config
  62. * Sun Jun 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.2.2-1vl5
  63. - new upstream release
  64. - provide library and developping file, but bin file (dc1394_vloopback) don't provide
  65. (dc1394_vloopback is provided by libdc1394 package, because confilct)
  66. - added configure option (--disable-static)
  67. - added BuildRequires: libtool xorg-x11-devel
  68. - added Japanese description
  69. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-2vl5
  70. - added BuildRequires: libraw1394-devel
  71. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.1-1vl5
  72. - applied new versioning policy, spec in utf-8
  73. - removed *.la
  74. * Tue Aug 14 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-0vl2
  75. - added obsolete_time.patch: CLK_TCK updated to CLOCKS_PER_SEC
  76. * Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl1
  77. - new upstream release
  78. - s/Copyright/License/
  79. * Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-0vl1
  80. - new upstream release
  81. * Sat Mar 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-0vl1
  82. - initial build