59 lines
1.4 KiB
RPMSpec
59 lines
1.4 KiB
RPMSpec
|
Name: libtxc_dxtn
|
||
|
Version: 1.0.1
|
||
|
Release: 1mamba
|
||
|
Summary: Open source S3 Texture Compression (S3TC) library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://people.freedesktop.org/~cbrill/libtxc_dxtn/
|
||
|
Source: https://people.freedesktop.org/~cbrill/libtxc_dxtn/libtxc_dxtn-%{version}.tar.bz2
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Open source S3 Texture Compression (S3TC) library.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%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}/libtxc_dxtn.so
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/txc_dxtn.h
|
||
|
%{_libdir}/libtxc_dxtn.la
|
||
|
|
||
|
%changelog
|
||
|
* Tue Apr 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
|
||
|
- package created using the webbuild interface
|