]> git.pld-linux.org Git - packages/ebook-tools.git/blob - ebook-tools.spec
- cmake deps, add URL
[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:  rpmbuild(macros) >= 1.293
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 ebook-tools provides tools for accessing and converting various ebook
17 file formats.
18
19 %description -l pl.UTF-8
20 ebook-tools provides tools for accessing and converting various ebook
21 file formats.
22
23 %package devel
24 Summary:        ebook-tools - header files
25 Summary(pl.UTF-8):      ebook-tools - pliki nagłówkowe
26 Group:          X11/Development/Libraries
27 Requires:       %{name} = %{version}-%{release}
28
29 %description devel
30 This package contains header files for ebook-tools.
31
32 %description devel -l pl.UTF-8
33 Pakiet ten zawiera pliki nagłówkowe do ebook-tools.
34
35 %prep
36 %setup -q
37
38 %build
39 %cmake \
40         -DCMAKE_INSTALL_PREFIX=%{_prefix} \
41         .
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %attr(755,root,root) %{_bindir}/einfo
56 %attr(755,root,root) %{_bindir}/lit2epub
57 %attr(755,root,root) %ghost %{_libdir}/libepub.so.?
58 %attr(755,root,root) %{_libdir}/libepub.so.*.*.*
59
60 %files devel
61 %defattr(644,root,root,755)
62 %attr(755,root,root) %{_libdir}/libepub.so
63 %{_includedir}/epub.h
64 %{_includedir}/epub_shared.h
This page took 0.133238 seconds and 4 git commands to generate.