Name: openclipart Version: 0.18 Release: %mkrel 4 Summary: Open Clip Art Library Group: Graphics/Utilities License: Public Domain URL: http://www.openclipart.org/ Source0: http://www.openclipart.org/downloads/%{version}/openclipart-%{version}-svgonly.tar.bz2 Conflicts: clipart-openclipart BuildRequires: dos2unix BuildArch: noarch %description Openclipart Gallery contains thousand of SVG vector images that can be freely used. SVG files can be opened in various tools including Inkscape vector graphics editor, OpenOffice.org and Firefox web browser. %prep %setup -q -n openclipart-%{version}-svgonly find . -name '*.svg' -exec dos2unix -k -q '{}' \; %build # nothing %install # Bundled makefile messes things up horribly, # (copies unnecessary files including vim backups and doesn't # handle spaces in names though they are actually present in-tree) cd clipart find . -name '*.svg' -exec sh -c ' DIR="$RPM_BUILD_ROOT/%{_datadir}/clipart/%{name}/$(dirname "{}")"; %__install -d "$DIR"; %__install -m 644 "{}" "$DIR"' \; %files %doc AUTHORS ChangeLog NEWS README VERSION %{_datadir}/clipart %changelog * Sat Feb 06 2016 umeabot <umeabot> 0.18-4.mga6 + Revision: 940476 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.18-3.mga5 + Revision: 750803 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.18-2.mga5 + Revision: 683195 - Mageia 5 Mass Rebuild * Wed Dec 18 2013 dglent <dglent> 0.18-1.mga4 + Revision: 558502 - Cosmetic changes in spec file - imported package openclipart