[packages/vid.stab] - updated to 1.1.0 (note: new soname)
qboosh
qboosh at pld-linux.org
Sun Jul 23 19:00:25 CEST 2017
commit 710a93ea4aa44d464845945e395d706e86afa172
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 23 19:02:17 2017 +0200
- updated to 1.1.0 (note: new soname)
vid.stab.spec | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/vid.stab.spec b/vid.stab.spec
index c816c58..e6e5fb4 100644
--- a/vid.stab.spec
+++ b/vid.stab.spec
@@ -1,5 +1,6 @@
#
# Conditional build:
+%bcond_without openmp # OpenMP parallelization
%bcond_with sse2 # use SSE2 instructions
#
%ifarch pentium4 %{x8664}
@@ -8,15 +9,16 @@
Summary: Vid.Stab - video stabilization library
Summary(pl.UTF-8): Vid.Stab - biblioteka do stabilizacji obrazu
Name: vid.stab
-Version: 0.98b
-Release: 2
+Version: 1.1.0
+Release: 1
License: GPL v2+
Group: Libraries
#Source0Download: http://public.hronopik.de/vid.stab/download.php
-Source0: https://github.com/georgmartius/vid.stab/tarball/release-%{version}?/%{name}-%{version}.tar.gz
-# Source0-md5: dbce3c292656de126f02b6a616e8d5e6
+Source0: https://github.com/georgmartius/vid.stab/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 633af54b7e2fd5734265ac7488ac263a
URL: http://public.hronopik.de/vid.stab/
BuildRequires: cmake >= 2.6
+%{?with_openmp:BuildRequires: libgomp-devel}
BuildRequires: rpmbuild(macros) >= 1.605
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -39,14 +41,15 @@ Header files for vid.stab library.
Pliki nagłówkowe biblioteki vid.stab.
%prep
-%setup -q -n georgmartius-%{name}-3b35b4d
+%setup -q
%build
install -d build
cd build
-%cmake \
+%cmake .. \
%{!?with_sse:-DSSE2_FOUND=OFF} \
- ..
+ %{!?with_openmp:-DUSE_OMP=OFF}
+
%{__make}
%install
@@ -63,8 +66,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Changelog LICENSE README Todo
-%attr(755,root,root) %{_libdir}/libvidstab.so.0.9
+%doc Changelog LICENSE README.md Todo
+%attr(755,root,root) %{_libdir}/libvidstab.so.1.1
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vid.stab.git/commitdiff/710a93ea4aa44d464845945e395d706e86afa172
More information about the pld-cvs-commit
mailing list