openstreetmap-map-icons/openstreetmap-map-icons.spec

52 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: openstreetmap-map-icons
Version: 0.0.svn23649
Release: 1mamba
Summary: A set of icons intended to be used together with maps
Group: Graphical Desktop/Look 'n' feel
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://wiki.openstreetmap.org/wiki/Map_Icons
Source: http://ftp.debian.org/pool/main/o/openstreetmap-map-icons/openstreetmap-map-icons_%{version}.orig.tar.gz
License: Public Domain
BuildRequires: perl-Image-Info
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This package provides a set of icons intended to be used together with maps. Several point-of-interest categories are covered like accommodation, education, food, health, geocache, places, religion, shopping, etc.
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -m0644 geoinfo.db %{buildroot}%{_datadir}/icons/map-icons/
tools/copy_icons_to_dir.sh %{buildroot}%{_datadir}/icons/map-icons/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_datadir}/icons/map-icons
%{_datadir}/icons/map-icons/geoinfo.db
%{_datadir}/icons/map-icons/classic.big
%{_datadir}/icons/map-icons/classic.small
%{_datadir}/icons/map-icons/square.big
%{_datadir}/icons/map-icons/square.small
%{_datadir}/icons/map-icons/svg-twotone
%{_datadir}/icons/map-icons/svg
%{_datadir}/icons/map-icons/README
%{_datadir}/icons/map-icons/README.icons
%doc README README.icons
%changelog
* Fri Nov 05 2010 Silvan Calarco <silvan.calarco@mambasoft.it> icons_0.0-1mamba
- package created by autospec