SPECS (DEVEL): limewire.spec - attempt to build from sources
glen
glen at pld-linux.org
Sun Apr 23 15:56:55 CEST 2006
Author: glen Date: Sun Apr 23 13:56:55 2006 GMT
Module: SPECS Tag: DEVEL
---- Log message:
- attempt to build from sources
---- Files affected:
SPECS:
limewire.spec (1.5 -> 1.5.4.1)
---- Diffs:
================================================================
Index: SPECS/limewire.spec
diff -u SPECS/limewire.spec:1.5 SPECS/limewire.spec:1.5.4.1
--- SPECS/limewire.spec:1.5 Sat Apr 22 12:30:40 2006
+++ SPECS/limewire.spec Sun Apr 23 15:56:50 2006
@@ -1,20 +1,32 @@
# $Revision$, $Date$
+%define _snap 20060422
Summary: The Fastest P2P File Sharing Program on the Planet
Summary(pl): Program do współdzielenia plików metodą P2P
Name: limewire
+# actually it's not know what is the version in snapshot and the
+# release archives aren't available for download and their svn/cvs
+# doesn't contain tags for releases.
Version: 4.10.9
-Release: 0.1
-Epoch: 0
-# ??? GPL v2 with missing sources = non-distributable
+Release: 0.2
License: GPL v2
Group: Applications/Networking
-# Source0Download: http://www.limewire.com/LimeWireSoftLinux
-Source0: LimeWire-free-%{version}-0.rpm
-# NoSource0-md5: d19a4f12560a6621268c70a3fcc8a86c
+Source0: %{name}-%{_snap}.zip
+# NoSource0-md5: eec866306c41894e092e97e79df0c825
NoSource: 0
URL: http://www.limewire.com/
+BuildRequires: jakarta-ant
+BuildRequires: jdk
+BuildRequires: zip
Requires: bash
Requires: jre > 1.4.0
+Requires: jakarta-log4j
+Requires: xerces-j
+#../lib/jars/jl011.jar:../lib/jars/logicrypto.jar:\
+#../lib/jars/mp3sp14.jar:../lib/jars/commons-httpclient.jar:../lib/jars/commons-logging.jar:\
+#../lib/jars/i18n.jar:../lib/jars/icu4j.jar:../lib/jars/ProgressTabs.jar:../lib/jars/id3v2.jar:\
+#../lib/jars/jcraft.jar:../lib/jars/looks.jar:../lib/jars/daap.jar:../lib/jars/jmdns.jar:\
+#../lib/jars/tritonus.jar:../lib/jars/vorbis.jar:../lib/jars/clink.jar:../lib/jars/xml-apis.jar:\
+#../lib/jars/linux/jdic.jar
# somehow to notify we need java-sun-jre-X11 or equivalent
%ifarch %{x8664}
Requires: libmawt.so()(64bit)
@@ -43,24 +55,31 @@
- obsługa proxy
%prep
-%setup -q -c -T
-rpm2cpio %{SOURCE0} | cpio -id
+%setup -qc
-rm usr/lib/LimeWire/COPYING # GPL v2
-rm usr/lib/LimeWire/Limewire.{mandrake,desktop}
-rm usr/lib/menu/LimeWire-free
-mv usr/lib/LimeWire/{SOURCE,README.txt} .
+%build
+cd trunk/core
+ant
+./buildCoreJar.sh
+
+cd ../gui
+ant
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}
-cp -a usr/* $RPM_BUILD_ROOT%{_prefix}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
+
+cd trunk
+install lib/jars/other/themes.jar $RPM_BUILD_ROOT%{_libdir}
-# our improved script
-cat <<EOF > $RPM_BUILD_ROOT%{_bindir}/limewire
+cat <<'EOF' > $RPM_BUILD_ROOT%{_bindir}/limewire
#!/bin/sh
cd %{_libdir}
-exec bash runLime.sh
+export J2SE_PREEMPTCLOSE=1
+exec java \
+ -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog \
+ -Djava.library.path=. \
+ -jar LimeWire.jar
EOF
%clean
@@ -68,24 +87,24 @@
%files
%defattr(644,root,root,755)
-%doc SOURCE README.txt
+#%doc SOURCE README.txt
%attr(755,root,root) %{_bindir}/limewire
%dir %{_libdir}
-%attr(755,root,root) %{_libdir}/libtray.so
-%{_libdir}/root
+#%attr(755,root,root) %{_libdir}/libtray.so
+#%{_libdir}/root
%{_libdir}/*.jar
-%{_libdir}/*.png
-%{_libdir}/*.gif
-%{_libdir}/data.ser
-%{_libdir}/update.ver
-%{_libdir}/MessagesBundle.properties
-%{_libdir}/log4j.properties
-%{_libdir}/hashes
-%{_libdir}/runLime.sh
-%{_libdir}/xml.war
-%{_desktopdir}/LimeWire.desktop
-%{_iconsdir}/hicolor/*/apps/limewire.png
-%{_pixmapsdir}/limewire.png
+#%{_libdir}/*.png
+#%{_libdir}/*.gif
+#%{_libdir}/data.ser
+#%{_libdir}/update.ver
+#%{_libdir}/MessagesBundle.properties
+#%{_libdir}/log4j.properties
+#%{_libdir}/hashes
+#%{_libdir}/runLime.sh
+#%{_libdir}/xml.war
+#%{_desktopdir}/LimeWire.desktop
+#%{_iconsdir}/hicolor/*/apps/limewire.png
+#%{_pixmapsdir}/limewire.png
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -93,6 +112,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5.4.1 2006/04/23 13:56:50 glen
+- attempt to build from sources
+
Revision 1.5 2006/04/22 10:30:40 glen
- 4.10.9
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/limewire.spec?r1=1.5&r2=1.5.4.1&f=u
More information about the pld-cvs-commit
mailing list