Blame SPECS/libhandy.spec

ec87fb
Name:           libhandy
ec87fb
Version:        1.2.3
ec87fb
Release:        1%{?dist}
ec87fb
Summary:        Building blocks for modern adaptive GNOME apps
ec87fb
License:        LGPLv2+
ec87fb
ec87fb
URL:            https://gitlab.gnome.org/GNOME/libhandy
ec87fb
%global majmin %(echo %{version} | cut -d . -f -2)
ec87fb
Source0:        https://download.gnome.org/sources/libhandy/%{majmin}/libhandy-%{version}.tar.xz
ec87fb
ec87fb
BuildRequires:  gcc
ec87fb
BuildRequires:  gtk-doc
ec87fb
BuildRequires:  meson
ec87fb
BuildRequires:  vala
ec87fb
ec87fb
BuildRequires:  pkgconfig(gio-2.0)
ec87fb
BuildRequires:  pkgconfig(gladeui-2.0)
ec87fb
BuildRequires:  pkgconfig(glib-2.0) >= 2.44
ec87fb
BuildRequires:  pkgconfig(gmodule-2.0)
ec87fb
BuildRequires:  pkgconfig(gobject-introspection-1.0)
ec87fb
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.24.1
ec87fb
ec87fb
# Support graphical tests in non-graphical environment
ec87fb
BuildRequires:  xorg-x11-server-Xvfb
ec87fb
ec87fb
# Retired in F34
ec87fb
Obsoletes:      libhandy1 < 1.1.90-2
ec87fb
Conflicts:      libhandy1 < 1.1.90-2
ec87fb
Provides:       libhandy1 = %{version}-%{release}
ec87fb
Provides:       libhandy1%{?_isa} = %{version}-%{release}
ec87fb
ec87fb
%description
ec87fb
libhandy provides GTK+ widgets and GObjects to ease developing
ec87fb
applications for mobile phones.
ec87fb
ec87fb
ec87fb
%package        devel
ec87fb
Summary:        Development files for %{name}
ec87fb
Requires:       %{name}%{?_isa} = %{version}-%{release}
ec87fb
# Retired in F34
ec87fb
Obsoletes:      libhandy1-devel < 1.1.90-2
ec87fb
Conflicts:      libhandy1-devel < 1.1.90-2
ec87fb
Provides:       libhandy1-devel = %{version}-%{release}
ec87fb
Provides:       libhandy1-devel%{?_isa} = %{version}-%{release}
ec87fb
ec87fb
%description    devel
ec87fb
The %{name}-devel package contains libraries and header files for
ec87fb
developing applications that use %{name}.
ec87fb
ec87fb
ec87fb
%prep
ec87fb
%autosetup -n libhandy-%{version} -p1
ec87fb
ec87fb
ec87fb
%build
ec87fb
%meson -Dgtk_doc=true -Dexamples=false -Dtests=true
ec87fb
%meson_build
ec87fb
ec87fb
ec87fb
%install
ec87fb
%meson_install
ec87fb
ec87fb
%find_lang libhandy
ec87fb
ec87fb
ec87fb
%check
ec87fb
%{shrink:xvfb-run -a %meson_test}
ec87fb
ec87fb
ec87fb
%files -f libhandy.lang
ec87fb
%license COPYING
ec87fb
%doc AUTHORS
ec87fb
%doc HACKING.md
ec87fb
%doc NEWS
ec87fb
%doc README.md
ec87fb
ec87fb
%{_libdir}/girepository-1.0/
ec87fb
%{_libdir}/libhandy-1.so.0
ec87fb
ec87fb
%files devel
ec87fb
%{_includedir}/libhandy-1/
ec87fb
ec87fb
%{_libdir}/glade/
ec87fb
%{_libdir}/libhandy-1.so
ec87fb
%{_libdir}/pkgconfig/libhandy-1.pc
ec87fb
ec87fb
%{_datadir}/gir-1.0/
ec87fb
%{_datadir}/glade/
ec87fb
%{_datadir}/gtk-doc/
ec87fb
%{_datadir}/vala/
ec87fb
ec87fb
ec87fb
%changelog
ec87fb
* Tue Aug 24 2021 Kalev Lember <klember@redhat.com> - 1.2.3-1
ec87fb
- Update to 1.2.3
ec87fb
ec87fb
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0-4
ec87fb
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
ec87fb
  Related: rhbz#1991688
ec87fb
ec87fb
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.0-3
ec87fb
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
ec87fb
ec87fb
* Fri Mar 19 2021 Kalev Lember <klember@redhat.com> - 1.2.0-2
ec87fb
- Add conflicts with libhandy1 packages to help with the upgrade path
ec87fb
ec87fb
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 1.2.0-1
ec87fb
- Update to 1.2.0
ec87fb
ec87fb
* Wed Mar 03 2021 Kalev Lember <klember@redhat.com> - 1.1.90-2
ec87fb
- Update to 1.1.90 and libhandy 1 ABI, based on earlier libhandy1 packaging
ec87fb
- Obsolete separate libhandy1 and libhandy1-devel packages
ec87fb
ec87fb
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-7
ec87fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ec87fb
ec87fb
* Sun Sep 13 2020 Kalev Lember <klember@redhat.com> - 0.0.13-6
ec87fb
- Disable glade catalog for F33+
ec87fb
ec87fb
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-5
ec87fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ec87fb
ec87fb
* Fri May 22 2020 Kalev Lember <klember@redhat.com> - 0.0.13-3
ec87fb
- Rebuilt for libgladeui soname bump
ec87fb
ec87fb
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-2
ec87fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ec87fb
ec87fb
* Mon Jan 20 2020 Kalev Lember <klember@redhat.com> - 0.0.13-1
ec87fb
- Update to 0.0.13
ec87fb
ec87fb
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 0.0.11-1
ec87fb
- Update to 0.0.11
ec87fb
ec87fb
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.10-3
ec87fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ec87fb
ec87fb
* Mon Jul 22 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 0.0.10-2
ec87fb
- Add patch to fix installation of glade resources for flatpak builds
ec87fb
ec87fb
* Thu Jun 13 2019 Yanko Kaneti <yaneti@declera.com> - 0.0.10-1
ec87fb
- Update to 0.0.10
ec87fb
ec87fb
* Thu Mar 07 2019 Kalev Lember <klember@redhat.com> - 0.0.9-1
ec87fb
- Update to 0.0.9
ec87fb
ec87fb
* Fri Mar 1 2019 Yanko Kaneti <yaneti@declera.com> - 0.0.8-2
ec87fb
- Pull an upstream fix to prevent broken translations in
ec87fb
  libhandy using apps
ec87fb
ec87fb
* Sat Feb 16 2019 Kalev Lember <klember@redhat.com> - 0.0.8-1
ec87fb
- Update to 0.0.8
ec87fb
ec87fb
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.7-2
ec87fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ec87fb
ec87fb
* Thu Jan 24 2019 Kalev Lember <klember@redhat.com> - 0.0.7-1
ec87fb
- Update to 0.0.7
ec87fb
ec87fb
* Fri Jan 11 2019 Yanko Kaneti <yaneti@declera.com> - 0.0.6-2
ec87fb
- Swap some runtime vs devel bits
ec87fb
ec87fb
* Wed Jan 09 2019 Kalev Lember <klember@redhat.com> - 0.0.6-1
ec87fb
- Initial Fedora packaging