- Clone package from KDE:KDE3.
- Submit to Factory as it's needed for graphviz-smyrna. - Pass include direrctories in AM_CPPFLAGS instead of by --includedir. - Add the gts headers to the devel package. OBS-URL: https://build.opensuse.org/package/show/graphics/gts?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
f723fad9f2
commit
12d4d11988
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 11:18:48 CEST 2013 - pth@suse.de
|
||||
|
||||
- Clone package from KDE:KDE3.
|
||||
- Submit to Factory as it's needed for graphviz-smyrna.
|
||||
- Pass include direrctories in AM_CPPFLAGS instead of by
|
||||
--includedir.
|
||||
- Add the gts headers to the devel package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 4 20:09:36 UTC 2010 - malcolmlewis@opensuse.org
|
||||
|
||||
|
27
gts.spec
27
gts.spec
@@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# spec file for package gts (0.7.6)
|
||||
#
|
||||
# This file and all modifications and additions to the pristine
|
||||
@@ -14,7 +14,7 @@ Summary: GNU Triangulated Surface Library (GTS)
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
URL: http://gts.sourceforge.net/
|
||||
Group: System/Libraries
|
||||
License: GPL
|
||||
License: LGPL-2.0
|
||||
BuildRequires: autoconf libtool
|
||||
BuildRequires: automake
|
||||
BuildRequires: glib2-devel
|
||||
@@ -48,7 +48,7 @@ A brief summary of its main features:
|
||||
|
||||
%package -n libgts-%{soname}
|
||||
Summary: GTS Libraries
|
||||
Group: Development/Libraries/C and C++
|
||||
Group: System/libraries
|
||||
|
||||
|
||||
%description -n libgts-%{soname}
|
||||
@@ -72,15 +72,17 @@ to develop applications that require these.
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
|
||||
%build
|
||||
%{configure} --inc='/usr/include -I/usr/include/netpbm'
|
||||
export AM_CPPFLAGS="-I/usr/include/netpbm"
|
||||
%{configure}
|
||||
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%{makeinstall}
|
||||
make DESTDIR=%buildroot install
|
||||
|
||||
%__rm %{buildroot}/%{_libdir}/*.a
|
||||
%__rm -rf '%{buildroot}/usr/include -I'
|
||||
rm %{buildroot}/%{_libdir}/*.a
|
||||
rm %{buildroot}/%{_libdir}/*.la
|
||||
rm -rf '%{buildroot}/usr/include -I'
|
||||
|
||||
%post -n libgts-%{soname} -p /sbin/ldconfig
|
||||
|
||||
@@ -102,16 +104,13 @@ to develop applications that require these.
|
||||
|
||||
%files -n libgts-%{soname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgts-0.7.so.5
|
||||
%{_libdir}/libgts-0.7.so.5.0.1
|
||||
%{_libdir}/libgts-0.7.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
#%{_includedir}/*.h
|
||||
#%if %suse_version < 1230
|
||||
%{_includedir}/gts.h
|
||||
%{_includedir}/gtsconfig.h
|
||||
%{_bindir}/happrox
|
||||
#%endif
|
||||
%{_libdir}/libgts.la
|
||||
%{_libdir}/libgts.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_datadir}/aclocal/*.m4
|
||||
|
Reference in New Issue
Block a user