97 lines
2.6 KiB
RPMSpec
97 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package proj
|
|
#
|
|
# Copyright (c) 2011 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/
|
|
#
|
|
|
|
Name: proj
|
|
Version: 4.7.0
|
|
Release: 1
|
|
License: MIT
|
|
Summary: Cartographic projection software
|
|
Url: ftp://ftp.remotesensing.org/proj/
|
|
Group: Productivity/Scientific/Other
|
|
Source0: proj-%{version}.tar.bz2
|
|
Source1: proj-datumgrid-1.5.zip
|
|
BuildRequires: bzip2
|
|
BuildRequires: unzip
|
|
Provides: libproj = %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Prefix: %{_prefix}
|
|
|
|
%package -n libproj0
|
|
|
|
Summary: Cartographic projection software
|
|
Group: Applications/GIS
|
|
|
|
%package -n libproj-devel
|
|
|
|
Summary: Development files for PROJ
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libproj0 = %{version}
|
|
|
|
%description -n libproj0
|
|
This package the library for performing respective
|
|
forward and inverse transformation of cartographic data to or from cartesian
|
|
data with a wide range of selectable projection functions.
|
|
|
|
%description
|
|
This package offers the commandline tools for performing respective
|
|
forward and inverse transformation of cartographic data to or from cartesian
|
|
data with a wide range of selectable projection functions.
|
|
|
|
%description -n libproj-devel
|
|
This package contains libproj and the appropriate header files and man pages.
|
|
|
|
%prep
|
|
%setup -q -b 0 -n proj-%{version}
|
|
cd nad
|
|
unzip -o %{SOURCE1}
|
|
|
|
%build
|
|
%configure --disable-static
|
|
make
|
|
|
|
%install
|
|
%makeinstall
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%post -n libproj0 -p /sbin/ldconfig
|
|
|
|
%postun -n libproj0 -p /sbin/ldconfig
|
|
|
|
%clean
|
|
|
|
%files -n libproj0
|
|
%defattr(0644,root,root)
|
|
%{_libdir}/*.so.*
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc NEWS AUTHORS COPYING README ChangeLog
|
|
%defattr(0755,root,root)
|
|
%{_bindir}/*
|
|
%dir %{_datadir}/proj
|
|
%defattr(0644,root,root)
|
|
%{_mandir}/man1/*.1*
|
|
%{_datadir}/proj/*
|
|
|
|
%files -n libproj-devel
|
|
%defattr(0644,root,root)
|
|
%{_mandir}/man3/*.3*
|
|
%{_includedir}/*.h
|
|
%{_libdir}/*.so
|
|
|
|
%changelog
|