]>
Commit | Line | Data |
---|---|---|
c3673592 RT |
1 | Summary: tools for accessing and converting ebook file formats |
2 | Summary(pl.UTF-8): tools for accessing and converting ebook file formats | |
98ebeb87 | 3 | Name: ebook-tools |
e4e9243b | 4 | Version: 0.1.1 |
98ebeb87 RT |
5 | Release: 1 |
6 | License: GPL v3 | |
7 | Group: X11/Libraries | |
8 | Source0: http://dl.sourceforge.net/ebook-tools/%{name}-%{version}.tar.gz | |
e4e9243b | 9 | # Source0-md5: 15946af6f946eabe8247cdef9ada2b88 |
d3eaba37 ER |
10 | URL: http://sourceforge.net/projects/ebook-tools |
11 | BuildRequires: cmake | |
12 | BuildRequires: rpmbuild(macros) >= 1.293 | |
98ebeb87 RT |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
d3eaba37 ER |
16 | ebook-tools provides tools for accessing and converting various ebook |
17 | file formats. | |
98ebeb87 RT |
18 | |
19 | %description -l pl.UTF-8 | |
d3eaba37 ER |
20 | ebook-tools provides tools for accessing and converting various ebook |
21 | file formats. | |
c3673592 RT |
22 | |
23 | %package devel | |
d3eaba37 ER |
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} | |
c3673592 RT |
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. | |
98ebeb87 RT |
34 | |
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
83856fa6 | 39 | install build |
40 | cd build | |
98ebeb87 RT |
41 | %cmake \ |
42 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
83856fa6 | 43 | ../ |
98ebeb87 RT |
44 | %{__make} |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
83856fa6 | 49 | %{__make} -C build install \ |
98ebeb87 RT |
50 | DESTDIR=$RPM_BUILD_ROOT |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
98ebeb87 RT |
57 | %attr(755,root,root) %{_bindir}/einfo |
58 | %attr(755,root,root) %{_bindir}/lit2epub | |
d3eaba37 | 59 | %attr(755,root,root) %ghost %{_libdir}/libepub.so.? |
c3673592 RT |
60 | %attr(755,root,root) %{_libdir}/libepub.so.*.*.* |
61 | ||
62 | %files devel | |
63 | %defattr(644,root,root,755) | |
64 | %attr(755,root,root) %{_libdir}/libepub.so | |
98ebeb87 RT |
65 | %{_includedir}/epub.h |
66 | %{_includedir}/epub_shared.h |