%global gittag v2.0.0 Name: ancient Version: 2.0.0 Release: 1%{?dist} Summary: Modern decompressor for old data compression formats # All files are BSD-2-Clause except src/BZIP2Table.hpp which is bzip2-1.0.6 License: BSD-2-Clause AND bzip2-1.0.6 URL: https://github.com/temisu/ancient Source0: https://github.com/temisu/ancient/archive/%{gittag}/%{name}-%{version}.tar.gz BuildRequires: autoconf BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: make BuildRequires: pkg-config %description This is a collection of decompression routines for old formats popular in the Amiga, Atari computers and some other systems from 80's and 90's as well as some that are currently used which were used in a some specific way in these old systems. %package devel Summary: Library and header files for building applications to use libancient Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel Header files and a library of bzip2 functions, for developing apps which will use the library. %package libs Summary: Library files for libancient decompressor for old formats %description libs Library files for applications needing to decompress ancient compression formats. %prep %autosetup %build ./autogen.sh %configure %make_build %install %make_install %files %license LICENSE %doc %{_pkgdocdir} %exclude %{_pkgdocdir}/LICENSE %{_bindir}/* %files libs %license LICENSE %{_libdir}/libancient.so.2 %{_libdir}/libancient.so.2.0.0 %files devel %license LICENSE %{_includedir}/%{name} %{_libdir}/libancient.so %exclude %{_libdir}/libancient.a %{_libdir}/pkgconfig/libancient.pc %changelog * Mon Jan 23 2023 Charles R. Anderson - 2.0.0-1 - Initial package