2024-01-05 17:45:40 +01:00
|
|
|
Name: sfml
|
2024-01-05 17:45:43 +01:00
|
|
|
Version: 2.6.1
|
2024-01-05 17:45:40 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Simple and Fast Multimedia Library
|
|
|
|
Group: System/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
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
|
2024-01-05 17:45:42 +01:00
|
|
|
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
|
2024-01-05 17:45:40 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 17:45:42 +01:00
|
|
|
Requires: pkg-config
|
2024-01-05 17:45:40 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 17:45:42 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DSFML_PKGCONFIG_INSTALL_PREFIX:PATH=%{_libdir}/pkgconfig
|
|
|
|
|
2024-01-05 17:45:40 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-05 17:45:40 +01:00
|
|
|
#%ifarch x86_64
|
|
|
|
#mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/
|
|
|
|
#%endif
|
2024-01-05 17:45:40 +01:00
|
|
|
|
2024-01-05 17:45:40 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libsfml-*.so
|
|
|
|
%{_libdir}/libsfml-*.so.*
|
2024-01-05 17:45:40 +01:00
|
|
|
%dir %{_libdir}/cmake/SFML
|
|
|
|
%{_libdir}/cmake/SFML/SFML*.cmake
|
|
|
|
#%{_datadir}/SFML/cmake/Modules/FindSFML.cmake
|
2024-01-05 17:45:42 +01:00
|
|
|
%{_docdir}/SFML/license.md
|
2024-01-05 17:45:40 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:45:40 +01:00
|
|
|
%dir %{_includedir}/SFML
|
|
|
|
%{_includedir}/SFML/*
|
|
|
|
%{_libdir}/pkgconfig/sfml-*.pc
|
2024-01-05 17:45:42 +01:00
|
|
|
%{_docdir}/SFML/readme.md
|
2024-01-05 17:45:40 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:45:43 +01:00
|
|
|
* Sun Nov 05 2023 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:45:42 +01:00
|
|
|
* Sun Jul 02 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:45:40 +01:00
|
|
|
* Thu Oct 25 2018 Automatic Build System <autodist@mambasoft.it> 2.5.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:45:40 +01:00
|
|
|
* Sat Jun 23 2018 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:45:40 +01:00
|
|
|
* Sat Apr 15 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.4.2-1mamba
|
|
|
|
- package created using the webbuild interface
|