]> git.pld-linux.org Git - packages/xchm.git/blob - xchm.spec
40d2fdd17c8865bf34866077b339434e8c842020
[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:        1.0
5 Release:        1
6 License:        GPL
7 Group:          Applications/File
8 Source0:        http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
9 # Source0-md5:  808e87a2a00683b5142e9f74398a20b4
10 Source1:        %{name}.desktop
11 URL:            http://xchm.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  chmlib-devel
15 BuildRequires:  gettext-devel >= 0.11
16 BuildRequires:  wxGTK2-devel >= 2.6.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 xCHM is a CHM viewer for UNIX, based on Jed Wing's CHMLIB and written
21 with wxWidgets.
22
23 %description -l pl
24 xCHM to przegl±darka plików CHM dla Uniksa, napisana w oparciu o
25 CHMLIB Jeda Winga, z u¿yciem wxWidgets.
26
27 %prep
28 %setup -q
29
30 %build
31 %{__gettextize}
32 %{__aclocal}
33 %{__autoconf}
34 %{__autoheader}
35 %{__automake}
36 %configure \
37         WX_CONFIG_NAME=/usr/bin/wx-gtk2-ansi-config
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 install art/xchm-48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/xchm.xpm
50 install %{SOURCE1}      $RPM_BUILD_ROOT%{_desktopdir}
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog README
60 %attr(755,root,root) %{_bindir}/*
61 %{_desktopdir}/*
62 %{_pixmapsdir}/*.xpm
This page took 0.08492 seconds and 3 git commands to generate.