libdc1394-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Summary: 1394-Based Digital Camera Control Library
  2. Summary(ja): IEEE1394 ベースのデジタルカメラ制御ライブラリ
  3. Name: libdc1394
  4. Version: 2.1.2
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://damien.douxchamps.net/ieee1394/libdc1394/
  9. Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. #Patch0: libdc1394-1.2.1-obsolete_time.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: kernel-headers
  13. BuildRequires: libraw1394-devel
  14. BuildRequires: doxygen
  15. %description
  16. libdc1394 provides functionality to control any camera that conforms to the
  17. 1394-Based Digital Camera Specification.
  18. %description -l ja
  19. libdc1394 は IEEE1394 ベースのデジタルカメラ規格に沿ったカメラをコントロール
  20. する機能を提供しています。
  21. %package devel
  22. Summary: Development libs for libdc1394
  23. Summary(ja): libdc1394 用開発ライブラリ
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. Development libraries required to build applications using libdc1394.
  28. %package docs
  29. Summary: Development documentation for %{name}
  30. Summary(ja): libdc1394 用開発ドキュメント
  31. Group: Documentation
  32. %description docs
  33. This package contains the development documentation for %{name}.
  34. %package tools
  35. Summary: Tools for use with %{name}
  36. Summary(ja): libdc1394で使うツール
  37. Group: Applications/System
  38. Requires: %{name} = %{version}
  39. %description tools
  40. This package contains tools that are useful when working and
  41. developing with %{name}.
  42. %prep
  43. %setup -q
  44. %build
  45. %configure --disable-static --enable-doxygen-html --enable-doxygen-dot %{!?_without_juju:--with-juju-dir=/usr/include}
  46. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  47. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  48. make %{?_smp_mflags}
  49. make doc
  50. %install
  51. %{__rm} -rf %{buildroot}
  52. make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
  53. %{!?_without_juju:rm -f %{buildroot}/%{_mandir}/man1/dc1394_vloopback.1}
  54. ## remove unuse files
  55. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post -p /sbin/ldconfig
  59. %postun -p /sbin/ldconfig
  60. %files
  61. %defattr(-, root, root, 0755)
  62. %doc AUTHORS ChangeLog COPYING NEWS README
  63. %{_libdir}/libdc1394*.so.*
  64. %files devel
  65. %defattr(-, root, root, 0755)
  66. %doc examples/*.h examples/*.c
  67. %{_includedir}/dc1394/
  68. %{_libdir}/libdc1394*.so
  69. %{_libdir}/pkgconfig/%{name}-2.pc
  70. %files docs
  71. %defattr(-, root, root, 0755)
  72. %doc doc/html/*
  73. %files tools
  74. %defattr(-, root, root, 0755)
  75. %{_bindir}/dc1394_reset_bus
  76. %{_bindir}/dc1394_vloopback
  77. %{_mandir}/man1/*.gz
  78. %{?_without_juju:%{_mandir}/man1/dc1394_vloopback.1.gz}
  79. %changelog
  80. * Sat Sep 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1.2-2
  81. - rebuilt with new toolchain and rpm-4.8.1
  82. * Sat Jun 13 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.1.2-1vl5
  83. - new upstream release
  84. -splited -docs, -tools file
  85. - dropt Patch0
  86. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-2vl5
  87. - added BuildRequires: libraw1394-devel
  88. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.1-1vl5
  89. - applied new versioning policy, spec in utf-8
  90. - removed *.la
  91. * Tue Aug 14 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.2.1-0vl2
  92. - added obsolete_time.patch: CLK_TCK updated to CLOCKS_PER_SEC
  93. * Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl1
  94. - new upstream release
  95. - s/Copyright/License/
  96. * Fri Jun 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-0vl1
  97. - new upstream release
  98. * Sat Mar 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.3-0vl1
  99. - initial build