libsigcplusplus30/libsigc++30.spec

130 lines
3.8 KiB
RPMSpec
Raw Normal View History

2019-09-06 09:23:02 +00:00
# first two digits of version
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
Name: libsigc++30
2023-01-02 14:03:30 +00:00
Version: 3.4.0
Release: 3%{?dist}
2019-09-06 09:23:02 +00:00
Summary: Typesafe signal framework for C++
License: LGPLv2+
2020-09-28 18:31:58 +00:00
URL: https://github.com/libsigcplusplus/libsigcplusplus
2019-09-06 09:23:02 +00:00
Source0: https://download.gnome.org/sources/libsigc++/%{release_version}/libsigc++-%{version}.tar.xz
2020-09-28 18:31:11 +00:00
BuildRequires: docbook-style-xsl
BuildRequires: doxygen
2019-09-06 09:23:02 +00:00
BuildRequires: gcc-c++
2020-09-28 18:31:11 +00:00
BuildRequires: libxslt
2019-09-06 09:23:02 +00:00
BuildRequires: m4
2020-09-28 18:31:11 +00:00
BuildRequires: meson
2019-09-06 09:23:02 +00:00
BuildRequires: perl(Getopt::Long)
2020-09-28 18:31:11 +00:00
BuildRequires: perl-interpreter
2019-09-06 09:23:02 +00:00
%description
libsigc++ implements a typesafe callback system for standard C++. It
allows you to define signals and to connect those signals to any
callback function, either global or a member function, regardless of
whether it is static or virtual.
libsigc++ is used by gtkmm to wrap the GTK+ signal system. It does not
depend on GTK+ or gtkmm.
%package devel
Summary: Development tools for the typesafe signal framework for C++
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains the static libraries and header files
needed for development with %{name}.
%package doc
Summary: Documentation for %{name}, includes full API docs
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description doc
This package contains the full API documentation for %{name}.
%prep
2022-03-25 07:59:11 +00:00
%autosetup -n libsigc++-%{version}
2019-09-06 09:23:02 +00:00
%build
2020-09-28 18:31:11 +00:00
%meson -Dbuild-documentation=true
%meson_build
2019-09-06 09:23:02 +00:00
%install
2020-09-28 18:31:11 +00:00
%meson_install
2019-09-06 09:23:02 +00:00
%files
%license COPYING
%doc AUTHORS README.md NEWS
%{_libdir}/libsigc-3.0.so.0*
2019-09-06 09:23:02 +00:00
%files devel
2022-03-25 07:59:11 +00:00
%{_includedir}/sigc++-3.0/
2019-09-06 09:23:02 +00:00
%{_libdir}/sigc++-3.0/
2022-03-25 07:59:11 +00:00
%{_libdir}/pkgconfig/sigc++-3.0.pc
%{_libdir}/libsigc-3.0.so
2019-09-06 09:23:02 +00:00
%files doc
%doc %{_datadir}/doc/libsigc++-3.0/
%doc %{_datadir}/devhelp/
%changelog
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-01-02 14:03:30 +00:00
* Mon Jan 02 2023 David King <amigadave@amigadave.com> - 3.4.0-1
- Update to 3.4.0
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2022-03-25 07:59:11 +00:00
* Fri Mar 25 2022 David King <amigadave@amigadave.com> - 3.2.0-1
- Update to 3.2.0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2021-05-26 10:51:55 +00:00
* Wed May 26 2021 Kalev Lember <klember@redhat.com> - 3.0.7-1
- Update to 3.0.7
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-11-25 16:44:20 +00:00
* Wed Nov 25 2020 Kalev Lember <klember@redhat.com> - 3.0.6-1
- Update to 3.0.6
2020-09-28 18:31:11 +00:00
* Mon Sep 28 2020 Kalev Lember <klember@redhat.com> - 3.0.4-1
2020-09-28 13:17:16 +00:00
- Update to 3.0.4
2020-09-28 18:31:11 +00:00
- Switch to meson build system
2020-09-28 18:31:58 +00:00
- Update upstream URL
- Tighten soname globs
2020-09-28 13:17:16 +00:00
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2020-03-27 21:17:29 +00:00
* Fri Mar 27 2020 Kalev Lember <klember@redhat.com> - 3.0.3-1
- Update to 3.0.3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2020-01-07 11:54:51 +00:00
* Tue Jan 07 2020 Kalev Lember <klember@redhat.com> - 3.0.2-1
- Update to 3.0.2
2019-09-06 09:23:02 +00:00
* Thu Sep 05 2019 Kalev Lember <klember@redhat.com> - 3.0.0-1
- Initial Fedora packaging, based on libsigc++20