|
|
|
@ -1,13 +1,9 @@
|
|
|
|
|
%global sover 25
|
|
|
|
|
|
|
|
|
|
#define svn_snapshot .svn459
|
|
|
|
|
#define real_version 2.1.0
|
|
|
|
|
%define svn_build %{?svn_snapshot:1}%{!?svn_snapshot:0}
|
|
|
|
|
|
|
|
|
|
Summary: 1394-based digital camera control library
|
|
|
|
|
Name: libdc1394
|
|
|
|
|
Version: 2.2.6
|
|
|
|
|
Release: 6%{?svn_snapshot}%{?dist}
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://sourceforge.net/projects/libdc1394/
|
|
|
|
|
Source: http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/%{version}/libdc1394-%{version}.tar.gz
|
|
|
|
@ -20,9 +16,7 @@ BuildRequires: libraw1394-devel libusb1-devel
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: libX11-devel libXv-devel
|
|
|
|
|
%if %{svn_build}
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libdc1394 is a library that is intended to provide a high level programming
|
|
|
|
@ -57,13 +51,10 @@ developing with %{name}.
|
|
|
|
|
%setup -q -n libdc1394-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if %{svn_build}
|
|
|
|
|
cp /usr/share/libtool/ltmain.sh .
|
|
|
|
|
aclocal
|
|
|
|
|
autoheader
|
|
|
|
|
autoconf
|
|
|
|
|
automake --add-missing
|
|
|
|
|
%endif
|
|
|
|
|
%configure --disable-static --enable-doxygen-html --enable-doxygen-dot
|
|
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|