- Remove requirement for g++ and libstdc++.

- Replace the license with one that has the correct FSF address.
- Provide a working source URI.

OBS-URL: https://build.opensuse.org/package/show/graphics/gts?expand=0&rev=8
This commit is contained in:
Philipp Thomas
2013-11-07 13:00:43 +00:00
committed by Git OBS Bridge
parent 8090b747fc
commit 1b25e1a8e3
2 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 7 13:55:48 CET 2013 - pth@suse.de
- Remove bogus requirement of gcc-c++ and libstdc++. Use a macro for the
- snapshot date. modify the Description of the devel package.
-------------------------------------------------------------------
Tue Oct 29 18:16:50 UTC 2013 - cdenicolo@suse.com

View File

@@ -17,22 +17,20 @@
%define libname libgts-0_7-5
%define snapshot_date 121130
Name: gts
Version: 0.7.6_p20121130
Version: 0.7.6_p20%{snapshot_date}
Release: 0
Summary: GNU Triangulated Surface Library (GTS)
License: LGPL-2.0+
Group: System/Libraries
Source0: http://%{name}.sourceforge.net/tarballs/%{name}-snapshot-121130.tar.gz
License: LGPL-2.0+
Group: Development/Libraries/C and C++
Source0: http://%{name}.sourceforge.net/tarballs/%{name}-snapshot-%{snapshot_date}.tar.gz
Url: http://gts.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: libnetpbm-devel
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{libname} = %{version}
@@ -81,10 +79,10 @@ Requires: glib2-devel
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
to develop applications that use GTS.
%prep
%setup -q -n %{name}-snapshot-121130
%setup -q -n %{name}-snapshot-%{snapshot_date}
%{?suse_update_config:%{suse_update_config -f}}
%build
@@ -94,11 +92,11 @@ to develop applications that require these.
make %{?_smp_mflags}
%install
%makeinstall
rm %{buildroot}/%{_libdir}/*.la
make DESTDIR=%{buildroot} install
rm -f %{buildroot}/%{_libdir}/*.la
# Seems to fail randomly
#%check
#%%check
#chmod +x test/*/*.sh
#make check