From 4b3d4ceeef9a283ae96fc5a7db979a7471c167a3 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:58:25 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.0.1-1mamba;Tue Apr 12 2016] --- README.md | 2 ++ libtxc_dxtn.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 libtxc_dxtn.spec diff --git a/README.md b/README.md index 399029a..46b2cf3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libtxc_dxtn +Open source S3 Texture Compression (S3TC) library. + diff --git a/libtxc_dxtn.spec b/libtxc_dxtn.spec new file mode 100644 index 0000000..c399fdd --- /dev/null +++ b/libtxc_dxtn.spec @@ -0,0 +1,58 @@ +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 +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 1.0.1-1mamba +- package created using the webbuild interface