Fri, 11 Mar 2011 21:41:16 +0100
Import unmodified vendor specs for introduction into repository.
michael@1 | 1 | Name: libdc1394 |
michael@1 | 2 | Summary: 1394-based digital camera control library |
michael@1 | 3 | Vendor: Europalab Software |
michael@1 | 4 | Packager: Michael Schloh von Bennewitz |
michael@1 | 5 | Distribution: MeeGo Thirdparty |
michael@1 | 6 | Version: 2.1.2 |
michael@1 | 7 | Release: 20101201 |
michael@1 | 8 | License: LGPLv2+ |
michael@1 | 9 | Group: System Environment/Libraries |
michael@1 | 10 | URL: http://sourceforge.net/projects/libdc1394/ |
michael@1 | 11 | Source: http://dl.sf.net/libdc1394/libdc1394-%{version}.tar.gz |
michael@1 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@1 | 13 | BuildRequires: kernel-headers |
michael@1 | 14 | BuildRequires: libraw1394-devel libusb1-devel |
michael@1 | 15 | BuildRequires: libX11-devel libXv-devel |
michael@1 | 16 | BuildRequires: doxygen |
michael@0 | 17 | |
michael@0 | 18 | %description |
michael@0 | 19 | Libdc1394 is a library that is intended to provide a high level programming |
michael@0 | 20 | interface for application developers who wish to control IEEE 1394 based |
michael@0 | 21 | cameras that conform to the 1394-based Digital Camera Specification. |
michael@0 | 22 | |
michael@0 | 23 | %package devel |
michael@1 | 24 | Summary: Header files and libraries for %{name} |
michael@1 | 25 | Vendor: Europalab Software |
michael@1 | 26 | Packager: Michael Schloh von Bennewitz |
michael@1 | 27 | Distribution: MeeGo Thirdparty |
michael@1 | 28 | Group: Development/Libraries |
michael@1 | 29 | Requires: %{name} = %{version}-%{release} |
michael@1 | 30 | Requires: pkgconfig, libraw1394-devel |
michael@0 | 31 | |
michael@0 | 32 | %description devel |
michael@0 | 33 | This package contains the header files and libraries |
michael@0 | 34 | for %{name}. If you like to develop programs using %{name}, |
michael@0 | 35 | you will need to install %{name}-devel. |
michael@0 | 36 | |
michael@0 | 37 | %package docs |
michael@0 | 38 | Summary: Development documentation for %{name} |
michael@1 | 39 | Vendor: Europalab Software |
michael@1 | 40 | Packager: Michael Schloh von Bennewitz |
michael@1 | 41 | Distribution: MeeGo Thirdparty |
michael@1 | 42 | Group: Documentation |
michael@0 | 43 | |
michael@0 | 44 | %description docs |
michael@0 | 45 | This package contains the development documentation for %{name}. |
michael@0 | 46 | |
michael@0 | 47 | %package tools |
michael@1 | 48 | Summary: Tools for use with %{name} |
michael@1 | 49 | Vendor: Europalab Software |
michael@1 | 50 | Packager: Michael Schloh von Bennewitz |
michael@1 | 51 | Distribution: MeeGo Thirdparty |
michael@1 | 52 | Group: Applications/System |
michael@0 | 53 | Requires: %{name} = %{version} |
michael@0 | 54 | |
michael@0 | 55 | %description tools |
michael@0 | 56 | This package contains tools that are useful when working and |
michael@0 | 57 | developing with %{name}. |
michael@0 | 58 | |
michael@0 | 59 | %prep |
michael@0 | 60 | %setup -q -n libdc1394-%{version} |
michael@0 | 61 | |
michael@0 | 62 | %build |
michael@1 | 63 | %configure --enable-doxygen-html --enable-doxygen-dot |
michael@0 | 64 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
michael@0 | 65 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
michael@0 | 66 | make %{?_smp_mflags} |
michael@0 | 67 | make doc |
michael@0 | 68 | |
michael@0 | 69 | %install |
michael@0 | 70 | %{__rm} -rf %{buildroot} |
michael@1 | 71 | make install DESTDIR=%{buildroot} |
michael@0 | 72 | mkdir -p %{buildroot}%{_docdir}/%{name}-docs-%{version} |
michael@0 | 73 | %{__install} -p -m 0644 doc/html/* %{buildroot}%{_docdir}/%{name}-docs-%{version} |
michael@0 | 74 | for p in grab_color_image grab_gray_image grab_partial_image ladybug grab_partial_pvn; do |
michael@1 | 75 | %{__install} -p -m 0644 examples/$p %{buildroot}%{_bindir}/dc1394_$p |
michael@0 | 76 | done |
michael@0 | 77 | %{__install} -p -m 0644 examples/dc1394_multiview %{buildroot}%{_bindir}/dc1394_multiview |
michael@0 | 78 | for f in grab_color_image grab_gray_image grab_partial_image; do |
michael@1 | 79 | mv %{buildroot}%{_mandir}/man1/$f.1 %{buildroot}%{_mandir}/man1/dc1394_$f.1 |
michael@0 | 80 | done |
michael@0 | 81 | |
michael@0 | 82 | %post -p /sbin/ldconfig |
michael@0 | 83 | |
michael@0 | 84 | %postun -p /sbin/ldconfig |
michael@0 | 85 | |
michael@0 | 86 | %clean |
michael@0 | 87 | %{__rm} -rf %{buildroot} |
michael@0 | 88 | |
michael@0 | 89 | %files |
michael@0 | 90 | %defattr(-, root, root, 0755) |
michael@0 | 91 | %doc AUTHORS ChangeLog COPYING NEWS README |
michael@0 | 92 | %{_libdir}/libdc1394*.so.* |
michael@0 | 93 | |
michael@0 | 94 | %files devel |
michael@0 | 95 | %defattr(-, root, root, 0755) |
michael@0 | 96 | %doc examples/*.h examples/*.c |
michael@0 | 97 | %{_includedir}/dc1394/ |
michael@1 | 98 | %{_libdir}/libdc1394*.a |
michael@1 | 99 | %{_libdir}/libdc1394*.la |
michael@0 | 100 | %{_libdir}/libdc1394*.so |
michael@0 | 101 | %{_libdir}/pkgconfig/%{name}-2.pc |
michael@0 | 102 | |
michael@0 | 103 | %files docs |
michael@0 | 104 | %defattr(-, root, root, 0755) |
michael@0 | 105 | %{_docdir}/%{name}-docs-%{version} |
michael@0 | 106 | |
michael@0 | 107 | %files tools |
michael@0 | 108 | %defattr(-, root, root, 0755) |
michael@0 | 109 | %{_bindir}/dc1394_* |
michael@0 | 110 | %{_mandir}/man1/dc1394_*.1.gz |
michael@0 | 111 | |
michael@0 | 112 | %changelog |
michael@1 | 113 | * Wed Dec 1 2010 Michael Schloh von Bennewitz <michael@schloh.com> - 2.1.2-20101201 |
michael@1 | 114 | - Adjust packaging and patch logic |
michael@1 | 115 | |
michael@0 | 116 | * Fri Oct 29 2010 Kozinov Ivan <kozinov@gmail.com> - 2.1.2-3 |
michael@0 | 117 | - Build for 1.1 |
michael@0 | 118 | |
michael@0 | 119 | * Thu Sep 10 2009 Karsten Hopp <karsten@redhat.com> 2.1.2-3 |
michael@0 | 120 | - excludearch s390 s390x where we don't have libraw1394 |
michael@0 | 121 | |
michael@0 | 122 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-2 |
michael@0 | 123 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
michael@0 | 124 | |
michael@0 | 125 | * Thu Jun 11 2009 Tim Niemueller <tim@niemueller.de> - 2.1.2-1 |
michael@0 | 126 | - Update to latest stable release 2.1.2 |
michael@0 | 127 | |
michael@0 | 128 | * Tue Mar 17 2009 Tim Niemueller <tim@niemueller.de> - 2.1.0-1 |
michael@0 | 129 | - Update to latest stable release 2.1.0 |
michael@0 | 130 | |
michael@0 | 131 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2 |
michael@0 | 132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
michael@0 | 133 | |
michael@0 | 134 | * Mon May 12 2008 Tim Niemueller <tim@niemueller.de> - 2.0.2-1 |
michael@0 | 135 | - Update to latest stable release 2.0.2 |
michael@0 | 136 | |
michael@0 | 137 | * Sat Jan 19 2008 Tim Niemueller <tim@niemueller.de> - 2.0.1-3 |
michael@0 | 138 | - Made autotools calls optional, only called if svn_snapshot is defined |
michael@0 | 139 | - devel subpackage now requires pkgconfig |
michael@0 | 140 | |
michael@0 | 141 | * Wed Jan 16 2008 Tim Niemueller <tim@niemueller.de> - 2.0.1-2 |
michael@0 | 142 | - Add docs subpackage to contain development documentation |
michael@0 | 143 | - Incoroprate multilib tricks |
michael@0 | 144 | - BuildReqire automake, autoconf, libtool and doxygen |
michael@0 | 145 | - Removed unused BuildRequires |
michael@0 | 146 | - Use header file from kernel-headers instead of kernel-devel |
michael@0 | 147 | - BuildRequire kernel-devel |
michael@0 | 148 | - Added tools subpackage to contain the resetbus and vloopback tools |
michael@0 | 149 | |
michael@0 | 150 | * Wed Jan 16 2008 Tim Niemueller <tim@niemueller.de> - 2.0.1-1 |
michael@0 | 151 | - Update to 2.0.1, now patent-free! |
michael@0 | 152 | |
michael@0 | 153 | * Mon Jan 07 2008 Tim Niemueller <tim@niemueller.de> - 2.0.0-1 |
michael@0 | 154 | - Update to 2.0.0 |
michael@0 | 155 | |
michael@0 | 156 | * Thu Dec 16 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc9 |
michael@0 | 157 | - Update to 2.0.0-rc9 |
michael@0 | 158 | |
michael@0 | 159 | * Wed Nov 28 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc7.3.svn459 |
michael@0 | 160 | - Updated to release 2.0.0-rc7+svn459 (not yet released) |
michael@0 | 161 | |
michael@0 | 162 | * Fri Nov 02 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc7.1.svn443 |
michael@0 | 163 | - Updated to release 2.0.0-rc7+svn443 (not yet released) for juju support |
michael@0 | 164 | - Added --without juju to disable juju support (necessary for FC6) |
michael@0 | 165 | |
michael@0 | 166 | * Fri Feb 02 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc5.1 |
michael@0 | 167 | - Updated to release 2.0.0-rc5. |
michael@0 | 168 | |
michael@0 | 169 | * Wed Aug 16 2006 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc3.1 |
michael@0 | 170 | - Updated to release 2.0.0-rc3. |
michael@0 | 171 | |
michael@0 | 172 | * Mon May 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.0-0.1.pre7 |
michael@0 | 173 | - Updated to release 2.0.0-0.1.pre7. |
michael@0 | 174 | |
michael@0 | 175 | * Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.0-0.1.pre5.2 |
michael@0 | 176 | - Rebuild for Fedora Core 5. |
michael@0 | 177 | |
michael@0 | 178 | * Thu Dec 8 2005 Matthias Saou <http://freshrpms.net/> 2.0.0-0.1.pre5 |
michael@0 | 179 | - Update to 2.0.0-pre5. |
michael@0 | 180 | - Add missing libraw1394-devel dependency to the devel package. |
michael@0 | 181 | |
michael@0 | 182 | * Tue Aug 30 2005 Dries Verachtert <dries@ulyssis.org> - 2.0.0-0.pre4 |
michael@0 | 183 | - Update to release 2.0.0-0.pre4. |
michael@0 | 184 | |
michael@0 | 185 | * Thu Aug 25 2005 Dries Verachtert <dries@ulyssis.org> - 1.1.0-1 |
michael@0 | 186 | - Initial package. |