Blame granite.spec

88405bc
%global common_description %{expand:
88405bc
Granite is a companion library for GTK+ and GLib. Among other things, it
88405bc
provides complex widgets and convenience functions designed for use in
88405bc
apps built for elementary.}
88405bc
656a175
Name:           granite
ee3c8c5
Summary:        elementary companion library for GTK+ and GLib
88405bc
Version:        5.2.2
c0fd3f2
Release:        2%{?dist}
656a175
License:        LGPLv3+
656a175
d5d3312
URL:            https://github.com/elementary/%{name}
d5d3312
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
656a175
88405bc
# ported to meson, patch already accepted upstream
88405bc
# https://github.com/elementary/granite/commit/2066b37
88405bc
Patch0:         00-meson-port.patch
88405bc
88405bc
# small meson regression fix from upstream
88405bc
# https://github.com/elementary/granite/commit/f1b29f5
88405bc
Patch1:         01-meson-pkgconfig-requires-fix.patch
88405bc
88405bc
# move required "clock-format" gsettings key from wingpanel-indicator-datetime:
88405bc
# this is a temporary fix - especially for third-party applications - until
88405bc
# this issue can be resolved better upstream
88405bc
Patch2:         02-datetime-clock-format-gsettings.patch
88405bc
656a175
BuildRequires:  desktop-file-utils
656a175
BuildRequires:  gettext
88405bc
BuildRequires:  meson
ee3c8c5
BuildRequires:  vala >= 0.40
656a175
656a175
BuildRequires:  pkgconfig(gee-0.8)
656a175
BuildRequires:  pkgconfig(glib-2.0)
ee3c8c5
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22
656a175
BuildRequires:  pkgconfig(gobject-introspection-1.0)
656a175
656a175
# granite provides and needs some generic icons
656a175
Requires:       hicolor-icon-theme
656a175
88405bc
%description %{common_description}
656a175
656a175
656a175
%package        devel
656a175
Summary:        Granite Toolkit development headers
656a175
Requires:       %{name}%{?_isa} = %{version}-%{release}
88405bc
%description    devel %{common_description}
656a175
656a175
This package contains the development headers.
656a175
656a175
656a175
%prep
88405bc
%autosetup -p1
656a175
656a175
656a175
%build
88405bc
%meson
88405bc
%meson_build
656a175
656a175
656a175
%install
88405bc
%meson_install
656a175
656a175
%find_lang granite
656a175
656a175
656a175
%check
e01ca30
desktop-file-validate \
e01ca30
    %{buildroot}/%{_datadir}/applications/granite-demo.desktop
656a175
656a175
656a175
%files -f granite.lang
ee3c8c5
%doc README.md
656a175
%license COPYING
656a175
ee3c8c5
%{_libdir}/libgranite.so.5
88405bc
%{_libdir}/libgranite.so.5.*
88405bc
656a175
%{_libdir}/girepository-1.0/Granite-1.0.typelib
656a175
88405bc
%{_datadir}/glib-2.0/schemas/io.elementary.granite.gschema.xml
88405bc
656a175
%{_datadir}/icons/hicolor/*/actions/appointment.svg
656a175
%{_datadir}/icons/hicolor/*/actions/open-menu.svg
656a175
%{_datadir}/icons/hicolor/scalable/actions/open-menu-symbolic.svg
656a175
656a175
ee3c8c5
%files devel
88405bc
%doc README.md
88405bc
%license COPYING
88405bc
656a175
%{_bindir}/granite-demo
656a175
656a175
%{_libdir}/libgranite.so
656a175
%{_libdir}/pkgconfig/granite.pc
656a175
656a175
%{_includedir}/granite/
656a175
656a175
%{_datadir}/applications/granite-demo.desktop
656a175
%{_datadir}/gir-1.0/Granite-1.0.gir
656a175
%{_datadir}/vala/vapi/granite.deps
656a175
%{_datadir}/vala/vapi/granite.vapi
656a175
656a175
656a175
%changelog
c0fd3f2
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
c0fd3f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c0fd3f2
88405bc
* Mon Dec 17 2018 Fabio Valentini <decathorpe@gmail.com> - 5.2.2-1
88405bc
- Update to version 5.2.2.
88405bc
- Add patch to fix a meson regression with the pkgconfig file.
88405bc
88405bc
* Sun Dec 16 2018 Fabio Valentini <decathorpe@gmail.com> - 5.2.1-1
88405bc
- Update to version 5.2.1.
88405bc
- Port to meson.
88405bc
- Resolve circular dependencies within Pantheon and fix third-party applications.
88405bc
13efda7
* Mon Aug 27 2018 Fabio Valentini <decathorpe@gmail.com> - 5.1.0-1
13efda7
- Update to version 5.1.0.
13efda7
5e4af05
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2
5e4af05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5e4af05
ee3c8c5
* Sat Jun 09 2018 Fabio Valentini <decathorpe@gmail.com> - 5.0-1
ee3c8c5
- Update to version 5.0.
ee3c8c5
144373d
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
144373d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
144373d
e01ca30
* Sat Jan 06 2018 Fabio Valentini <decathorpe@gmail.com> - 0.5-2
e01ca30
- Remove icon cache scriptlets, replaced by file triggers.
e01ca30
0db19df
* Fri Nov 03 2017 Fabio Valentini <decathorpe@gmail.com> - 0.5-1
0db19df
- Update to version 0.5.
0db19df
9f761b9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
9f761b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9f761b9
c294258
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
c294258
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c294258
d5d3312
* Sun May 07 2017 Fabio Valentini <decathorpe@gmail.com> - 0.4.1-1
d5d3312
- Update to version 0.4.1.
d5d3312
aa10f57
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.1-9
aa10f57
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
aa10f57
b0113bf
* Tue Jan 24 2017 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-8
b0113bf
- Make BR on /usr/bin/pkg-config explicit.
b0113bf
656a175
* Sun Nov 27 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-7
656a175
- Check granite-demo.desktop file explicitly.
656a175
- Correct license (s/LGPLv3/LGPLv3+).
656a175
656a175
* Sun Nov 27 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-6
656a175
- Add missing Requires to -devel.
656a175
656a175
* Thu Nov 24 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-5
656a175
- Spec file cosmetics.
656a175
656a175
* Thu Sep 29 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-4
656a175
- Mass rebuild.
656a175
656a175
* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-3
656a175
- Spec file cleanups.
656a175
656a175
* Mon Sep 19 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-2
656a175
- Spec file cosmetics.
656a175
656a175
* Tue Aug 09 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4.0.1-1
656a175
- Update to version 0.4.0.1.
656a175
656a175
* Sat Jun 18 2016 Fabio Valentini <decathorpe@gmail.com> - 0.4-1
656a175
- Update to version 0.4.
656a175
656a175