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