Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
gmapcatcher
mapcatcher.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mapcatcher.spec of Package gmapcatcher
# # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # norootforbuild Name: mapcatcher Version: 0.8.0.4 Release: 0 Summary: Offline maps viewer for multiple providers Group: Productivity/Other License: GPL-2.0 Url: http://code.google.com/p/gmapcatcher/ Source0: http://gmapcatcher.googlecode.com/files/%{name}_%{version}.tar.gz Provides: gmapcatcher BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on BuildRequires: python-devel BuildRequires: update-desktop-files BuildRequires: fdupes Requires: python-gtk %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif %description GMapCatcher is an offline maps viewer. It downloads tiles automatically from many providers such as: CloudMade, OpenStreetMap, Yahoo Maps, Google Map. It displays them using a custom GUI. User can view the maps while offline. GMapCatcher doesn't depend on google-map's java scripts so it should work even if google changes them. It also provides a downloading tool. %prep %setup -n %{name}-%{version} # fix doc .. #sed -i 's@share/doc/mapcatcher@share/doc/packages/%%name@g' setup.py ### magic bulet... find gmapcatcher/ -name "*.py" -exec sed -i '/^#!\s\?\/usr\/bin\/\(env\s\)\?python$/d' {} ';' %build %{__python} setup.py build %__gzip man/* %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %if 0%{?suse_version} %__install -dm0755 %{buildroot}%{_datadir}/pixmaps/ %suse_update_desktop_file -c g%{name} %{name} %{name} %{name} map %suse_update_desktop_file -C "Offline maps viewer for multiple providers" -i g%{name} Education Geography # GNOME Application Network Viewer %else %__install -dm0755 "%{buildroot}/%{_datadir}/applications/" %__install -m0644 %{name}.desktop "%{buildroot}/%{_datadir}/applications/" %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{python_sitelib}/* %doc README changelog %_bindir/mapcatcher %_bindir/mapdownloader %_datadir/applications/gmapcatcher.desktop %_mandir/man1/mapcatcher.1* %_mandir/man1/mapdownloader.1* %dir %_datadir/pixmaps/gmapcatcher %_datadir/pixmaps/gmapcatcher/*.png %_datadir/pixmaps/gmapcatcher/*.ico %_datadir/pixmaps/gmapcatcher/*.bmp %_datadir/pixmaps/mapcatcher.png # those are included with %%doc directive %exclude %_datadir/doc/mapcatcher/README %exclude %_datadir/doc/mapcatcher/changelog %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor