Overview

Request 5474 (accepted)

Fix memory issue and show correct aMule version

Submit package home:gcomes.pmbs / aMule to package Extra / aMule

aMule.changes Changed
x
 
1
@@ -1,4 +1,14 @@
2
 -------------------------------------------------------------------
3
+Sun Nov 14 14:41:53 UTC 2021 - Giacomo Comes <gcomes.obs@gmail.com> - 2.3.3
4
+
5
+- add BuildRequires:  readline-devel
6
+- add BuildRequires:  boost-devel
7
+  * fix memory issue for version 2.3.3
8
+  * select boost 1.75 for leap 15.3
9
+- show correct version instead of GIT
10
+- handle properly man pages translations tr and ro
11
+
12
+-------------------------------------------------------------------
13
 Mon Apr 26 07:44:59 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
14
 
15
 - Update to version 2.3.3.20210426.6d4c03b00 (see Changelog for
16
aMule.spec Changed
52
 
1
@@ -29,13 +29,19 @@
2
 BuildRequires:  cmake
3
 BuildRequires:  fdupes
4
 BuildRequires:  gcc-c++
5
-%if 0%{?suse_version} > 1500
6
+%if 0%{?suse_version} > 1500 || ( 0%{?sle_version} >= 150300 && 0%{?is_opensuse} )
7
 BuildRequires:  man-pages-ro
8
 %endif
9
 BuildRequires:  mozilla-nspr
10
 BuildRequires:  pkgconfig
11
 BuildRequires:  update-desktop-files
12
 BuildRequires:  wxWidgets-3_0-nostl-devel
13
+%if 0%{?sle_version} == 150300 && 0%{?is_opensuse}
14
+BuildRequires:  libboost_headers1_75_0-devel
15
+%else
16
+BuildRequires:  boost-devel
17
+%endif
18
+BuildRequires:  readline-devel
19
 BuildRequires:  pkgconfig(cryptopp)
20
 BuildRequires:  pkgconfig(gdlib)
21
 BuildRequires:  pkgconfig(libpng)
22
@@ -54,6 +60,10 @@
23
 %autosetup -p1
24
 # remove shebang
25
 sed -i '/^#!/d' src/utils/xas/xas.pl
26
+#override version only for source 2.3.3.20210426.6d4c03b00
27
+if [[ %version == 2.3.3.20210426.6d4c03b00 ]]; then
28
+    sed -i '/VERSION "GIT"/s@.*@set (VERSION "2.3.3")\nset (SVNDATE "git 20210426")@' CMakeLists.txt
29
+fi
30
 
31
 %build
32
 %cmake \
33
@@ -70,6 +80,7 @@
34
    -DBUILD_XAS=ON \
35
    -DBUILD_FILEVIEW=ON \
36
    -DENABLE_UPNP=ON \
37
+   -DCMAKE_BUILD_TYPE=Release \
38
    -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name}
39
 %cmake_build
40
 
41
@@ -127,8 +138,8 @@
42
 %{_mandir}/man1/xas.1%{?ext_man}
43
 
44
 %files lang -f %{name}.lang
45
-%if 0%{?suse_version} > 1500
46
+#only Leap 15.2/15.3 requires the next two lines
47
 %dir %{_mandir}/tr
48
-%endif
49
+%dir %{_mandir}/ro
50
 
51
 %changelog
52
Refresh
Refresh
Request History
Giacomo Comes's avatar

gcomes.pmbs created request over 3 years ago

Fix memory issue and show correct aMule version


enzokiel's avatar

enzokiel accepted request over 3 years ago