]> git.pld-linux.org Git - SPECS.git/blob - xanim.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / xanim.spec
1 Summary:        Viewer for various animated graphic formats
2 Summary(pl.UTF-8):      Przeglądarka do różnych formatów animacji
3 Name:           xanim
4 Version:        2920
5 Release:        1
6 Epoch:          1
7 License:        Free for non-commercial distribution
8 Group:          X11/Applications/Graphics
9 # 2801 at http://xanim.polter.net/files/
10 Source0:        ftp://ftp.informatik.uni-hamburg.de/pub/soft/graphics/xanim/%{name}%{version}.tar.gz
11 # Source0-md5:  3613e6256857f7270d39bba8efd3a5dc
12 Patch0:         %{name}-config.patch
13 Patch1:         %{name}-include.patch
14 Patch2:         %{name}-qt-co64.patch
15 URL:            http://xanim.polter.net/
16 BuildRequires:  xorg-cf-files
17 BuildRequires:  xorg-lib-libXext-devel
18 BuildRequires:  xorg-lib-libXt-devel
19 BuildRequires:  xorg-util-gccmakedep
20 BuildRequires:  xorg-util-imake
21 BuildRequires:  zlib-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Viewer for various animated graphic formats, including QuickTime and
26 FLiC.
27
28 %description -l pl.UTF-8
29 Przeglądarka do różnych formatów animacji, w tym QuickTime i FLiC.
30
31 %prep
32 %setup -q -n %{name}%{version}
33 %patch0 -p1
34 %patch1 -p1
35 %patch2 -p1
36
37 %build
38 xmkmf -a
39 ln -sf  docs/xanim.man .
40 %{__make} \
41         CC="%{__cc}" \
42         CDEBUGFLAGS="%{rpmcflags}" \
43         LD_FLAGS="%{rpmldflags} -rdynamic" \
44         USRLIBDIR=%{_libdir}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir}/xanim}
49
50 install xanim $RPM_BUILD_ROOT%{_bindir}/xanim
51 install docs/xanim.man $RPM_BUILD_ROOT%{_mandir}/man1/xanim.1
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc docs/*
59 %attr(755,root,root) %{_bindir}/xanim
60 %dir %{_libdir}/xanim
61 %{_mandir}/man1/xanim.1*
This page took 1.332834 seconds and 3 git commands to generate.