rpms/amule/F-8 amule.spec,1.2,1.3

Aurélien Bompard abompard at rpmfusion.org
Fri Nov 21 08:30:40 CET 2008


Author: abompard

Update of /cvs/free/rpms/amule/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv6719/F-8

Modified Files:
	amule.spec 
Log Message:
* Thu Nov 20 2008 Aurelien Bompard <abompard at fedoraproject.org> 2.2.2-2
- add remote GUI



Index: amule.spec
===================================================================
RCS file: /cvs/free/rpms/amule/F-8/amule.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- amule.spec	26 Oct 2008 14:06:30 -0000	1.2
+++ amule.spec	21 Nov 2008 07:30:10 -0000	1.3
@@ -1,22 +1,23 @@
+# TODO: setup firefox for ed2k links using triggers and a file in /usr/lib/firefox-3.0.1/defaults/preferences/
+
 Name:           amule
-Version:        2.1.3
-Release:        5%{?dist}
+Version:        2.2.2
+Release:        2%{?dist}
 Summary:        File sharing client compatible with eDonkey
 License:        GPLv2+
 Group:          Applications/Internet
 Source0:        http://dl.sourceforge.net/%{name}/aMule-%{version}.tar.bz2
-Patch0:         aMule-wx-1.2.patch
-Patch1:         aMule-2.1.3-ocreate.patch
-Patch2:         aMule-2.1.3-multiple.patch
 Patch3:         aMule-2.1.3-gcc43.patch
 URL:            http://amule.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # See http://www.amule.org/wiki/index.php/Requirements
-BuildRequires:  wxGTK-devel >= 0:2.6.2, desktop-file-utils, expat-devel
+BuildRequires:  wxGTK-devel >= 0:2.8.7, desktop-file-utils, expat-devel
 BuildRequires:  gd-devel >= 2.0.0, libpng-devel
 BuildRequires:  gettext-devel, flex, bison
-BuildRequires:  readline-devel
+BuildRequires:  readline-devel, cryptopp-devel, libupnp-devel
+BuildRequires:  GeoIP-devel
 Requires(pre):  chkconfig
+Requires:       %{name}-nogui
 
 %description
 aMule is an easy to use multi-platform client for ED2K Peer-to-Peer
@@ -24,6 +25,15 @@
 Windows. aMule currently supports (but is not limited to) the
 following platforms: Linux, *BSD and MacOS X.
 
+%package nogui
+Summary:        aMule components which don't require a GUI (for servers)
+Group:          Applications/Internet
+
+%description nogui
+This package containes the aMule components which don't require a GUI.
+It is useful for servers which don't have Xorg.
+
+
 %package -n xchat-%{name}
 Summary:        Plugin to display aMule's statistics in XChat
 Group:          Applications/Internet
@@ -36,9 +46,6 @@
 
 %prep
 %setup -q -n aMule-%{version}
-%patch0 -p1 -b .wx28
-%patch1 -p1 -b .ocreate
-%patch2 -p1 -b .multiple
 %patch3 -p1 -b .gcc43
 
 
@@ -54,10 +61,11 @@
     --enable-amulecmd \
     --enable-webserver \
     --enable-amule-daemon \
-    --enable-utf8-systray
-
-#    --enable-amule-gui        compile aMule remote GUI (EXPERIMENTAL)
-
+    --enable-utf8-systray \
+    --enable-geoip \
+    --enable-ccache \
+    --enable-amule-gui \
+    --enable-optimize
 
 make %{?_smp_mflags}
 
@@ -73,9 +81,7 @@
 desktop-file-install --vendor livna \
                      --delete-original\
                      --dir $RPM_BUILD_ROOT%{_datadir}/applications\
-                     --add-category Application\
                      --add-category Network\
-                     --add-category X-Livna\
                      $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
 
 iconv -f ISO-8859-1 -t UTF-8 < src/utils/aLinkCreator/alc.desktop \
@@ -83,16 +89,18 @@
 desktop-file-install --vendor livna \
                      --delete-original\
                      --dir $RPM_BUILD_ROOT%{_datadir}/applications\
-                     --add-category X-Livna\
                      $RPM_BUILD_ROOT%{_datadir}/applications/alc.desktop
-install -m 644 src/utils/aLinkCreator/alc.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps/alc.xpm
 
 desktop-file-install --vendor livna \
                      --delete-original\
                      --dir $RPM_BUILD_ROOT%{_datadir}/applications\
-                     --add-category X-Livna\
                      $RPM_BUILD_ROOT%{_datadir}/applications/wxcas.desktop
-install -m 644 src/utils/wxCas/wxcas.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
+
+desktop-file-install --vendor livna \
+                     --delete-original\
+                     --dir $RPM_BUILD_ROOT%{_datadir}/applications\
+                     --add-category Network\
+                     $RPM_BUILD_ROOT%{_datadir}/applications/%{name}gui.desktop
 
 
 %clean
@@ -102,20 +110,64 @@
 %files -f %{name}.lang
 %defattr(-,root,root)
 %doc %{_datadir}/doc/aMule-%{version}
-%{_bindir}/*
+%{_bindir}/alc
+%{_bindir}/amule
+%{_bindir}/cas
+%{_bindir}/wxcas
+%{_bindir}/amulegui
 %{_datadir}/%{name}/
 %{_datadir}/cas
 %{_datadir}/applications/*.desktop
 %{_datadir}/pixmaps/*
-%{_mandir}/man1/*.gz
-%{_mandir}/*/man1/*.gz
+%{_mandir}/man1/alc.1.gz
+%{_mandir}/*/man1/alc.1.gz
+%{_mandir}/man1/amule.1.gz
+%{_mandir}/*/man1/amule.1.gz
+%{_mandir}/man1/cas.1.gz
+%{_mandir}/*/man1/cas.1.gz
+%{_mandir}/man1/wxcas.1.gz
+%{_mandir}/*/man1/wxcas.1.gz
+%{_mandir}/man1/amulegui.1.gz
+%{_mandir}/*/man1/amulegui.1.gz
+%exclude %{_datadir}/%{name}/webserver
+
+%files nogui
+%{_bindir}/alcc
+%{_bindir}/amulecmd
+%{_bindir}/amuled
+%{_bindir}/amuleweb
+%{_bindir}/ed2k
+%{_datadir}/%{name}/webserver
+%{_mandir}/man1/alcc.1.gz
+%{_mandir}/*/man1/alcc.1.gz
+%{_mandir}/man1/amulecmd.1.gz
+%{_mandir}/*/man1/amulecmd.1.gz
+%{_mandir}/man1/amuled.1.gz
+%{_mandir}/*/man1/amuled.1.gz
+%{_mandir}/man1/amuleweb.1.gz
+%{_mandir}/*/man1/amuleweb.1.gz
+%{_mandir}/man1/ed2k.1.gz
+%{_mandir}/*/man1/ed2k.1.gz
+
 
 %files -n xchat-%{name}
 %defattr(-,root,root)
+%{_bindir}/autostart-xas
 %{_libdir}/xchat/plugins/xas.pl
+%{_mandir}/man1/xas.1.gz
+%{_mandir}/*/man1/xas.1.gz
 
 
 %changelog
+* Thu Nov 20 2008 Aurelien Bompard <abompard at fedoraproject.org> 2.2.2-2
+- add remote GUI
+
+* Sat Nov 08 2008 Aurelien Bompard <abompard at fedoraproject.org> 2.2.2-1
+- version 2.2.2
+- patch 0 and 2 applied upstream
+- drop patch1
+- split off non-X-dependent tools
+
 * Sun Oct 26 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.1.3-5
 - rebuilt
 



More information about the rpmfusion-commits mailing list