libgltf/libgltf.spec

79 lines
2.1 KiB
RPMSpec

Name: libgltf
Version: 0.0.2
Release: 3mamba
Summary: A C++ library for rendering OpenGL models stored in glTF format.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gerrit.libreoffice.org/gitweb?p=libgltf.git
## GITSOURCE https://gerrit.libreoffice.org/p/libgltf.git libgltf-0.0.2
Source: https://gerrit.libreoffice.org/p/libgltf.git/libgltf-%{version}/libgltf-%{version}.tar.bz2
License: MPL 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libglew-devel >= 1.13
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
LIBGLTF is a C++ library for rendering OpenGL models stored in glTF format.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgltf-0.0.so.*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libgltf-0.0
%{_includedir}/libgltf-0.0/*
%{_libdir}/libgltf-0.0.la
%{_libdir}/libgltf-0.0.so
%{_libdir}/pkgconfig/libgltf-0.0.pc
%doc NEWS README
%changelog
* Fri Feb 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-3mamba
- rebuilt with libglew 1.13.0
* Sun Jan 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-2mamba
- rebuilt with gcc 5.3
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
- package created using the webbuild interface