Blame screenshot-tool.spec

11e29aa
Name:           screenshot-tool
c6bbce0
Summary:        Simple screen capture tool
04f8356
Version:        0.1.4
0235a07
Release:        5%{?dist}
11e29aa
License:        LGPLv3
11e29aa
28c3205
URL:            https://github.com/elementary/%{name}
28c3205
Source0:        %{url}/archive/%{version}/%{name}-%{version}.tar.gz
11e29aa
11e29aa
BuildRequires:  cmake
11e29aa
BuildRequires:  desktop-file-utils
11e29aa
BuildRequires:  gettext
11e29aa
BuildRequires:  intltool
11e29aa
BuildRequires:  libappstream-glib
11e29aa
BuildRequires:  vala >= 0.24
11e29aa
BuildRequires:  vala-tools
11e29aa
11e29aa
BuildRequires:  pkgconfig(gdk-pixbuf-2.0)
11e29aa
BuildRequires:  pkgconfig(glib-2.0)
11e29aa
BuildRequires:  pkgconfig(granite)
11e29aa
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.12
28c3205
BuildRequires:  pkgconfig(libcanberra)
11e29aa
c6bbce0
Requires:       hicolor-icon-theme
c6bbce0
11e29aa
11e29aa
%description
04f8356
A simple screen capture tool made for the Pantheon desktop environment.
11e29aa
11e29aa
11e29aa
%prep
3f68974
%autosetup
11e29aa
11e29aa
11e29aa
%build
11e29aa
mkdir build && pushd build
cc9a6fa
%cmake ..
11e29aa
%make_build
11e29aa
popd
11e29aa
11e29aa
11e29aa
%install
11e29aa
pushd build
11e29aa
%make_install
11e29aa
popd
11e29aa
cc9a6fa
%find_lang %{name}
11e29aa
11e29aa
11e29aa
%check
04f8356
desktop-file-validate \
cc9a6fa
    %{buildroot}/%{_datadir}/applications/%{name}.desktop
04f8356
04f8356
appstream-util validate-relax --nonet \
cc9a6fa
    %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
11e29aa
11e29aa
cc9a6fa
%files -f %{name}.lang
3a5fc8d
%license COPYING
3a5fc8d
cc9a6fa
%{_bindir}/%{name}
11e29aa
cc9a6fa
%{_datadir}/appdata/%{name}.appdata.xml
cc9a6fa
%{_datadir}/applications/%{name}.desktop
11e29aa
%{_datadir}/glib-2.0/schemas/net.launchpad.screenshot.gschema.xml
3f68974
%{_datadir}/icons/hicolor/*/apps/accessories-screenshot.svg
11e29aa
11e29aa
11e29aa
%changelog
0235a07
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-5
0235a07
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0235a07
cc9a6fa
* Sat Jan 06 2018 Fabio Valentini <decathorpe@gmail.com> - 0.1.4-4
cc9a6fa
- Remove icon cache scriptlets, replaced by file triggers.
cc9a6fa
8a1f803
* Sat Nov 04 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.4-3
8a1f803
- Rebuild for granite soname bump.
8a1f803
6c48db9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.4-2
6c48db9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6c48db9
04f8356
* Fri Jul 28 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.4-1
04f8356
- Update to version 0.1.4.
04f8356
2f81f7a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3.1-2
2f81f7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2f81f7a
28c3205
* Sun Apr 30 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3.1-1
28c3205
- Update to version 0.1.3.1.
28c3205
28c3205
* Sat Apr 22 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-1
28c3205
- Update to version 0.1.3.
28c3205
3f68974
* Fri Feb 17 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.2-1
3f68974
- Update to version 0.1.2.
3f68974
- Remove patch and bundled icon. Upstream now ships an icon.
3f68974
449a9e1
* Sun Feb 05 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-4
449a9e1
- Rename icon to match .desktop file.
449a9e1
c6bbce0
* Wed Jan 25 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-3
c6bbce0
- Include icon to fix appstream metadata generation.
c6bbce0
11e29aa
* Thu Jan 05 2017 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-2
11e29aa
- Clean up spec file.
11e29aa
11e29aa
* Thu Nov 24 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-1
11e29aa
- Update to version 0.1.1.
11e29aa
11e29aa
* Thu Sep 29 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.3-4
11e29aa
- Mass rebuild.
11e29aa
11e29aa
* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.3-3
11e29aa
- Spec file cleanups.
11e29aa
11e29aa
* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.3-2
11e29aa
- Add BR: intltool to hopefully fix f25 build.
11e29aa
11e29aa
* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.3-1
11e29aa
- Update to version 0.1.0.3.
11e29aa
11e29aa
* Mon Sep 19 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.2-2
11e29aa
- Spec file cosmetics.
11e29aa
11e29aa
* Sun Sep 11 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.2-1
11e29aa
- Update to version 0.1.0.2.
11e29aa
11e29aa
* Wed Sep 07 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1.0.1-1
11e29aa
- Update to version 0.1.0.1.
11e29aa
11e29aa
* Sun Aug 14 2016 Fabio Valentini <decathorpe@gmail.com> - 0.1-1
11e29aa
- Update to version 0.1.
11e29aa
11e29aa