libgltf/libgltf.spec

72 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: libgltf
Version: 0.0.2
Release: 1mamba
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
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
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
- package created using the webbuild interface