Projects
Extra
aMule
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 61
View file
aMule.spec
Changed
@@ -24,7 +24,7 @@ Group: Productivity/Networking/Other URL: https://www.amule.org #https://github.com/amule-project/amule -Source: %{name}-%{version}.tar.xz +Source: %name-%version.tar.xz BuildRequires: binutils-devel BuildRequires: cmake BuildRequires: fdupes @@ -34,7 +34,7 @@ BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: wxWidgets-3_0-nostl-devel -%if ( 0%{?sle_version} == 150300 || 0%{?sle_version} == 150400 ) && 0%{?is_opensuse} +%if 0%{?suse_version} == 1500 BuildRequires: libboost_headers1_75_0-devel %else BuildRequires: boost-devel @@ -56,6 +56,8 @@ %prep %autosetup -p1 + +%build # remove shebang sed -i '/^#!/d' src/utils/xas/xas.pl #override version only for source 2.3.3.20210426.6d4c03b00 @@ -63,81 +65,77 @@ 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_ALC=ON \ + -DBUILD_ALCC=ON \ -DBUILD_AMULECMD=ON \ - -DBUILD_WEBSERVER=ON \ - -DBUILD_REMOTEGUI=ON \ -DBUILD_CAS=ON \ - -DBUILD_WXCAS=ON \ + -DBUILD_DAEMON=ON \ -DBUILD_ED2K=ON \ - -DBUILD_ALC=ON \ - -DBUILD_ALCC=ON \ - -DBUILD_XAS=ON \ -DBUILD_FILEVIEW=ON \ + -DBUILD_MONOLITHIC=ON \ + -DBUILD_REMOTEGUI=ON \ + -DBUILD_WEBSERVER=ON \ + -DBUILD_WXCAS=ON \ + -DBUILD_XAS=ON \ -DENABLE_UPNP=ON \ -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name} + -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 +%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} +rm %buildroot%_defaultdocdir/%name/{INSTALL,license.txt} -%find_lang %{name} --all-name --with-man -%fdupes %{buildroot} +%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} +%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 +%files lang -f %name.lang %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
.