File libproj0.spec of Package libproj0
#
# spec file for package libproj0 (Version 4.6.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libproj0
Summary: Cartographic projection software
Version: 4.6.0
Release: 1
Url: http://www.remotesensing.org/proj/
Source0: proj-%{version}.tar.bz2
Source1: proj-datumgrid-1.3.zip
Patch1: fix_mk_cheby_compile.patch
License: X11/MIT
Group: Productivity/Scientific/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: unzip
Provides: libproj = %{version}
%package -n libproj-devel
Summary: Cartographic projection software
Group: Productivity/Scientific/Other
Requires: %{name} = %{version}-%{release}
%package -n proj4
Summary: Cartographic projection software
Group: Productivity/Scientific/Other
Requires: %{name} = %{version}-%{release}
%description
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.
Authors:
--------
Gerald Evenden <gie@kai.er.usgs.gov>
%description -n proj4
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.
Authors:
--------
Gerald Evenden <gie@kai.er.usgs.gov>
%description -n libproj-devel
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.
Authors:
--------
Gerald Evenden <gie@kai.er.usgs.gov>
%prep
%setup -b 0 -n proj-%{version}
%patch1 -p0
cd nad
unzip -o %{SOURCE1}
%build
%configure --prefix=%{_prefix}
%{__make}
%install
%makeinstall
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644,root,root)
%{_libdir}/*.so.*
%files -n proj4
%defattr(0755,root,root)
%{_bindir}/*
%defattr(-,root,root)
%{_mandir}/man1/*.1*
%{_datadir}/proj
%{_datadir}/proj/*
%doc NEWS AUTHORS COPYING README ChangeLog
%files -n libproj-devel
%defattr(0644,root,root)
%{_mandir}/man3/*.3*
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.so
%exclude %{_libdir}/libproj.la
%changelog
* Fri Jan 11 2008 - fseidel@suse.de
- Adapted to autobuild taken from OBS Applications:Geo