Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
eb89a53f0c
!8 [sync] PR-6: Add the compilation dependency make
From: @openeuler-sync-bot 
Reviewed-by: @wang--ge 
Signed-off-by: @wang--ge
2023-03-29 09:05:28 +00:00
caodongxia
144d47706d Addthecompilationdependencymake
(cherry picked from commit c0c8064bfc69bd7a949990d7de889416ffea7db9)
2022-12-14 19:17:24 +08:00
openeuler-ci-bot
c48a2b779e
!4 Upgrade proj to 8.2.1
Merge pull request !4 from starlet_dx/openEuler-22.03-LTS-Next
2022-01-19 01:59:55 +00:00
starlet-dx
73d154493b Upgrade proj to 8.2.1 2022-01-18 15:58:06 +08:00
openeuler-ci-bot
b91c337f6f !3 Modify yaml file
Merge pull request !3 from jeff200902/master
2020-07-18 10:47:48 +08:00
jeff200902
1df29fa3a9 modify yaml 2020-07-18 10:40:45 +08:00
openeuler-ci-bot
de48c3f100 !2 Add yaml file
Merge pull request !2 from jeff200902/master
2020-05-12 15:22:39 +08:00
jeff200902
3406343061 Add yaml file 2020-05-09 12:20:52 +08:00
openeuler-ci-bot
f5f30404c4 !1 package init
Merge pull request !1 from small_leek/xsl-proj
2020-02-20 18:37:21 +08:00
small_leek
8b96b182cd package init 2020-02-20 05:14:13 -05:00
4 changed files with 96 additions and 0 deletions

BIN
proj-8.2.1.tar.gz Normal file

Binary file not shown.

BIN
proj-datumgrid-1.7.tar.gz Normal file

Binary file not shown.

92
proj.spec Normal file
View File

@ -0,0 +1,92 @@
Name: proj
Version: 8.2.1
Release: 2
Summary: A generic coordinate transformation software
License: MIT
URL: https://proj4.org
Source0: http://download.osgeo.org/proj/proj-%{version}.tar.gz
Source1: http://download.osgeo.org/proj/proj-datumgrid-1.7.tar.gz
BuildRequires: libtool make
BuildRequires: gcc-c++ sqlite-devel libtiff-devel curl-devel
%description
PROJ is a generic coordinate transformation software that transforms
geospatial coordinates from one coordinate reference system (CRS) to
another. This includes cartographic projections as well as geodetic
transformations. PROJ is released under the X/MIT open source license.
%package help
Summary: Help documentation for the proj
%description help
Help documentation for the proj.
%package devel
Summary: Development files for PROJ.4
Requires: proj = %{version}-%{release}
Provides: proj-static = %{version}-%{release}
Obsoletes: proj-static < %{version}-%{release}
%description devel
This package contains libproj and the appropriate header files and man pages
and libproj static library.This package alse contains additional US and
Canadian datum shift grids and additional EPSG dataset.
%package nad
Summary: US and Canadian datum shift grids for PROJ.4
Requires: proj = %{version}-%{release}
%description nad
This package contains additional US and Canadian datum shift grids.
%prep
%autosetup -n proj-%{version} -p1
%build
sed -i -e 's|5\:4\:5|6\:4\:6|' src/Makefile*
%configure
%make_build OPTIMIZE="$RPM_OPT_FLAGS"
%install
%makeinstall
tar -C %{buildroot}%{_datadir}/%{name} -xf %{SOURCE1}
find %{buildroot} -type f -name "*.la" -delete -print
# It would be good to find out where these extra files# come from:
rm -rf %{buildroot}%{_datadir}/doc/${name}
%check
./test$i %{buildroot}%{_bindir}/proj ||:
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING
%{_bindir}/*
%{_libdir}/libproj.so.22*
%files help
%doc NEWS README ChangeLog
%{_mandir}/man1/*.1*
%files devel
%{_includedir}/*.h
%{_includedir}/proj
%{_libdir}/{libproj.so,libproj.a,libproj.la}
%attr(0755,root,root) %{_libdir}/pkgconfig/proj.pc
%files nad
%attr(0755,root,root) %{_libdir}/pkgconfig/proj.pc
%{_datadir}/proj
%changelog
* Wed Dec 14 2022 caodongxia <caodongxia@h-partners.com> - 8.2.1-2
- Add the compilation dependency make
* Tue Jan 18 2022 yaoxin <yaoxin30@huawei.com> - 8.2.1-1
- Upgrade proj to 8.2.1
* Wed Feb 19 2020 Senlin Xia <xiasenlin1@huawei.com> 4.9.3-8
- package init

4
proj.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: OSGeo/PROJ
tag_prefix: ^
seperator: .