Projects
Extra
aMule
aMule.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aMule.spec of Package aMule (Revision 59)
Currently displaying revision
59
,
Show latest
# # spec file for package aMule # # Copyright (c) 2021 Packman Team <packman@links2linux.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.links2linux.org/ # Name: aMule Version: 2.3.3.20210426.6d4c03b00 Release: 0 Summary: Another eMule file-sharing program License: GPL-2.0-or-later Group: Productivity/Networking/Other URL: https://www.amule.org #https://github.com/amule-project/amule Source: %{name}-%{version}.tar.xz BuildRequires: binutils-devel BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ %if 0%{?suse_version} > 1500 || ( 0%{?sle_version} >= 150300 && 0%{?is_opensuse} ) BuildRequires: man-pages-ro %endif BuildRequires: mozilla-nspr BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: wxWidgets-3_0-nostl-devel %if 0%{?sle_version} == 150300 && 0%{?is_opensuse} BuildRequires: libboost_headers1_75_0-devel %else BuildRequires: boost-devel %endif BuildRequires: readline-devel BuildRequires: pkgconfig(cryptopp) BuildRequires: pkgconfig(gdlib) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libupnp) Conflicts: aMule-kde4 %description aMule stand for another eMule file-sharing program, it is also another fork of the xMule (former lMule) project. It connects to eDonkey2000 network, supports Linux, *BSD platforms, and has a new vision of the GUI. %lang_package %prep %autosetup -p1 # remove shebang sed -i '/^#!/d' src/utils/xas/xas.pl #override version only for source 2.3.3.20210426.6d4c03b00 if [[ %version == 2.3.3.20210426.6d4c03b00 ]]; then sed -i '/VERSION "GIT"/s@.*@set (VERSION "2.3.3")\nset (SVNDATE "git 20210426")@' CMakeLists.txt fi %build %cmake \ -DBUILD_MONOLITHIC=ON \ -DBUILD_DAEMON=ON \ -DBUILD_AMULECMD=ON \ -DBUILD_WEBSERVER=ON \ -DBUILD_REMOTEGUI=ON \ -DBUILD_CAS=ON \ -DBUILD_WXCAS=ON \ -DBUILD_ED2K=ON \ -DBUILD_ALC=ON \ -DBUILD_ALCC=ON \ -DBUILD_XAS=ON \ -DBUILD_FILEVIEW=ON \ -DENABLE_UPNP=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name} %cmake_build %install %cmake_install %suse_update_desktop_file -G "P2P Client" -i amule Network P2P %suse_update_desktop_file %{buildroot}%{_datadir}/applications/alc.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/applications/amulegui.desktop %suse_update_desktop_file %{buildroot}%{_datadir}/applications/wxcas.desktop rm %{buildroot}%{_defaultdocdir}/%{name}/{INSTALL,license.txt} %find_lang %{name} --all-name --with-man %fdupes %{buildroot} %files %license docs/license.txt %doc docs/AUTHORS %doc %{_defaultdocdir}/* %{_bindir}/alc %{_bindir}/alcc %{_bindir}/amule %{_bindir}/amulecmd %{_bindir}/amuled %{_bindir}/amulegui %{_bindir}/amuleweb %{_bindir}/autostart-xas %{_bindir}/cas %{_bindir}/ed2k %{_bindir}/fileview %{_bindir}/wxcas %dir %{_datadir}/amule %{_datadir}/amule/skins %{_datadir}/amule/webserver %{_datadir}/applications/alc.desktop %{_datadir}/applications/amule.desktop %{_datadir}/applications/amulegui.desktop %{_datadir}/applications/wxcas.desktop %{_datadir}/cas %{_datadir}/pixmaps/*.xpm %dir %{_libdir}/xchat %dir %{_libdir}/xchat/plugins %{_libdir}/xchat/plugins/xas.pl %{_mandir}/man1/alc.1%{?ext_man} %{_mandir}/man1/alcc.1%{?ext_man} %{_mandir}/man1/amule.1%{?ext_man} %{_mandir}/man1/amulecmd.1%{?ext_man} %{_mandir}/man1/amuled.1%{?ext_man} %{_mandir}/man1/amulegui.1%{?ext_man} %{_mandir}/man1/amuleweb.1%{?ext_man} %{_mandir}/man1/cas.1%{?ext_man} %{_mandir}/man1/ed2k.1%{?ext_man} %{_mandir}/man1/wxcas.1%{?ext_man} %{_mandir}/man1/xas.1%{?ext_man} %files lang -f %{name}.lang #only Leap 15.2/15.3 requires the next two lines %dir %{_mandir}/tr %dir %{_mandir}/ro %changelog
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
.