|
|
cfaf0b |
|
|
|
cfaf0b |
#define svn_snapshot .svn459
|
|
|
cfaf0b |
#define real_version 2.1.0
|
|
|
cfaf0b |
%define svn_build %{?svn_snapshot:1}%{!?svn_snapshot:0}
|
|
|
cfaf0b |
|
|
|
cfaf0b |
Summary: 1394-based digital camera control library
|
|
|
cfaf0b |
Name: libdc1394
|
|
|
cfaf0b |
Version: 2.2.2
|
|
|
cfaf0b |
Release: 10%{?svn_snapshot}%{?dist}
|
|
|
cfaf0b |
License: LGPLv2+
|
|
|
cfaf0b |
Group: System Environment/Libraries
|
|
|
cfaf0b |
URL: http://sourceforge.net/projects/libdc1394/
|
|
|
cfaf0b |
Source: http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/%{version}/libdc1394-%{version}.tar.gz
|
|
|
cfaf0b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
cfaf0b |
ExcludeArch: s390 s390x
|
|
|
cfaf0b |
|
|
|
cfaf0b |
BuildRequires: kernel-headers
|
|
|
cfaf0b |
BuildRequires: libraw1394-devel libusb1-devel
|
|
|
cfaf0b |
BuildRequires: doxygen
|
|
|
cfaf0b |
BuildRequires: perl-interpreter
|
|
|
cfaf0b |
BuildRequires: libX11-devel libXv-devel
|
|
|
cfaf0b |
%if %{svn_build}
|
|
|
cfaf0b |
BuildRequires: libtool
|
|
|
cfaf0b |
%endif
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%description
|
|
|
cfaf0b |
Libdc1394 is a library that is intended to provide a high level programming
|
|
|
cfaf0b |
interface for application developers who wish to control IEEE 1394 based
|
|
|
cfaf0b |
cameras that conform to the 1394-based Digital Camera Specification.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%package devel
|
|
|
cfaf0b |
Summary: Header files and libraries for %{name}
|
|
|
cfaf0b |
Group: Development/Libraries
|
|
|
cfaf0b |
Requires: %{name} = %{version}-%{release}, libraw1394-devel
|
|
|
cfaf0b |
Requires: pkgconfig
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%description devel
|
|
|
cfaf0b |
This package contains the header files and libraries
|
|
|
cfaf0b |
for %{name}. If you like to develop programs using %{name},
|
|
|
cfaf0b |
you will need to install %{name}-devel.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%package docs
|
|
|
cfaf0b |
Summary: Development documentation for %{name}
|
|
|
cfaf0b |
Group: Documentation
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%description docs
|
|
|
cfaf0b |
This package contains the development documentation for %{name}.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%package tools
|
|
|
cfaf0b |
Summary: Tools for use with %{name}
|
|
|
cfaf0b |
Group: Applications/System
|
|
|
cfaf0b |
Requires: %{name} = %{version}-%{release}
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%description tools
|
|
|
cfaf0b |
This package contains tools that are useful when working and
|
|
|
cfaf0b |
developing with %{name}.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%prep
|
|
|
cfaf0b |
%setup -q -n libdc1394-%{version}
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%build
|
|
|
cfaf0b |
%if %{svn_build}
|
|
|
cfaf0b |
cp /usr/share/libtool/ltmain.sh .
|
|
|
cfaf0b |
aclocal
|
|
|
cfaf0b |
autoheader
|
|
|
cfaf0b |
autoconf
|
|
|
cfaf0b |
automake --add-missing
|
|
|
cfaf0b |
%endif
|
|
|
cfaf0b |
%configure --disable-static --enable-doxygen-html --enable-doxygen-dot
|
|
|
cfaf0b |
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
cfaf0b |
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
cfaf0b |
make %{?_smp_mflags}
|
|
|
cfaf0b |
make doc
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%install
|
|
|
cfaf0b |
%{__rm} -rf %{buildroot}
|
|
|
cfaf0b |
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
|
|
cfaf0b |
for p in grab_color_image grab_gray_image grab_partial_image ladybug grab_partial_pvn; do
|
|
|
cfaf0b |
%{__install} -p -m 0644 -s examples/.libs/$p %{buildroot}%{_bindir}/dc1394_$p
|
|
|
cfaf0b |
done
|
|
|
cfaf0b |
%{__install} -p -m 0644 examples/dc1394_multiview %{buildroot}%{_bindir}/dc1394_multiview
|
|
|
cfaf0b |
for f in grab_color_image grab_gray_image grab_partial_image; do
|
|
|
cfaf0b |
mv %{buildroot}%{_mandir}/man1/$f.1 %{buildroot}%{_mandir}/man1/dc1394_$f.1
|
|
|
cfaf0b |
done
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%post -p /sbin/ldconfig
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%postun -p /sbin/ldconfig
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%clean
|
|
|
cfaf0b |
%{__rm} -rf %{buildroot}
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%files
|
|
|
cfaf0b |
%defattr(-, root, root, 0755)
|
|
|
cfaf0b |
%doc AUTHORS ChangeLog COPYING NEWS README
|
|
|
cfaf0b |
%{_libdir}/libdc1394*.so.*
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%files devel
|
|
|
cfaf0b |
%defattr(-, root, root, 0755)
|
|
|
cfaf0b |
%doc examples/*.h examples/*.c
|
|
|
cfaf0b |
%{_includedir}/dc1394/
|
|
|
cfaf0b |
%{_libdir}/libdc1394*.so
|
|
|
cfaf0b |
%{_libdir}/pkgconfig/%{name}-2.pc
|
|
|
cfaf0b |
%exclude %{_libdir}/*.la
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%files docs
|
|
|
cfaf0b |
%defattr(-, root, root, 0755)
|
|
|
cfaf0b |
%doc doc/html/*
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%files tools
|
|
|
cfaf0b |
%defattr(-, root, root, 0755)
|
|
|
cfaf0b |
%{_bindir}/dc1394_*
|
|
|
cfaf0b |
%{_mandir}/man1/dc1394_*.1.gz
|
|
|
cfaf0b |
|
|
|
cfaf0b |
%changelog
|
|
|
cfaf0b |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-10
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-9
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-8
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-7
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Dec 21 2016 Stephen Gallagher <sgallagh@redhat.com> - 2.2.2-6
|
|
|
cfaf0b |
- Add BR on perl to fix FTBFS on F25+
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-5
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-3
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Mar 13 2014 Tim Niemueller <tim@niemueller.de> - 2.2.2-1
|
|
|
cfaf0b |
- Upgrade to latest stable release 2.2.2
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Aug 7 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.2.0-4
|
|
|
cfaf0b |
- Install docs using %%doc (#993839).
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-3
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Tue Jan 29 2013 Jay Fenlason <fenlason@redhat.com> - 2.2.0-2
|
|
|
cfaf0b |
- Fix two minor issues detected by rpmdiff: installed binaries not stripped
|
|
|
cfaf0b |
and -tools depended on version not version-release
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Tue Dec 11 2012 Jay Fenlason <fenlason@redhat.com> - 2.2.0-1
|
|
|
cfaf0b |
- New upstream version
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.4-3
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Jan 04 2012 Tim Niemueller <tim@niemueller.de> - 2.1.4-2
|
|
|
cfaf0b |
- Fix improperly installed tools (bz #593873)
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Jan 04 2012 Tim Niemueller <tim@niemueller.de> - 2.1.4-1
|
|
|
cfaf0b |
- Update to latest stable release 2.1.4
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-4
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Sep 10 2009 Karsten Hopp <karsten@redhat.com> 2.1.2-3
|
|
|
cfaf0b |
- excludearch s390 s390x where we don't have libraw1394
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.2-2
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Jun 11 2009 Tim Niemueller <tim@niemueller.de> - 2.1.2-1
|
|
|
cfaf0b |
- Update to latest stable release 2.1.2
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Tue Mar 17 2009 Tim Niemueller <tim@niemueller.de> - 2.1.0-1
|
|
|
cfaf0b |
- Update to latest stable release 2.1.0
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2
|
|
|
cfaf0b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Mon May 12 2008 Tim Niemueller <tim@niemueller.de> - 2.0.2-1
|
|
|
cfaf0b |
- Update to latest stable release 2.0.2
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Sat Jan 19 2008 Tim Niemueller <tim@niemueller.de> - 2.0.1-3
|
|
|
cfaf0b |
- Made autotools calls optional, only called if svn_snapshot is defined
|
|
|
cfaf0b |
- devel subpackage now requires pkgconfig
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Jan 16 2008 Tim Niemueller <tim@niemueller.de> - 2.0.1-2
|
|
|
cfaf0b |
- Add docs subpackage to contain development documentation
|
|
|
cfaf0b |
- Incoroprate multilib tricks
|
|
|
cfaf0b |
- BuildReqire automake, autoconf, libtool and doxygen
|
|
|
cfaf0b |
- Removed unused BuildRequires
|
|
|
cfaf0b |
- Use header file from kernel-headers instead of kernel-devel
|
|
|
cfaf0b |
- BuildRequire kernel-devel
|
|
|
cfaf0b |
- Added tools subpackage to contain the resetbus and vloopback tools
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Jan 16 2008 Tim Niemueller <tim@niemueller.de> - 2.0.1-1
|
|
|
cfaf0b |
- Update to 2.0.1, now patent-free!
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Mon Jan 07 2008 Tim Niemueller <tim@niemueller.de> - 2.0.0-1
|
|
|
cfaf0b |
- Update to 2.0.0
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Sun Dec 16 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc9
|
|
|
cfaf0b |
- Update to 2.0.0-rc9
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Nov 28 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc7.3.svn459
|
|
|
cfaf0b |
- Updated to release 2.0.0-rc7+svn459 (not yet released)
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Fri Nov 02 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc7.1.svn443
|
|
|
cfaf0b |
- Updated to release 2.0.0-rc7+svn443 (not yet released) for juju support
|
|
|
cfaf0b |
- Added --without juju to disable juju support (necessary for FC6)
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Fri Feb 02 2007 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc5.1
|
|
|
cfaf0b |
- Updated to release 2.0.0-rc5.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Wed Aug 16 2006 Tim Niemueller <tim@niemueller.de> - 2.0.0-rc3.1
|
|
|
cfaf0b |
- Updated to release 2.0.0-rc3.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Mon May 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.0-0.1.pre7
|
|
|
cfaf0b |
- Updated to release 2.0.0-0.1.pre7.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.0-0.1.pre5.2
|
|
|
cfaf0b |
- Rebuild for Fedora Core 5.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Dec 8 2005 Matthias Saou <http://freshrpms.net/> 2.0.0-0.1.pre5
|
|
|
cfaf0b |
- Update to 2.0.0-pre5.
|
|
|
cfaf0b |
- Add missing libraw1394-devel dependency to the devel package.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Tue Aug 30 2005 Dries Verachtert <dries@ulyssis.org> - 2.0.0-0.pre4
|
|
|
cfaf0b |
- Update to release 2.0.0-0.pre4.
|
|
|
cfaf0b |
|
|
|
cfaf0b |
* Thu Aug 25 2005 Dries Verachtert <dries@ulyssis.org> - 1.1.0-1
|
|
|
cfaf0b |
- Initial package.
|