]> git.pld-linux.org Git - SPECS.git/blob - libtxc_dxtn.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / libtxc_dxtn.spec
1 Summary:        S3TC/DXTN texture compression/decompression library
2 Summary(pl.UTF-8):      Biblioteka kompresji/dekompresji tekstur S3TC/DXTN
3 Name:           libtxc_dxtn
4 Version:        1.0.1
5 Release:        3
6 Epoch:          1
7 License:        MIT
8 Group:          Libraries
9 Source0:        http://people.freedesktop.org/~cbrill/libtxc_dxtn/%{name}-%{version}.tar.bz2
10 # Source0-md5:  7105107f07ac49753f4b61ba9d0c79c5
11 URL:            http://people.freedesktop.org/~cbrill/libtxc_dxtn/
12 BuildRequires:  OpenGL-devel
13 #Requires:      Mesa >= 6.3 (or other Mesa-based GL)
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 S3TC/DXTN texture compression/decompression library. It can be
18 dlopened by Mesa to perform online compression or software
19 decompression of textures.
20
21 %description -l pl.UTF-8
22 Biblioteka kompresji/dekompresji tekstur S3TC/DXTN. Może być
23 wczytywana dynamicznie (poprzez dlopen), przez bibliotekę Mesa w celu
24 programowej kompresji lub dekompresji tekstur.
25
26 %package devel
27 Summary:        Header file for txc_dxtn library
28 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki txc_dxtn
29 Group:          Development/Libraries
30 Requires:       %{name} = %{epoch}:%{version}-%{release}
31
32 %description devel
33 Header file describing txc_dxtn library API.
34
35 %description devel -l pl.UTF-8
36 Plik nagłówkowy opisujący API biblioteki txc_dxtn.
37
38 %prep
39 %setup -q
40
41 %build
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libtxc_dxtn.la
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post   -p /sbin/ldconfig
57 %postun -p /sbin/ldconfig
58
59 %files
60 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_libdir}/libtxc_dxtn.so
62
63 %files devel
64 %defattr(644,root,root,755)
65 %{_includedir}/txc_dxtn.h
This page took 0.150916 seconds and 3 git commands to generate.