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