]> git.pld-linux.org Git - packages/chmlib.git/blob - chmlib.spec
- updated to 0.40
[packages/chmlib.git] / chmlib.spec
1 Summary:        chmlib - library designed for accessing MS ITSS files
2 Summary(pl.UTF-8):      chmlib - biblioteka pozwalająca na dostęp do plików MS ITSS
3 Name:           chmlib
4 Version:        0.40
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://www.jedrea.com/chmlib/%{name}-%{version}.tar.gz
9 # Source0-md5:  96b8e9ac52015902941862171f5daa4c
10 Patch0:         %{name}-morearchs.patch
11 URL:            http://www.jedrea.com/chmlib/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 chmlib is a small library designed for accessing MS ITSS files. The
18 ITSS file format is used for Microsoft HTML Help files (.chm), which
19 have been the predominant medium for software documentation from
20 Microsoft during the past several years, having superceded the
21 previously used .hlp file format.
22
23 %description -l pl.UTF-8
24 chmlib to niewielka biblioteka przeznaczona do odczytu plików MS ITSS.
25 Format ITSS jest używany w plikach Microsoft HTML Help (.chm), które
26 stały się dominującym medium dla elektronicznej dokumentacji
27 udostępnianej przez Microsoft w ostatnim czasie, zastępując poprzednio
28 używane pliki .hlp.
29
30 %package devel
31 Summary:        chmlib header files
32 Summary(pl.UTF-8):      Pliki nagłówkowe chmlib
33 Group:          Development/Libraries
34 Requires:       %{name} = %{version}-%{release}
35
36 %description devel
37 Header files needed for building programs that use chmlib.
38
39 %description devel -l pl.UTF-8
40 Pliki nagłówkowe potrzebne do tworzenia programów z użyciem chmlib.
41
42 %package static
43 Summary:        chmlib static library
44 Summary(pl.UTF-8):      Biblioteka statyczna chmlib
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}-%{release}
47
48 %description static
49 Static version of chmlib.
50
51 %description static -l pl.UTF-8
52 Statyczna wersja chmlib.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57
58 %build
59 cp -f /usr/share/automake/config.* .
60 %{__autoconf}
61 %configure \
62         --enable-examples
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT%{_bindir}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post   -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS NEWS README
82 %attr(755,root,root) %{_bindir}/*
83 %attr(755,root,root) %{_libdir}/libchm.so.*.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/libchm.so
88 %{_libdir}/libchm.la
89 %{_includedir}/chm_lib.h
90 %{_includedir}/lzx.h
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/libchm.a
This page took 0.054861 seconds and 3 git commands to generate.