[packages/xlhtml] - verbose lib, man files - cleanup, GPL version

qboosh qboosh at pld-linux.org
Tue Jan 14 20:50:28 CET 2014


commit 906f70c0366476a341c5e12f969291fb724efb2e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 14 20:51:23 2014 +0100

    - verbose lib, man files
    - cleanup, GPL version

 xlhtml.spec | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/xlhtml.spec b/xlhtml.spec
index f8b45e6..e9b4f4b 100644
--- a/xlhtml.spec
+++ b/xlhtml.spec
@@ -3,9 +3,9 @@ Summary(pl.UTF-8):	Konwerter z Excela 95/97 oraz PowerPointa do HTML
 Name:		xlhtml
 Version:	0.5.1
 Release:	6
-License:	GPL
+License:	GPL v2+
 Group:		Applications/Text
-#Source0:	http://dl.sourceforge.net/chicago/%{name}.%{version}.tgz
+#Source0:	http://downloads.sourceforge.net/chicago/%{name}.%{version}.tgz
 Source0:	%{name}.%{version}.tgz
 # Source0-md5:	deeb108545e1848fce5dcb8d84d8a48e
 Patch0:		%{name}-shared.patch
@@ -60,10 +60,13 @@ Statyczne biblioteki konwertera Excela 95/97 do HTML.
 %patch0 -p1
 %patch1 -p1
 
+%{__rm} -r xlhtml/contrib/CVS
+
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure
 
@@ -77,11 +80,6 @@ rm -rf $RPM_BUILD_ROOT
 
 install cole/cole-config $RPM_BUILD_ROOT%{_bindir}
 
-#install -d $RPM_BUILD_ROOT%{_mandir}/man1
-#install xlhtml/xlhtml.1 ppthtml/ppthtml.1 $RPM_BUILD_ROOT%{_mandir}/man1
-
-rm -rf xlhtml/contrib/CVS
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -96,18 +94,19 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/nspptview
 %attr(755,root,root) %{_bindir}/xlhtml
 %attr(755,root,root) %{_bindir}/ppthtml
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%attr(755,root,root) %{_libdir}/lib*.so.2
-%{_mandir}/man1/*
+%attr(755,root,root) %{_libdir}/libcole.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcole.so.2
+%{_mandir}/man1/ppthtml.1*
+%{_mandir}/man1/xlhtml.1*
 
 %files devel
 %defattr(644,root,root,755)
 %doc xlhtml/ChangeLog
 %attr(755,root,root) %{_bindir}/cole-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%attr(755,root,root) %{_libdir}/libcole.so
+%{_libdir}/libcole.la
 %{_includedir}/cole
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libcole.a
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xlhtml.git/commitdiff/906f70c0366476a341c5e12f969291fb724efb2e



More information about the pld-cvs-commit mailing list