glfw/glfw.spec

90 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: glfw
Version: 3.3.10
Release: 1mamba
Summary: A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.glfw.org/
Source: https://github.com/glfw/glfw.git/%{version}/glfw-%{version}.tar.bz2
License: zlib/libpng
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input.
%package -n lib%{name}
Group: System/Libraries
Summary: A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
%description -n lib%{name}
A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input.
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}
Requires: pkg-config
%description -n lib%{name}-devel
A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input.
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%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}/libglfw.so.*
%doc LICENSE.md
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/GLFW
%{_includedir}/GLFW/glfw3*.h
%dir %{_libdir}/cmake/glfw3
%{_libdir}/cmake/glfw3/glfw3*.cmake
%{_libdir}/libglfw.so
%{_libdir}/pkgconfig/glfw3.pc
%doc README.md
%changelog
* Thu Feb 22 2024 Automatic Build System <autodist@openmamba.org> 3.3.10-1mamba
- automatic version update by autodist
* Fri Dec 15 2023 Automatic Build System <autodist@mambasoft.it> 3.3.9-1mamba
- automatic version update by autodist
* Fri Jul 22 2022 Automatic Build System <autodist@mambasoft.it> 3.3.8-1mamba
- automatic version update by autodist
* Wed Apr 06 2022 Automatic Build System <autodist@mambasoft.it> 3.3.7-1mamba
- automatic version update by autodist
* Wed Feb 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.6-1mamba
- package created using the webbuild interface