diff --git a/gpick.spec b/gpick.spec index 8ca9cde..8aa8ca4 100644 --- a/gpick.spec +++ b/gpick.spec @@ -1,6 +1,6 @@ Name: gpick Version: 0.2.5 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Advanced color picker License: BSD @@ -40,12 +40,56 @@ export LDFLAGS="%{optflags}" scons install DESTDIR=%{buildroot}/%{_prefix} desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop +# Register as an application to be visible in the software center +# +# NOTE: It would be *awesome* if this file was maintained by the upstream +# project, translated and installed into the right place during `make install`. +# +# See http://www.freedesktop.org/software/appstream/docs/ for more details. +# +mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata +cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml < + + + + gpick.desktop + CC0-1.0 + Advanced color picker and color palette creator + +

+ Gpick is an application that allows you to sample any color from anywhere + on the desktop, and use it to create palettes (i.e. collections of colors) + for use in graphic design applications. + Gpick also has other features that help in the creation of color palettes, + such as: the ability to create a palette from an imported image, automatic + naming of colors, and a scheme generator. + Color palettes generated in Gpick can be exported many different formats, + including: Inkscape/Gimp Palettes (*.gpl), Adobe Swatch Exchange (*.ase), + and Alias/WaveFront Material (*.mtl). +

+
+ https://code.google.com/p/gpick/ + https://code.google.com/p/gpick/issues/list + + http://wiki.gpick.googlecode.com/hg/images/main-page-gpick-screenshot.png + + +
+EOF + %find_lang %{name} %files -f %{name}.lang %doc %{_docdir}/%{name}/copyright %{_bindir}/%{name} %{_datadir}/%{name} +%{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/48x48/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg @@ -66,6 +110,9 @@ fi /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Mar 26 2015 Richard Hughes - 0.2.5-8 +- Add an AppData file for the software center + * Mon Jan 26 2015 Petr Machata - 0.2.5-7 - Rebuild for boost 1.57.0