Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:worldcitizen
libgarmin
libgarmin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgarmin.spec of Package libgarmin
# # spec file for package libgarmin # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define soname 0 Name: libgarmin Version: 0 Release: svn320 Summary: C library to parse and use Garmin image files License: GPL-2.0 Group: System/Libraries Url: http://libgarmin.sourceforge.net/ Source0: libgarmin-svn320.tar.bz2 # PATCH-FIX-UPSTREAM Patch0: libgarmin-svn320-shared.diff BuildRequires: libtool BuildRequires: pkg-config BuildRequires: subversion BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libgarmin is a library used to parse IMG files from Garmin GPS devices. %package -n %{name}%{soname} Summary: C library to parse and use Garmin image files Group: System/Libraries %description -n %{name}%{soname} Libgarmin is a library used to parse IMG files from Garmin GPS devices. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{name}%{soname} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n garmin-tools Summary: Various binaries to manipulate garmin IMG format image files Group: Development/Tools/Navigators %description -n garmin-tools This package provides binaries manipulate garmin IMG format image files. Can only handle unlocked files see: http://wiki.navit-project.org/index.php/Garmin_maps %prep %setup -q -n %{name} %patch0 -p1 # To handle the old checkout to be able to build on older distro versions svn upgrade %build autoreconf --force --install %configure --docdir=%{_docdir}/%{name} make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} INSTALL="install -p" # Delete docs installed at the incorrect location rm -rf %{buildroot}%{_datadir}/%{name} %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig %files -n %{name}%{soname} %defattr(-,root,root,-) %doc AUTHORS COPYING README TODO data/garmintypes.txt %{_libdir}/*.so.%{soname}* %files devel %defattr(-,root,root,-) %{_includedir}/*.h %{_libdir}/*.*a %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %files -n garmin-tools %defattr(-,root,root,-) %{_bindir}/* %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