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