libgltf/libgltf.spec

74 lines
2.0 KiB
RPMSpec
Raw Permalink Normal View History

Name: libgltf
Version: 0.1.0
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://dev-www.libreoffice.org/src/libgltf/libgltf-%{version}.tar.gz
#Source: https://gerrit.libreoffice.org/p/libgltf.git/libgltf-%{version}/libgltf-%{version}.tar.bz2
License: MPL 2.0
# AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libepoxy-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-ENDBuildRoot: %{_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.1.so.*
%doc AUTHORS COPYING LICENSE
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libgltf-0.1
%{_libdir}/libgltf-0.1.a
%{_includedir}/libgltf-0.1/*
%{_libdir}/libgltf-0.1.la
%{_libdir}/libgltf-0.1.so
%{_libdir}/pkgconfig/libgltf-0.1.pc
%doc NEWS README
%changelog
* Fri Sep 15 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.1.0-1mamba
- update to 0.1.0
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.2-1mamba
- package created using the webbuild interface