SHA256
1
0
forked from pool/4ti2

Accepting request 341081 from home:posophe:branches:science

update

OBS-URL: https://build.opensuse.org/request/show/341081
OBS-URL: https://build.opensuse.org/package/show/science/4ti2?expand=0&rev=12
This commit is contained in:
Ismail Dönmez
2015-10-27 16:25:14 +00:00
committed by Git OBS Bridge
parent 0727ad5bb6
commit c715d9cc6c
4 changed files with 29 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package 4ti2
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: 4ti2
Version: 1.6.2
Version: 1.6.6
Release: 0
Summary: Package for algebraic, geometric and combinatorial problems on linear spaces
License: GPL-2.0+
@@ -76,12 +76,11 @@ developing against 4ti2's libraries.
autoreconf -fi;
%configure --enable-shared --disable-static \
--includedir="%_includedir/pkg/%name" --docdir="%_docdir/%name"
make %{?_smp_mflags};
make %{?_smp_mflags}
%install
b="%buildroot";
make install DESTDIR="$b";
cp COPYING doc/* "$b/%_docdir/%name/"
rm -f "$b/%_libdir"/*.la;
mkdir -p "$b/%_bindir" "$b/%_libexecdir/%name";
mv "$b/%_bindir"/* "$b/%_libexecdir/%name/";
@@ -89,6 +88,7 @@ pushd "$b/%_libexecdir/%name";
for i in *; do
ln -s "%_libexecdir/%name/$i" "$b/%_bindir/4ti2_$i";
done;
rm -f doc/Makefile*
%post -n lib4ti2-0 -p /sbin/ldconfig
%postun -n lib4ti2-0 -p /sbin/ldconfig
@@ -97,9 +97,9 @@ done;
%files
%defattr(-,root,root)
%doc COPYING doc/*
%_bindir/4ti2*
%_libexecdir/%name/
%_docdir/%name/
%files -n lib4ti2-0
%defattr(-,root,root)