Blame libhandy.spec

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