Gdal and proj have now different names

This commit is contained in:
2020-01-11 08:15:44 +01:00
parent 656acc67d7
commit 80768a729e
2 changed files with 15 additions and 36 deletions

View File

@@ -1,6 +1,7 @@
%define bashcompletiondir %{_sysconfdir}/bash_completion.d
%define realname gdal
Name: gdal
Name: gdal3
Version: 3.0.2
Release: 2%{?dist}
#define debug_package #{nil}
@@ -8,7 +9,7 @@ License: MIT
Group: Applications/System
Summary: GIS file format library
URL: http://www.gdal.org
Source0: %name-%{version}.tar.gz
Source0: %realname-%{version}.tar.gz
BuildRequires: freexl-devel
@@ -72,7 +73,7 @@ This package contains the GDAL file format library.
simple service for looking up your IP address. This is the code that powers https://echoip.daniel-steiner.org.
%prep
%setup -q -n %{name}-%{version}
%setup -q -n %{realname}-%{version}
%build
./configure \
@@ -143,7 +144,7 @@ mv %{buildroot}%{_prefix}/etc %{buildroot}/
%{_libdir}/libgdal.so.26.*
%{_datadir}/%{name}/*
#TODO: Possibly remove files like .dxf, .dgn, ...
%dir %{_libdir}/%{name}plugins
%dir %{_libdir}/%{realname}plugins
%files devel
%{_bindir}/%{name}-config
@@ -151,7 +152,7 @@ mv %{buildroot}%{_prefix}/etc %{buildroot}/
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/%{realname}.pc
%changelog
* Wed Jan 8 2020 Daniel Steiner <daniel.steiner@dsteiner.ch>