]> git.pld-linux.org Git - packages/ebook-tools.git/blob - ebook-tools.spec
2cfe9bdc948c52846cffa1bb260e592042d82a1e
[packages/ebook-tools.git] / ebook-tools.spec
1 Summary:        tools for accessing and converting ebook file formats
2 Summary(pl.UTF-8):      tools for accessing and converting ebook file formats
3 Name:           ebook-tools
4 Version:        0.1.1
5 Release:        1
6 License:        GPL v3
7 Group:          X11/Libraries
8 Source0:        http://dl.sourceforge.net/ebook-tools/%{name}-%{version}.tar.gz
9 # Source0-md5:  15946af6f946eabe8247cdef9ada2b88
10 URL:            http://sourceforge.net/projects/ebook-tools
11 BuildRequires:  cmake
12 BuildRequires:  libzip-devel
13 BuildRequires:  rpmbuild(macros) >= 1.293
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 ebook-tools provides tools for accessing and converting various ebook
18 file formats.
19
20 %description -l pl.UTF-8
21 ebook-tools provides tools for accessing and converting various ebook
22 file formats.
23
24 %package devel
25 Summary:        ebook-tools - header files
26 Summary(pl.UTF-8):      ebook-tools - pliki nagłówkowe
27 Group:          X11/Development/Libraries
28 Requires:       %{name} = %{version}-%{release}
29
30 %description devel
31 This package contains header files for ebook-tools.
32
33 %description devel -l pl.UTF-8
34 Pakiet ten zawiera pliki nagłówkowe do ebook-tools.
35
36 %prep
37 %setup -q
38
39 %build
40 install -d build
41 cd build
42 %cmake \
43         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
44         ../
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} -C build install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/einfo
59 %attr(755,root,root) %{_bindir}/lit2epub
60 %attr(755,root,root) %ghost %{_libdir}/libepub.so.?
61 %attr(755,root,root) %{_libdir}/libepub.so.*.*.*
62
63 %files devel
64 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_libdir}/libepub.so
66 %{_includedir}/epub.h
67 %{_includedir}/epub_shared.h
This page took 0.153383 seconds and 2 git commands to generate.