]>
Commit | Line | Data |
---|---|---|
8b8c38ce | 1 | # |
2 | # Conditional build: | |
3 | %bcond_with webcam # build with webcam barcode recognition | |
4 | # | |
dbfa650d | 5 | Summary: A collection manager |
2d2c3519 | 6 | Summary(pl.UTF-8): Zarządca zbiorów wideo, audio i książek |
0afb29db | 7 | Name: tellico |
3fcb4eb9 | 8 | Version: 2.3.5 |
84fed6a8 | 9 | Release: 1 |
4a6613a2 | 10 | License: GPL v3 |
6f5a6570 | 11 | Group: X11/Applications |
b5a20979 | 12 | Source0: http://tellico-project.org/files/%{name}-%{version}.tar.bz2 |
3fcb4eb9 | 13 | # Source0-md5: e6a1835d2622b79c4bfd95271bce858e |
653906c4 | 14 | Patch1: %{name}-desktop.patch |
b5a20979 | 15 | URL: http://tellico-project.org/ |
4a6613a2 | 16 | BuildRequires: cmake |
c25ebbdf | 17 | BuildRequires: exempi-devel |
4a6613a2 | 18 | BuildRequires: kde4-kdemultimedia-devel |
c25ebbdf | 19 | BuildRequires: kde4-kdepimlibs-devel |
b6749c5b | 20 | BuildRequires: libxml2-devel |
31ffc230 | 21 | BuildRequires: libxml2-progs |
240a454c | 22 | BuildRequires: libxslt-devel >= 1.0.19 |
c25ebbdf | 23 | BuildRequires: poppler-Qt-devel |
1a0bc910 | 24 | BuildRequires: qimageblitz-devel |
adeb709e | 25 | BuildRequires: rpmbuild(macros) >= 1.129 |
c25ebbdf ZU |
26 | BuildRequires: shared-desktop-ontologies-devel |
27 | BuildRequires: soprano-devel | |
314c7a50 | 28 | BuildRequires: taglib-devel |
29 | BuildRequires: yaz-devel | |
d895816a | 30 | Requires: desktop-file-utils |
9e1e39e1 | 31 | Requires: libxslt >= 1.0.19 |
0afb29db | 32 | Obsoletes: bookcase |
6f5a6570 | 33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
34 | ||
6f5a6570 | 35 | %description |
e3c0c9e8 | 36 | Tellico is a personal catalog application for your book, video and |
dbfa650d | 37 | audio collection. |
6f5a6570 | 38 | |
6f14199b | 39 | %description -l pl.UTF-8 |
e3c0c9e8 | 40 | Tellico to osobista aplikacja katalogowa przeznaczona do |
6f14199b | 41 | księgozbiorów, archiwów wideo i audio. |
6f5a6570 | 42 | |
43 | %prep | |
653906c4 | 44 | %setup -q |
653906c4 | 45 | %patch1 -p1 |
6f5a6570 | 46 | |
47 | %build | |
4a6613a2 | 48 | %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} |
6f5a6570 | 49 | %{__make} |
50 | ||
51 | %install | |
314c7a50 | 52 | rm -rf $RPM_BUILD_ROOT |
b6749c5b | 53 | install -d $RPM_BUILD_ROOT%{_desktopdir} |
adeb709e | 54 | |
6da15835 | 55 | %{__make} install \ |
b6749c5b | 56 | DESTDIR=$RPM_BUILD_ROOT \ |
57 | kde_htmldir=%{_kdedocdir} \ | |
58 | kde_libs_htmldir=%{_kdedocdir} | |
02fdf4da | 59 | |
4a6613a2 | 60 | rm -rf $RPM_BUILD_ROOT/nogo |
7ec8f9ab | 61 | |
314c7a50 | 62 | %find_lang %{name} --with-kde |
9e1e39e1 JB |
63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
6f5a6570 | 66 | |
314c7a50 | 67 | %post |
c8884139 | 68 | %update_desktop_database_post |
8b8c38ce | 69 | %update_mime_database |
314c7a50 | 70 | |
71 | %postun | |
c8884139 | 72 | %update_desktop_database_postun |
8b8c38ce | 73 | %update_mime_database |
314c7a50 | 74 | |
0afb29db | 75 | %files -f %{name}.lang |
6f5a6570 | 76 | %defattr(644,root,root,755) |
4a6613a2 | 77 | %doc AUTHORS ChangeLog README |
6f5a6570 | 78 | %attr(755,root,root) %{_bindir}/* |
0afb29db | 79 | %{_datadir}/apps/kconf_update/%{name}-rename.upd |
45fa6577 | 80 | %{_datadir}/apps/kconf_update/tellico.upd |
8b8c38ce | 81 | %{_datadir}/apps/kconf_update/tellico-1-3-update.pl |
6f5a6570 | 82 | %{_datadir}/apps/%{name} |
e50b0f0d | 83 | %{_datadir}/config/tellicorc |
4a6613a2 ZU |
84 | %{_datadir}/config/tellico-script.knsrc |
85 | %{_datadir}/config/tellico-template.knsrc | |
c8884139 | 86 | %{_datadir}/config.kcfg/tellico_config.kcfg |
8b8c38ce | 87 | %{_datadir}/mime/packages/*.xml |
4a6613a2 | 88 | %{_desktopdir}/kde4/%{name}.desktop |
8b8c38ce | 89 | %{_iconsdir}/*/*/*/*.png |