Drop svn flags, project is on git now
This commit is contained in:
parent
9237db446a
commit
9e2c2e70d0
@ -1,13 +1,9 @@
|
|||||||
%global sover 25
|
%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
|
Summary: 1394-based digital camera control library
|
||||||
Name: libdc1394
|
Name: libdc1394
|
||||||
Version: 2.2.6
|
Version: 2.2.6
|
||||||
Release: 6%{?svn_snapshot}%{?dist}
|
Release: 6%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://sourceforge.net/projects/libdc1394/
|
URL: http://sourceforge.net/projects/libdc1394/
|
||||||
Source: http://downloads.sourceforge.net/project/libdc1394/libdc1394-2/%{version}/libdc1394-%{version}.tar.gz
|
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: doxygen
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: libX11-devel libXv-devel
|
BuildRequires: libX11-devel libXv-devel
|
||||||
%if %{svn_build}
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libdc1394 is a library that is intended to provide a high level programming
|
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}
|
%setup -q -n libdc1394-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{svn_build}
|
|
||||||
cp /usr/share/libtool/ltmain.sh .
|
|
||||||
aclocal
|
aclocal
|
||||||
autoheader
|
autoheader
|
||||||
autoconf
|
autoconf
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
%endif
|
|
||||||
%configure --disable-static --enable-doxygen-html --enable-doxygen-dot
|
%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|^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
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
|
Loading…
Reference in New Issue
Block a user