[packages/gle] - ghost soname symlink, spec cleanups/updates
qboosh
qboosh at pld-linux.org
Sat Dec 7 15:45:06 CET 2013
commit c475753de835ca79b2d77784f69ee7ff1d263968
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 7 15:46:30 2013 +0100
- ghost soname symlink, spec cleanups/updates
gle.spec | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/gle.spec b/gle.spec
index 4af210e..5bb34ba 100644
--- a/gle.spec
+++ b/gle.spec
@@ -3,9 +3,9 @@ Summary(pl.UTF-8): Funkcje C do rysowania skomplikowanych przestrzeni
Name: gle
Version: 3.1.0
Release: 3
-License: IBM or GPL
+License: IBM (library), Artistic (documentation) or GPL v2
Group: X11/Libraries
-Source0: http://dl.sourceforge.net/gle/%{name}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/gle/%{name}-%{version}.tar.gz
# Source0-md5: da5b45c6906343d4a3672c3de35513ad
Patch0: %{name}-amfix.patch
URL: http://www.linas.org/gle/
@@ -16,8 +16,6 @@ BuildRequires: automake
BuildRequires: libtool >= 1:1.4.2-9
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _noautoreqdep libGL.so.1 libGLU.so.1
-
%description
GLE is a library package of C functions that draw extruded surfaces,
including surfaces of revolution, sweeps, tubes, polycones,
@@ -91,7 +89,7 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%{__make} clean -C examples
install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/gle
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/gle
%clean
rm -rf $RPM_BUILD_ROOT
@@ -102,7 +100,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README COPYING src/COPYING.src
-%attr(755,root,root) %{_libdir}/libgle.so.*.*
+%attr(755,root,root) %{_libdir}/libgle.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgle.so.3
%files devel
%defattr(644,root,root,755)
@@ -110,7 +109,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/libgle.so
%{_libdir}/libgle.la
%{_includedir}/GL/gle.h
-%{_mandir}/man3/*
+%{_mandir}/man3/gle*.3gle*
%{_examplesdir}/%{name}-%{version}
%files static
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gle.git/commitdiff/c475753de835ca79b2d77784f69ee7ff1d263968
More information about the pld-cvs-commit
mailing list