Overview

Request 5381 (accepted)

Update to version 2.3.3.20210426.6d4c03b00

Submit package home:Aloysius:branches:Extra / aMule to package Extra / aMule

aMule.changes Changed
x
 
1
@@ -1,4 +1,26 @@
2
 -------------------------------------------------------------------
3
+Mon Apr 26 07:44:59 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
4
+
5
+- Update to version 2.3.3.20210426.6d4c03b00 (see Changelog for
6
+  more details)
7
+  * CMake support. CMake provides us platform-independent
8
+    configuration files and generates native makefiles and
9
+    workspaces for the compiler of your choice. It's highly
10
+    experimental in its current state, but it aims to take the
11
+    place of good old autoconf/automake one day.
12
+  * Command completion with the TAB key in amulecmd.
13
+  * Supports compilation with the latest C++ standard (C++17).
14
+  * Scope graphs now (should) work on Mac.
15
+  * Notification when a download completes.
16
+  Requirements:
17
+  * For UPnP you need at least libupnp-1.6.7.
18
+  * For C++17 you need at least Cryptopp-6.0.0.
19
+  * For notifications you need at least wxWidgets-2.9.0.
20
+- Add -lang subpackage
21
+- Switch build to cmake
22
+- Spec cleanup
23
+
24
+-------------------------------------------------------------------
25
 Mon Dec 14 19:09:13 UTC 2020 - Fridrich Strba <fridrich.strba@bluewin.ch>
26
 
27
 - Update to version 2.3.2.20201016.9fd038f82
28
aMule.spec Changed
201
 
1
@@ -1,6 +1,8 @@
2
 #
3
 # spec file for package aMule
4
 #
5
+# Copyright (c) 2021 Packman Team <packman@links2linux.de>
6
+#
7
 # All modifications and additions to the file contributed by third parties
8
 # remain the property of their copyright owners, unless otherwise agreed
9
 # upon. The license for this file, and modifications and additions to the
10
@@ -10,38 +12,34 @@
11
 # license that conforms to the Open Source Definition (Version 1.9)
12
 # published by the Open Source Initiative.
13
 
14
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
15
+# Please submit bugfixes or comments via https://bugs.links2linux.org/
16
 #
17
 
18
 
19
 Name:           aMule
20
-Version:        2.3.2.20201016.9fd038f82
21
+Version:        2.3.3.20210426.6d4c03b00
22
 Release:        0
23
 Summary:        Another eMule file-sharing program
24
-License:        GPL-2.0+
25
+License:        GPL-2.0-or-later
26
 Group:          Productivity/Networking/Other
27
-Url:            http://www.amule.org
28
+URL:            https://www.amule.org
29
 #https://github.com/amule-project/amule
30
 Source:         %{name}-%{version}.tar.xz
31
-BuildRequires:  autoconf
32
-BuildRequires:  automake >= 1.9
33
 BuildRequires:  binutils-devel
34
+BuildRequires:  cmake
35
 BuildRequires:  fdupes
36
 BuildRequires:  gcc-c++
37
+%if 0%{?suse_version} > 1500
38
+BuildRequires:  man-pages-ro
39
+%endif
40
 BuildRequires:  mozilla-nspr
41
 BuildRequires:  pkgconfig
42
 BuildRequires:  update-desktop-files
43
 BuildRequires:  wxWidgets-3_0-nostl-devel
44
 BuildRequires:  pkgconfig(cryptopp)
45
 BuildRequires:  pkgconfig(gdlib)
46
-%if 0%{?suse_version} < 1500
47
-BuildRequires:  pkgconfig(geoip)
48
-%endif
49
 BuildRequires:  pkgconfig(libpng)
50
 BuildRequires:  pkgconfig(libupnp)
51
-%if 0%{?suse_version} < 1500
52
-Requires:       GeoIP
53
-%endif
54
 Conflicts:      aMule-kde4
55
 
56
 %description
57
@@ -50,75 +48,87 @@
58
 to eDonkey2000 network, supports Linux, *BSD platforms, and has
59
 a new vision of the GUI.
60
 
61
+%lang_package
62
+
63
 %prep
64
 %autosetup -p1
65
+# remove shebang
66
+sed -i '/^#!/d' src/utils/xas/xas.pl
67
 
68
 %build
69
-./autogen.sh
70
-%configure \
71
-%if 0%{?suse_version} < 1500
72
-  --enable-geoip \
73
-%endif
74
-  --enable-monolithic \
75
-  --enable-amule-daemon \
76
-  --enable-amulecmd \
77
-  --enable-webserver \
78
-  --enable-amule-gui \
79
-  --enable-cas \
80
-  --enable-wxcas \
81
-  --enable-ed2k \
82
-  --enable-alc \
83
-  --enable-alcc \
84
-  --enable-xas \
85
-  --enable-fileview \
86
-  --disable-static \
87
-  --enable-upnp \
88
-  --disable-debug \
89
-  --disable-profile \
90
-  --enable-optimize \
91
-  --disable-ccache \
92
-  --enable-mmap
93
-
94
-make %{?_smp_mflags} V=1
95
+%cmake \
96
+   -DBUILD_MONOLITHIC=ON \
97
+   -DBUILD_DAEMON=ON \
98
+   -DBUILD_AMULECMD=ON \
99
+   -DBUILD_WEBSERVER=ON \
100
+   -DBUILD_REMOTEGUI=ON \
101
+   -DBUILD_CAS=ON \
102
+   -DBUILD_WXCAS=ON \
103
+   -DBUILD_ED2K=ON \
104
+   -DBUILD_ALC=ON \
105
+   -DBUILD_ALCC=ON \
106
+   -DBUILD_XAS=ON \
107
+   -DBUILD_FILEVIEW=ON \
108
+   -DENABLE_UPNP=ON \
109
+   -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name}
110
+%cmake_build
111
 
112
 %install
113
-%make_install docdir=%{_defaultdocdir}/aMule.xxx
114
-rm -rfv %{buildroot}/%{_defaultdocdir}/aMule.xxx
115
+%cmake_install
116
 
117
 %suse_update_desktop_file -G "P2P Client" -i amule Network P2P
118
-%suse_update_desktop_file  %{buildroot}/%{_datadir}/applications/alc.desktop
119
-%suse_update_desktop_file  %{buildroot}/%{_datadir}/applications/amulegui.desktop
120
-%suse_update_desktop_file  %{buildroot}/%{_datadir}/applications/wxcas.desktop
121
-
122
-#tar -xf %%{SOURCE1} -C %%{buildroot}%%{_datadir}/amule/
123
-#mv %%{buildroot}%%{_datadir}/amule/amule__icon.png %%{buildroot}%%{_datadir}/pixmaps/amule.png
124
+%suse_update_desktop_file  %{buildroot}%{_datadir}/applications/alc.desktop
125
+%suse_update_desktop_file  %{buildroot}%{_datadir}/applications/amulegui.desktop
126
+%suse_update_desktop_file  %{buildroot}%{_datadir}/applications/wxcas.desktop
127
 
128
-# Don't overwrite system locale.alias
129
-rm -f %{buildroot}%{_datadir}/locale/locale.alias
130
+rm %{buildroot}%{_defaultdocdir}/%{name}/{INSTALL,license.txt}
131
 
132
-%find_lang amule
133
+%find_lang %{name} --all-name --with-man
134
+%fdupes %{buildroot}
135
 
136
-%fdupes -s %{buildroot}
137
-
138
-%files -f amule.lang
139
-%defattr(-,root,root)
140
-%doc docs/AUTHORS docs/Changelog docs/README docs/license.txt
141
-%{_mandir}/*/*
142
-%{_bindir}/*
143
-%{_libdir}/xchat/plugins/xas.pl
144
-%{_datadir}/amule/*
145
-%{_datadir}/cas/*
146
-%{_datadir}/locale/*/LC_MESSAGES/*
147
-%{_datadir}/applications/*
148
-%{_datadir}/pixmaps/*
149
+%files
150
+%license docs/license.txt
151
+%doc docs/AUTHORS
152
+%doc %{_defaultdocdir}/*
153
+%{_bindir}/alc
154
+%{_bindir}/alcc
155
+%{_bindir}/amule
156
+%{_bindir}/amulecmd
157
+%{_bindir}/amuled
158
+%{_bindir}/amulegui
159
+%{_bindir}/amuleweb
160
+%{_bindir}/autostart-xas
161
+%{_bindir}/cas
162
+%{_bindir}/ed2k
163
+%{_bindir}/fileview
164
+%{_bindir}/wxcas
165
+%dir %{_datadir}/amule
166
+%{_datadir}/amule/skins
167
+%{_datadir}/amule/webserver
168
+%{_datadir}/applications/alc.desktop
169
+%{_datadir}/applications/amule.desktop
170
+%{_datadir}/applications/amulegui.desktop
171
+%{_datadir}/applications/wxcas.desktop
172
+%{_datadir}/cas
173
+%{_datadir}/pixmaps/*.xpm
174
 %dir %{_libdir}/xchat
175
 %dir %{_libdir}/xchat/plugins
176
-%dir %{_datadir}/amule
177
-%dir %{_datadir}/cas
178
-%dir %{_mandir}/ro
179
+%{_libdir}/xchat/plugins/xas.pl
180
+%{_mandir}/man1/alc.1%{?ext_man}
181
+%{_mandir}/man1/alcc.1%{?ext_man}
182
+%{_mandir}/man1/amule.1%{?ext_man}
183
+%{_mandir}/man1/amulecmd.1%{?ext_man}
184
+%{_mandir}/man1/amuled.1%{?ext_man}
185
+%{_mandir}/man1/amulegui.1%{?ext_man}
186
+%{_mandir}/man1/amuleweb.1%{?ext_man}
187
+%{_mandir}/man1/cas.1%{?ext_man}
188
+%{_mandir}/man1/ed2k.1%{?ext_man}
189
+%{_mandir}/man1/wxcas.1%{?ext_man}
190
+%{_mandir}/man1/xas.1%{?ext_man}
191
+
192
+%files lang -f %{name}.lang
193
+%if 0%{?suse_version} > 1500
194
 %dir %{_mandir}/tr
195
-%dir %{_mandir}/hu
196
-%exclude %{_bindir}/plasmamule-engine-feeder
197
-%exclude %{_datadir}/applications/plasmamule-engine-feeder.desktop
198
+%endif
199
 
200
 %changelog
201
_service Changed
10
 
1
@@ -2,7 +2,7 @@
2
   <service name="tar_scm" mode="disabled">
3
     <param name="url">git://github.com/amule-project/amule.git</param>
4
     <param name="scm">git</param>
5
-    <param name="versionformat">2.3.2.%cd.%h</param>
6
+    <param name="versionformat">@PARENT_TAG@.%cd.%h</param>
7
     <param name="revision">master</param>
8
     <param name="filename">aMule</param>
9
   </service>
10
aMule-2.3.2.20201016.9fd038f82.tar.xz Deleted
aMule-2.3.3.20210426.6d4c03b00.tar.xz Added
Refresh
Refresh
Request History
Luigi Baldoni's avatar

Aloysius created request about 4 years ago

Update to version 2.3.3.20210426.6d4c03b00


Luigi Baldoni's avatar

Aloysius accepted request almost 4 years ago