Compare commits

..

No commits in common. "rawhide" and "f36" have entirely different histories.
rawhide ... f36

1 changed files with 1 additions and 34 deletions

View File

@ -1,12 +1,6 @@
%if 0%{?rhel} >= 9
%bcond_with mingw
%else
%bcond_without mingw
%endif
Name: libgeotiff
Version: 1.7.1
Release: 7%{?dist}
Release: 2%{?dist}
Summary: GeoTIFF format library
License: MIT
@ -26,7 +20,6 @@ BuildRequires: libjpeg-devel
BuildRequires: proj-devel
BuildRequires: zlib-devel
%if %{with mingw}
BuildRequires: mingw32-filesystem >= 95
BuildRequires: mingw32-gcc
BuildRequires: mingw32-libtiff
@ -40,7 +33,6 @@ BuildRequires: mingw64-libtiff
BuildRequires: mingw64-libjpeg
BuildRequires: mingw64-proj
BuildRequires: mingw64-zlib
%endif
%description
@ -58,7 +50,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The GeoTIFF library provides support for development of geotiff image format.
%if %{with mingw}
%package -n mingw32-%{name}
Summary: MinGW Windows %{name} library
Obsoletes: mingw32-%{name}-static
@ -96,7 +87,6 @@ BuildArch: noarch
%{?mingw_debug_package}
%endif
%prep
@ -108,18 +98,14 @@ BuildArch: noarch
%cmake -DGEOTIFF_BIN_SUBDIR=bin -DGEOTIFF_INCLUDE_SUBDIR=include/%{name} -DGEOTIFF_LIB_SUBDIR=%{_lib}
%cmake_build
%if %{with mingw}
# MinGW build
%mingw_cmake -DGEOTIFF_BIN_SUBDIR=bin -DGEOTIFF_INCLUDE_SUBDIR=include/%{name}
%mingw_make_build
%endif
%install
%cmake_install
%if %{with mingw}
%mingw_make_install
%endif
# install pkgconfig file
@ -137,7 +123,6 @@ Libs: -L\${libdir} -lgeotiff
Cflags: -I\${includedir}
EOF
%if %{with mingw}
mkdir -p %{buildroot}%{mingw32_libdir}/pkgconfig/
cat > %{buildroot}%{mingw32_libdir}/pkgconfig/%{name}.pc <<EOF
prefix=%{mingw32_prefix}
@ -168,7 +153,6 @@ EOF
%mingw_debug_install_post
%endif
%check
@ -191,7 +175,6 @@ EOF
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/cmake/GeoTIFF/
%if %{with mingw}
%files -n mingw32-%{name}
%doc ChangeLog README
%license COPYING
@ -217,25 +200,9 @@ EOF
%files -n mingw64-%{name}-tools
%{mingw64_bindir}/*.exe
%endif
%changelog
* Sat Mar 04 2023 Sandro Mani <manisandro@gmail.com> - 1.7.1-7
- Rebuild (proj)
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Sep 04 2022 Sandro Mani <manisandro@gmail.com> - 1.7.1-5
- Rebuild (proj)
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 10 2022 Orion Poplawski <orion@nwra.com> - 1.7.1-3
- Make mingw build conditional, disable for EL9
* Fri Mar 25 2022 Sandro Mani <manisandro@gmail.com> - 1.7.1-2
- Rebuild with mingw-gcc-12