]>
Commit | Line | Data |
---|---|---|
818a6cf0 | 1 | Summary: CHM Tools |
c9ac500b | 2 | Summary(pl.UTF-8): Narzędzia CHM |
818a6cf0 JB |
3 | Name: chmtools |
4 | Version: 0 | |
b6c06af2 | 5 | Release: 2 |
818a6cf0 JB |
6 | License: GPL |
7 | Group: Applications/Text | |
8 | Source0: http://www.speakeasy.org/~russotto/chm/%{name}.tar.gz | |
9 | # Source0-md5: 614b91758ddbeb0ab1c4186fdd13d78a | |
10 | Patch0: %{name}-types.patch | |
11 | URL: http://www.speakeasy.org/~russotto/chm/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | CHM Tools package is a set of tools for working with the CHM files, | |
16 | consisting of a C language library (called "chmlib" too, but different | |
17 | from chmlib package), a program called 'chmdump' which dumps out the | |
18 | files in a CHM file and (incomplete) CHM format documentation. | |
19 | ||
2f8becd8 JR |
20 | %description -l pl.UTF-8 |
21 | Pakiet CHM Tools to zbiór narzędzi do pracy z plikami CHM, składający | |
22 | się z biblioteki w C (o nazwie także "chmlib", ale innej niż ta z | |
23 | pakietu chmlib), programu "chmdump" zrzucającego pliki z pliku CHM | |
24 | oraz (niepełnej) dokumentacji do formatu CHM. | |
818a6cf0 JB |
25 | |
26 | %prep | |
27 | %setup -q -n %{name} | |
28 | %patch0 -p1 | |
29 | ||
30 | %build | |
31 | %{__make} \ | |
32 | CC="%{__cc}" \ | |
33 | CFLAGS="%{rpmcflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{_bindir} | |
38 | ||
39 | install chmdump $RPM_BUILD_ROOT%{_bindir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc chmformat.html | |
47 | %attr(755,root,root) %{_bindir}/* |