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