Name: libgta Version: 1.2.1 Release: 1 Summary: A library that reads and writes GTA files License: LGPLv2+ URL: https://marlam.de/gta/ Source0: https://marlam.de/gta/releases/%{name}-%{version}.tar.xz BuildRequires: doxygen gcc %description Libgta,a library that reads and writes GTA files,with interfaces in C and C++. %package devel Summary: Development documnets for %{name} Requires: %{name} = %{version}-%{release} pkgconfig %description devel The package provides libraries and header files for applications which developed with %{name}. %package help Summary: Help documnets for %{name} Provides: %{name}-doc = %{version}-%{release} Obsoletes: %{name}-doc < %{version}-%{release} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description help The package provides help documents for %{name}. %prep %autosetup -n %{name}-%{version} -p1 sed -i 's/-m 644/-pm 644/' configure %build %configure --disable-static %make_build V=1 %install %make_install rm -rf %{buildroot}%{_docdir} %check make check V=1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING AUTHORS %{_libdir}/%{name}.so.* %files devel %{_libdir}/pkgconfig/gta.pc %{_libdir}/%{name}.so %{_includedir}/gta %files help %doc README %doc doc/example* %doc doc/reference %changelog * Wed Sep 20 2023 xu_ping<707078654@qq.com> - 1.2.1-1 - Upgrade version to 1.2.1 * Fri Mar 6 2020 zhouyihang - 1.0.7-9 - Pakcage init