69 lines
1.7 KiB
RPMSpec
69 lines
1.7 KiB
RPMSpec
Name: libepoxy
|
|
Version: 1.3.1
|
|
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/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
|
|
* 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
|