Adds rpm specs to migration repo
This commit is contained in:
1 parent
acee7b8766
commit
7f035543e2
145 files changed
+13982
No files matched your search
+92
@@ -0,0 +1,92 @@
|
||||
#
|
||||
# spec file for package gdal (without poppler)
|
||||
# $Revision$
|
||||
# $Date$
|
||||
# $Id$
|
||||
#
|
||||
# rpmbuild -bb ctc_gdal_2.4.3.spec
|
||||
|
||||
|
||||
%define real_name gdal
|
||||
%define ctc_name ctc_%{real_name}
|
||||
|
||||
Name: %{ctc_name}
|
||||
BuildRequires: cmake
|
||||
Provides: %{real_name} , libgdal20, libgdal.so.20()(64bit), libgdal20(ppc-64)
|
||||
License: MIT AND BSD-3-Clause AND SUSE-Public-Domain
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats
|
||||
Version: 2.4.3
|
||||
Release: 1
|
||||
Source: %{real_name}-%{version}.tar.xz
|
||||
|
||||
# BuildRoot required??
|
||||
BuildRoot: %{_tmppath}/%{real_name}-%{version}-build
|
||||
|
||||
AutoReqProv: no
|
||||
|
||||
%debug_package
|
||||
|
||||
%description
|
||||
GDAL is a translator library for raster geospatial data formats that
|
||||
is released under an Open Source license. As a library, it presents a
|
||||
single abstract data model to the calling application for all
|
||||
supported formats. The related OGR library (which lives within the
|
||||
GDAL source tree) provides a similar capability for simple features
|
||||
vector data.
|
||||
Distribution: openSUSE Leap 15.1
|
||||
|
||||
|
||||
%package devel
|
||||
#BuildRequires: -
|
||||
Requires: %{ctc_name}
|
||||
Provides: %{ctc_name}-devel
|
||||
License: MIT AND BSD-3-Clause AND SUSE-Public-Domain
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: GDAL/OGR - a translator library for raster and vector geospatial data formats
|
||||
|
||||
%description devel
|
||||
You need this package, if you want to compile programs with gdal
|
||||
|
||||
%prep
|
||||
%setup -q -n %{real_name}-%{version}
|
||||
|
||||
%build
|
||||
export CURRENT_ROOT=`pwd`
|
||||
|
||||
# %{_prefix} -> '/usr'
|
||||
|
||||
mkdir -p %{buildroot}%{_prefix}
|
||||
|
||||
# 2022-02 : >>>Poppler support: no<<< seems to be default, but that´s the reason we are creating ctc_gdal...
|
||||
./configure --with-poppler=no --prefix=%{buildroot}%{_prefix}
|
||||
|
||||
echo "... buildroot/usr = %{buildroot}%{_prefix}"
|
||||
ls -lisa %{buildroot}%{_prefix}
|
||||
|
||||
%__make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
export DONT_STRIP=1
|
||||
|
||||
make install
|
||||
|
||||
%clean
|
||||
%__rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,755)
|
||||
%{_prefix}/bin
|
||||
%{_prefix}/etc
|
||||
%{_prefix}/lib64
|
||||
%{_prefix}/share
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,755)
|
||||
%{_prefix}/include/
|
||||
|
||||
%changelog
|
||||
* Sun Feb 20 2022 Patric Karwat
|
||||
- change Provides to: '{ real_name } , libgdal20, libgdal.so.20()(64bit), libgdal20(ppc-64)'
|
||||
* Fri Feb 19 2022 Norbert Thoden
|
||||
- initial version
|
||||
Reference in new issue
Block a user