diff --git a/sfml.spec b/sfml.spec index d323b88..ea292f0 100644 --- a/sfml.spec +++ b/sfml.spec @@ -1,5 +1,5 @@ Name: sfml -Version: 2.5.1 +Version: 2.6.0 Release: 1mamba Summary: Simple and Fast Multimedia Library Group: System/Multimedia @@ -10,11 +10,22 @@ URL: https://www.sfml-dev.org/index.php Source: https://www.sfml-dev.org/files/SFML-%{version}-sources.zip License: zlib/png license ## AUTOBUILDREQ-BEGIN -## note: run 'autospec -u -a6 sfml' to get the list of build requirements. +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +BuildRequires: libXrandr-devel +BuildRequires: libflac-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libglvnd-devel +BuildRequires: libogg-devel +BuildRequires: libopenal-devel +BuildRequires: libstdc++6-devel +BuildRequires: libudev-devel +BuildRequires: libvorbis-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description SFML provides a simple interface to the various components of your PC, to ease the development of games and multimedia applications. It is composed of five modules: system, window, graphics, audio and network. @@ -30,20 +41,20 @@ This package contains shared libraries for %{name}. Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} -## note: you can add this requirement if .pc files are provided by this package -#Requires: pkg-config +Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. - %debug_package %prep %setup -q -n SFML-%{version} %build -%cmake -d build +%cmake -d build \ + -DSFML_PKGCONFIG_INSTALL_PREFIX:PATH=%{_libdir}/pkgconfig + %make %install @@ -67,16 +78,19 @@ This package contains libraries and header files for developing applications tha %dir %{_libdir}/cmake/SFML %{_libdir}/cmake/SFML/SFML*.cmake #%{_datadir}/SFML/cmake/Modules/FindSFML.cmake -%{_datadir}/SFML/license.md +%{_docdir}/SFML/license.md %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/SFML %{_includedir}/SFML/* %{_libdir}/pkgconfig/sfml-*.pc -%{_datadir}/SFML/readme.md +%{_docdir}/SFML/readme.md %changelog +* Sun Jul 02 2023 Automatic Build System 2.6.0-1mamba +- automatic version update by autodist + * Thu Oct 25 2018 Automatic Build System 2.5.1-1mamba - automatic version update by autodist