%global _trivial .0 %global _buildid .1 %global _ytag .1 ## START: Set by rpmautospec ## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %global svn_release 475 Name: libcuefile Version: 0 Release: 0.5.20110810svn%{dist}%{?_trivial}%{?_buildid}%{?_ytag} Summary: CUE file library from Musepack License: GPL-2.0-only WITH Bison-exception-2.2 URL: https://www.musepack.net/index.php Source0: http://files.musepack.net/source/%{name}_r%{svn_release}.tar.gz Patch99: libcuefile-fedora-c99.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: sed %description CUE file library used by Musepack utilities and libraries %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n %{name}_r%{svn_release} %patch -P99 -p1 # Correct permissions and end of line find -type f -exec chmod 0644 '{}' + sed -ibackup 's/\r$//' CMakeLists.txt %build %cmake . %cmake_build %install %cmake_install # Remove static lib rm %{buildroot}%{_libdir}/%{name}.a install -D -t %{buildroot}%{_includedir}/cuetools/ include/cuetools/*.h %files %doc AUTHORS README %license COPYING %{_libdir}/libcuefile.so.0{,.*} %files devel %{_includedir}/cuetools/ %{_libdir}/libcuefile.so %changelog ## START: Generated by rpmautospec * Thu Jan 25 2024 Fedora Release Engineering - 0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Apr 27 2023 DJ Delorie - 0-2 - Fix C99 compatibility issue * Sun Feb 26 2023 Yaakov Selkowitz - 0-1 - Initial import ## END: Generated by rpmautospec