## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 6; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global sover 26 Name: libdc1394 Summary: 1394-based digital camera control library Version: 2.2.7 Release: %autorelease License: LGPL-2.0-or-later URL: http://sourceforge.net/projects/%{name}/ ExcludeArch: s390 s390x Source: http://downloads.sourceforge.net/project/%{name}/%{name}-2/%{version}/%{name}-%{version}.tar.gz Patch0: %{name}-sdl.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: doxygen BuildRequires: gcc BuildRequires: kernel-headers BuildRequires: make BuildRequires: libraw1394-devel BuildRequires: libtool BuildRequires: libusb1-devel BuildRequires: libX11-devel BuildRequires: libXv-devel BuildRequires: perl-interpreter %description Libdc1394 is a library that is intended to provide a high level programming interface for application developers who wish to control IEEE 1394 based cameras that conform to the 1394-based Digital Camera Specification. %package devel Summary: Header files and libraries for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: libraw1394-devel %description devel This package contains the header files and libraries for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel. %package docs Summary: Development documentation for %{name} %description docs This package contains the development documentation for %{name}. %package tools Summary: Tools for use with %{name} %description tools This package contains tools that are useful when working and developing with %{name}. %prep %autosetup -p1 %build autoreconf -vif %configure --disable-static --enable-doxygen-html --enable-doxygen-dot %make_build %make_build doc %install %make_install for p in grab_color_image grab_gray_image grab_partial_image ladybug grab_partial_pvn; do install -p -m 0755 -s examples/.libs/$p %{buildroot}%{_bindir}/dc1394_$p done install -p -m 0755 examples/dc1394_multiview %{buildroot}%{_bindir}/dc1394_multiview for f in grab_color_image grab_gray_image grab_partial_image; do mv %{buildroot}%{_mandir}/man1/$f.1 %{buildroot}%{_mandir}/man1/dc1394_$f.1 done find %{buildroot} -name "*.la" -delete %{?ldconfig_scriptlets} %files %license COPYING %doc AUTHORS ChangeLog NEWS README %{_libdir}/%{name}.so.%{sover}* %files devel %doc examples/*.h examples/*.c %{_includedir}/dc1394/ %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}-2.pc %files docs %doc doc/html/* %files tools %{_bindir}/dc1394_grab_color_image %{_bindir}/dc1394_grab_gray_image %{_bindir}/dc1394_grab_partial_image %{_bindir}/dc1394_grab_partial_pvn %{_bindir}/dc1394_ladybug %{_bindir}/dc1394_multiview %{_bindir}/dc1394_reset_bus %{_mandir}/man1/dc1394_grab_color_image.* %{_mandir}/man1/dc1394_grab_gray_image.* %{_mandir}/man1/dc1394_grab_partial_image.* %{_mandir}/man1/dc1394_multiview.* %{_mandir}/man1/dc1394_reset_bus.* %{_mandir}/man1/dc1394_vloopback.* %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 2.2.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 2.2.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.2.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 2.2.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jun 23 2023 Till Hofmann - 2.2.7-2 - Migrate to SPDX license tag * Mon Jun 05 2023 Till Hofmann - 2.2.7-1 - Update to 2.2.7 * Thu Jan 19 2023 Fedora Release Engineering - 2.2.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 2.2.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Simone Caronni - 2.2.6-7 - SPEC file cleanup. - Use proper macros everywhere. - Fix permissions for binaries. - Fix rpmlint issues. - Trim changelog. * Thu Jan 20 2022 Fedora Release Engineering - 2.2.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 2.2.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 2.2.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 2.2.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Till Hofmann - 2.2.6-2 - Do not glob soversion to avoid accidental bumps * Tue Jul 21 2020 Till Hofmann - 2.2.6-1 - Update to 2.2.6 * Wed Jan 29 2020 Fedora Release Engineering - 2.2.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild ## END: Generated by rpmautospec