libepoxy/libepoxy.spec

80 lines
2.2 KiB
RPMSpec
Raw Permalink Normal View History

Name: libepoxy
Version: 1.4.3.20170923git
Release: 1mamba
Summary: A library for handling OpenGL function pointer management for you
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/anholt/libepoxy
Source: https://github.com/anholt/libepoxy.git/master/libepoxy-%{version}.tar.bz2
#https://github.com/anholt/libepoxy/archive/%{version}.zip
#Source: https://github.com/anholt/libepoxy.git/v%{version}/libepoxy-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Epoxy is a library for handling OpenGL function pointer management for you.
%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}/libepoxy.so.*
%doc COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/epoxy
%{_includedir}/epoxy/*.h
%{_libdir}/libepoxy.la
%{_libdir}/libepoxy.so
%{_libdir}/pkgconfig/epoxy.pc
%doc README.md
%changelog
* Sat Sep 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3.20170923git-1mamba
- update to 1.4.3.20170923git
* Sun Jul 02 2017 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
- automatic version update by autodist
* Mon Apr 17 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.4.1-1mamba
- update to 1.4.1
* Wed Jul 22 2015 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic version update by autodist
* Sun Mar 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2-1mamba
- package created using the webbuild interface