]> git.pld-linux.org Git - packages/xchm.git/blob - xchm.spec
- updated to 0.9 (now with i18n)
[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.9
5 Release:        1
6 License:        GPL
7 Group:          Applications/File
8 Source0:        http://dl.sourceforge.net/xchm/%{name}-%{version}.tar.gz
9 # Source0-md5:  c2cdc266fbbf013f5b63fabcdaa8547b
10 Source1:        %{name}-pl.po
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.4.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 wxWindows.
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 wxWindows.
26
27 %prep
28 %setup -q
29
30 cp -f %{SOURCE1} po/pl.po
31 echo 'pl' >> po/LINGUAS
32
33 %build
34 %{__gettextize}
35 %{__aclocal}
36 %{__autoconf}
37 %{__autoheader}
38 %{__automake}
39 %configure \
40         WX_CONFIG_NAME=/usr/bin/wxgtk2-2.4-config
41
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %find_lang %{name}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files -f %{name}.lang
56 %defattr(644,root,root,755)
57 %doc AUTHORS ChangeLog README
58 %attr(755,root,root) %{_bindir}/*
This page took 0.105482 seconds and 3 git commands to generate.