packages: lightspark/lightspark.spec, lightspark/libdir.patch (REMOVED) - p...

glen glen at pld-linux.org
Tue Nov 2 10:41:40 CET 2010


Author: glen                         Date: Tue Nov  2 09:41:40 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- packaging fixes

---- Files affected:
packages/lightspark:
   lightspark.spec (1.5 -> 1.6) , libdir.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/lightspark/lightspark.spec
diff -u packages/lightspark/lightspark.spec:1.5 packages/lightspark/lightspark.spec:1.6
--- packages/lightspark/lightspark.spec:1.5	Mon Nov  1 18:53:12 2010
+++ packages/lightspark/lightspark.spec	Tue Nov  2 10:41:35 2010
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
+# TODO
+# - fix linking
 Summary:	Lightspark - a modern, free, open-source flash player implementation
 Name:		lightspark
 Version:	0.4.4.3
-Release:	0.1
+Release:	0.4
 License:	GPL v3
 Group:		X11/Applications/Multimedia
 Source0:	http://edge.launchpad.net/lightspark/trunk/lightspark-0.4.4/+download/%{name}-%{version}.tar.gz
 # Source0-md5:	efd2e91d36ffa38c9befa25af5eaac20
-Patch0:		libdir.patch
 URL:		http://lightspark.sourceforge.net/
 BuildRequires:	SDL-devel
 BuildRequires:	autoconf >= 2.59-9
@@ -30,10 +31,14 @@
 BuildRequires:	pcre-devel
 BuildRequires:	pkgconfig
 BuildRequires:	pulseaudio-devel
-BuildRequires:	rpmbuild(macros) >= 1.577
+BuildRequires:	rpmbuild(macros) >= 1.583
 BuildRequires:	xulrunner-devel >= 1.9.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# Unresolved symbols found in: /usr/lib64/lightspark/liblightspark.so.0.4.4
+#        rt sys av_free pt
+%define         skip_post_check_so      liblightspark.so.0.4
+
 %description
 Lightspark is a modern, free, open-source flash player implementation.
 
@@ -50,7 +55,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 install -d build
 
@@ -72,6 +76,14 @@
 
 %find_lang %{name} --all-name
 
+# rename because we need only SONAME being available
+mv $RPM_BUILD_ROOT%{_libdir}/lightspark/liblightspark.so.{0.4.*,0.4}
+rm $RPM_BUILD_ROOT%{_libdir}/lightspark/liblightspark.so
+
+# weird size
+rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/20x20
+rm -f $RPM_BUILD_ROOT%{_iconsdir}/hicolor/scalable/apps/lightspark.svg
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -91,12 +103,17 @@
 %doc ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/lightspark
 %attr(755,root,root) %{_bindir}/tightspark
+
 %dir %{_libdir}/lightspark
-%attr(755,root,root) %{_libdir}/lightspark/liblightspark.so.*.*.*
 %attr(755,root,root) %{_libdir}/lightspark/liblightspark.so.*.*
-%attr(755,root,root) %{_libdir}/lightspark/liblightspark.so
+
+%dir %{_libdir}/lightspark/plugins
+%attr(755,root,root) %{_libdir}/lightspark/plugins/liblightsparkpulseplugin.so
+
 %{_datadir}/lightspark
 %{_mandir}/man1/lightspark.1*
+%{_desktopdir}/lightspark.desktop
+%{_iconsdir}/hicolor/*/apps/lightspark.png
 
 %files -n browser-plugin-%{name}
 %defattr(644,root,root,755)
@@ -108,6 +125,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/11/02 09:41:35  glen
+- packaging fixes
+
 Revision 1.5  2010/11/01 17:53:12  glen
 - up to 0.4.4.3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lightspark/lightspark.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list