Skip to content

Commit 0abef50

Browse files
authored
Upgrade: libsigc++20 version to 2.12.1 (#11046)
1 parent 5ceb2bf commit 0abef50

3 files changed

Lines changed: 33 additions & 26 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"libsigc++-2.10.3.tar.xz": "0b68dfc6313c6cc90ac989c6d722a1bf0585ad13846e79746aa87cb265904786"
3+
"libsigc++-2.12.1.tar.xz": "a9dbee323351d109b7aee074a9cb89ca3e7bcf8ad8edef1851f4cf359bd50843"
44
}
5-
}
5+
}

SPECS-EXTENDED/libsigc++20/libsigc++20.spec

Lines changed: 29 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@ Distribution: Azure Linux
44
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
55

66
Name: libsigc++20
7-
Version: 2.10.3
8-
Release: 2%{?dist}
7+
Version: 2.12.1
8+
Release: 1%{?dist}
99
Summary: Typesafe signal framework for C++
1010

11-
License: LGPLv2+
12-
URL: http://libsigc.sourceforge.net/
13-
Source0: http://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz
11+
License: LGPL-2.1-or-later
12+
URL: https://github.com/libsigcplusplus/libsigcplusplus
13+
Source0: https://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz
1414

15+
BuildRequires: docbook-style-xsl
16+
BuildRequires: doxygen
1517
BuildRequires: gcc-c++
18+
BuildRequires: libxslt
1619
BuildRequires: m4
17-
BuildRequires: perl-interpreter
20+
BuildRequires: meson
1821
BuildRequires: perl(Getopt::Long)
22+
BuildRequires: perl-interpreter
1923

2024
%description
2125
libsigc++ implements a typesafe callback system for standard C++. It
@@ -34,7 +38,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
3438
%description devel
3539
The %{name}-devel package contains the static libraries and header files
3640
needed for development with %{name}.
37-
41+
3842

3943
%package doc
4044
Summary: Documentation for %{name}, includes full API docs
@@ -46,38 +50,41 @@ This package contains the full API documentation for %{name}.
4650

4751

4852
%prep
49-
%setup -q -n libsigc++-%{version}
53+
%autosetup -n libsigc++-%{version}
5054

55+
chmod -x NEWS
5156

52-
%build
53-
%configure
54-
make %{?_smp_mflags}
5557

58+
%build
59+
%meson -Dbuild-documentation=false
60+
%meson_build
5661

5762
%install
58-
%make_install
59-
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
60-
63+
%meson_install
6164

6265
%files
6366
%license COPYING
64-
%doc AUTHORS README NEWS
65-
%{_libdir}/*.so.*
67+
%doc NEWS README.md
68+
%{_libdir}/libsigc-2.0.so.0*
6669

6770
%files devel
68-
%{_includedir}/*
71+
%{_includedir}/sigc++-2.0/
6972
%{_libdir}/sigc++-2.0/
70-
%{_libdir}/pkgconfig/*.pc
71-
%{_libdir}/*.so
73+
%{_libdir}/pkgconfig/sigc++-2.0.pc
74+
%{_libdir}/libsigc-2.0.so
7275

73-
%files doc
74-
%doc %{_datadir}/doc/libsigc++-2.0/
76+
#%files doc
77+
#%doc %{_datadir}/doc/libsigc++-2.0/
7578
# according guidelines, we can co-own this, since devhelp is not required
7679
# for accessing documentation
77-
%doc %{_datadir}/devhelp/
80+
#%doc %{_datadir}/devhelp/
7881

7982

8083
%changelog
84+
* Mon Nov 11 2024 Sumit Jena <v-sumitjena@microsoft.com> - 2.12.1-1
85+
- Update to version 2.12.1
86+
- License verified.
87+
8188
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.10.3-2
8289
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
8390

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11021,8 +11021,8 @@
1102111021
"type": "other",
1102211022
"other": {
1102311023
"name": "libsigc++20",
11024-
"version": "2.10.3",
11025-
"downloadUrl": "http://download.gnome.org/sources/libsigc++/2.10/libsigc++-2.10.3.tar.xz"
11024+
"version": "2.12.1",
11025+
"downloadUrl": "https://download.gnome.org/sources/libsigc++/2.12/libsigc++-2.12.1.tar.xz"
1102611026
}
1102711027
}
1102811028
},

0 commit comments

Comments
 (0)