]> git.pld-linux.org Git - packages/xchm.git/blob - xchm.spec
- 0.6
[packages/xchm.git] / xchm.spec
1 Summary:        CHM viewer for UNIX
2 Summary(pl):    Przegl±darka CHM dla uniksów
3 Name:           xchm
4 Version:        0.6
5 Release:        1
6 License:        GPL
7 Group:          Applications/File
8 Source0:        http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
9 # Source0-md5:  3203a701d27843ee265c4380efbd860e
10 Patch0:         %{name}-configure.patch
11 URL:            http://xchm.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  chmlib-devel
15 BuildRequires:  wxGTK2-devel >= 2.4.0
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 XCHM is a CHM viewer for UNIX, based on Jed Wing's CHMLIB and written
20 with wxWindows.
21
22 %description -l pl
23 XCHM to przegl±darka plików CHM dla uniksa, napisana w oparciu o
24 CHMLIB Jeda Winga, z u¿yciem wxWindows.
25
26 %prep
27 %setup -q
28 %patch -p1
29
30 %build
31 %{__aclocal}
32 %{__autoconf}
33 %{__autoheader}
34 %{__automake}
35 %configure \
36         WXCFG=/usr/bin/wxgtk2-2.4-config
37
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS ChangeLog README
52 %attr(755,root,root) %{_bindir}/*
This page took 0.094686 seconds and 4 git commands to generate.