New version 1.2.1

Switch to cmake build
epel9
Volker Fröhlich 4 years ago
parent 6e9c8c7ff0
commit 19bdd7c144

1
.gitignore vendored

@ -4,3 +4,4 @@
/libgta-1.0.6.tar.xz /libgta-1.0.6.tar.xz
/libgta-1.0.7.tar.xz /libgta-1.0.7.tar.xz
/libgta-1.0.9.tar.xz /libgta-1.0.9.tar.xz
/libgta-1.2.1.tar.xz

@ -1,15 +1,13 @@
Name: libgta Name: libgta
Version: 1.0.9 Version: 1.2.1
Release: 5%{?dist} Release: 1%{?dist}
Summary: Library that implements the Generic Tagged Arrays file format Summary: Library that implements the Generic Tagged Arrays file format
License: LGPLv2+ License: LGPLv2+
URL: https://marlam.de/gta/ URL: https://marlam.de/gta/
Source0: https://marlam.de/gta/releases/%{name}-%{version}.tar.xz Source0: https://marlam.de/gta/releases/%{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc BuildRequires: gcc
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: bzip2-devel
BuildRequires: zlib-devel
BuildRequires: xz-devel
%description %description
Libgta is a portable library that implements the GTA (Generic Tagged Arrays) Libgta is a portable library that implements the GTA (Generic Tagged Arrays)
@ -39,24 +37,19 @@ examples for %{name}.
%prep %prep
%setup -q %setup -q
# Preserve date for headers
# Sent to gta-list@nongnu.org
sed -i 's/-m 644/-pm 644/' configure
%build %build
%configure --disable-static %cmake -D GTA_BUILD_STATIC_LIB:BOOL=FALSE
make %{?_smp_mflags} V=1 %cmake_build
%install %install
make install DESTDIR=%{buildroot} %cmake_install
# Remove documentation; will install it with doc macro # Remove documentation; will install it with doc macro
rm -rf %{buildroot}%{_docdir} rm -rf %{buildroot}%{_docdir}
%check %check
make check V=1 %ctest
%ldconfig_scriptlets %ldconfig_scriptlets
@ -67,7 +60,7 @@ make check V=1
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.*
%files devel %files devel
%{_datadir}/%{name}/cmake/FindGTA.cmake %{_libdir}/cmake/GTA-%{version}
%{_libdir}/pkgconfig/gta.pc %{_libdir}/pkgconfig/gta.pc
%{_includedir}/gta %{_includedir}/gta
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
@ -78,6 +71,10 @@ make check V=1
%changelog %changelog
* Sat Aug 15 2020 Volker Fröhlich <volker27@gmx.at> - 1.2.1-1
- New upstream release
- Switch to the now-preferred cmake build system
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-5 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

@ -1 +1 @@
SHA512 (libgta-1.0.9.tar.xz) = 0e20290d2d2e6ff69c83dfb0b73a75162af3d99dab6c1d5a61b674e80e75769c86b663f78642240ce419b45a2b2ec0cfe8d942326523010f63b14713590f6b92 SHA512 (libgta-1.2.1.tar.xz) = 08005d343f14f6757688d970a38b373f7939a8b3666e58c72039bbdeb2d84583e233e038a68c456626e7f2ae56f03505b0f37ac53fbaf786c6e466ef65360629

Loading…
Cancel
Save