Projects
Extra
aMule
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
aMule.spec
Changed
@@ -1,11 +1,15 @@ Name: aMule Summary: Another eMule file-sharing program -Version: 2.3.1 -Release: 2 +Version: 2.3.1+git20140914.1007 +Release: 0 License: GPL-2.0+ Group: Productivity/Networking/Other URL: http://www.amule.org -Source0: http://downloads.sourceforge.net/project/amule/aMule/%{version}/aMule-%{version}.tar.bz2 +Source: aMule.tar.xz +Patch: 0001-Fix-desktop-files.patch +BuildRequires: binutils-devel +BuildRequires: libkde4-devel +BuildRequires: libqt4-devel BuildRequires: gcc-c++ gd-devel libpng-devel fdupes BuildRequires: libupnp-devel libcryptopp-devel libGeoIP-devel update-desktop-files %if 0%{?suse_version} < 1210 @@ -26,30 +30,41 @@ ### # Think about splitting up the packages: amulegui, amuled... ### +%package kde4 +Summary: Plasma widget for aMule +Requires: %{name} = %{version} +%description kde4 +This package contains the plasma widget for aMule. %prep -%setup -q +%setup -q -n %{name} +%patch -p1 %build -export CXXFLAGS='%{optflags} -fpermissive' %configure \ - --enable-optimize \ - --disable-debug \ - --enable-amulecmd \ - --enable-amule-gui \ + --enable-geoip \ + --disable-monolithic \ --enable-amule-daemon \ + --enable-amulecmd \ --enable-webserver \ - --enable-webservergui \ + --enable-amule-gui \ --enable-cas \ --enable-wxcas \ + --enable-ed2k \ --enable-alc \ --enable-alcc \ - --enable-geoip \ --enable-xas \ - --disable-silent-rules \ - --with-denoise-level=0 + --enable-fileview \ + --enable-plasmamule \ + --disable-static \ + --enable-upnp \ + --disable-debug \ + --disable-profile \ + --enable-optimize \ + --disable-ccache \ + --enable-mmap make %{?_smp_mflags} @@ -64,6 +79,13 @@ #tar -xf %{SOURCE1} -C %{buildroot}%{_datadir}/amule/ #mv %{buildroot}%{_datadir}/amule/amule__icon.png %{buildroot}%{_datadir}/pixmaps/amule.png +# Don't overwrite system locale.alias +rm -f %{buildroot}%{_datadir}/locale/locale.alias + +# Move amule.xml to right place +mkdir -p %{buildroot}%{_datadir}/mime/packages +mv %{buildroot}%{_datadir}/mime/*.xml %{buildroot}%{_datadir}/mime/packages/ + %find_lang amule %fdupes -s %buildroot @@ -85,5 +107,16 @@ %dir %{_datadir}/cas %dir %{_mandir}/tr %dir %{_mandir}/hu +%exclude %{_bindir}/plasmamule-engine-feeder +%exclude %{_datadir}/applications/plasmamule-engine-feeder.desktop + +%files kde4 +%defattr(-,root,root) +%{_bindir}/plasmamule-engine-feeder +%{_libdir}/kde4/*.so +%{_datadir}/kde4/services/* +%{_datadir}/applications/plasmamule-engine-feeder.desktop +%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-emulecollection.svg +%{_datadir}/mime/packages/amule.xml %changelog
View file
0001-Fix-desktop-files.patch
Added
@@ -0,0 +1,88 @@ +From a00e68e57c589a7050fe16b89db3d79a2328cbd8 Mon Sep 17 00:00:00 2001 +From: Johannes Obermayr <johannesobermayr@gmx.de> +Date: Sun, 14 Sep 2014 03:25:32 +0200 +Subject: [PATCH] Fix desktop files. + +--- + amule.desktop | 8 ++++---- + amulegui.desktop | 10 +++++----- + src/utils/aLinkCreator/alc.desktop | 10 +++++----- + src/utils/wxCas/wxcas.desktop | 10 +++++----- + 4 files changed, 19 insertions(+), 19 deletions(-) + +diff --git a/amule.desktop b/amule.desktop +index 70be367..dfaf90e 100644 +--- a/amule.desktop ++++ b/amule.desktop +@@ -1,10 +1,10 @@ + [Desktop Entry] + Name=aMule + Exec=amule +-Icon=amule ++Icon=amulegui + Terminal=false + Type=Application + Categories=Network;P2P; +-Comment=A client for the eD2k network +-Comment[fr]=Un client pour le réseau eD2k +-Comment[tr]=eD2k ağı için istemci ++GenericName=A client for the eD2k network ++GenericName[fr]=Un client pour le réseau eD2k ++GenericName[tr]=eD2k ağı için istemci +diff --git a/amulegui.desktop b/amulegui.desktop +index 8a446fd..be900f6 100644 +--- a/amulegui.desktop ++++ b/amulegui.desktop +@@ -5,8 +5,8 @@ Icon=amulegui + Terminal=false + Type=Application + Categories=Network;P2P; +-Comment=aMule remote control +-Comment[de]=aMule-Fernsteuerung +-Comment[fr]=Contrôle à distance d'aMule +-Comment[hu]=aMule távoli vezérlő +-Comment[tr]=aMule uzaktan kumandası ++GenericName=aMule remote control ++GenericName[de]=aMule-Fernsteuerung ++GenericName[fr]=Contrôle à distance d'aMule ++GenericName[hu]=aMule távoli vezérlő ++GenericName[tr]=aMule uzaktan kumandası +diff --git a/src/utils/aLinkCreator/alc.desktop b/src/utils/aLinkCreator/alc.desktop +index 50bf610..0f6a839 100644 +--- a/src/utils/aLinkCreator/alc.desktop ++++ b/src/utils/aLinkCreator/alc.desktop +@@ -5,8 +5,8 @@ Icon=alc + Terminal=false + Type=Application + Categories=Network;P2P; +-Comment=aMule ed2k link creator +-Comment[de]=ed2k-Linkersteller +-Comment[fr]=Créateur de liens ed2k d'aMule +-Comment[hu]=ed2k hivatkozás készítő +-Comment[tr]=aMule için ed2k bağlantı yaratıcısı ++GenericName=aMule ed2k link creator ++GenericName[de]=ed2k-Linkersteller ++GenericName[fr]=Créateur de liens ed2k d'aMule ++GenericName[hu]=ed2k hivatkozás készítő ++GenericName[tr]=aMule için ed2k bağlantı yaratıcısı +diff --git a/src/utils/wxCas/wxcas.desktop b/src/utils/wxCas/wxcas.desktop +index b943ee8..0e64b76 100644 +--- a/src/utils/wxCas/wxcas.desktop ++++ b/src/utils/wxCas/wxcas.desktop +@@ -5,8 +5,8 @@ Icon=wxcas + Terminal=false + Type=Application + Categories=Network;P2P; +-Comment=aMule online statistics +-Comment[de]=aMule-Onlinestatistik +-Comment[fr]=Statistiques d'aMule en ligne +-Comment[hu]=aMule online statisztikák +-Comment[tr]=Çevrim içi aMule istatistikleri ++GenericName=aMule online statistics ++GenericName[de]=aMule-Onlinestatistik ++GenericName[fr]=Statistiques d'aMule en ligne ++GenericName[hu]=aMule online statisztikák ++GenericName[tr]=Çevrim içi aMule istatistikleri +-- +2.1.0 +
View file
aMule-2.3.1.tar.bz2
Deleted
View file
aMule.tar.xz
Added
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.