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