]> git.pld-linux.org Git - packages/tellico.git/blame - tellico.spec
- updated BRs; rel. 1
[packages/tellico.git] / tellico.spec
CommitLineData
8b8c38ce 1#
2# Conditional build:
3%bcond_with webcam # build with webcam barcode recognition
4#
dbfa650d 5Summary: A collection manager
2d2c3519 6Summary(pl.UTF-8): Zarządca zbiorów wideo, audio i książek
0afb29db 7Name: tellico
3fcb4eb9 8Version: 2.3.5
84fed6a8 9Release: 1
4a6613a2 10License: GPL v3
6f5a6570 11Group: X11/Applications
b5a20979 12Source0: http://tellico-project.org/files/%{name}-%{version}.tar.bz2
3fcb4eb9 13# Source0-md5: e6a1835d2622b79c4bfd95271bce858e
653906c4 14Patch1: %{name}-desktop.patch
b5a20979 15URL: http://tellico-project.org/
4a6613a2 16BuildRequires: cmake
c25ebbdf 17BuildRequires: exempi-devel
4a6613a2 18BuildRequires: kde4-kdemultimedia-devel
c25ebbdf 19BuildRequires: kde4-kdepimlibs-devel
b6749c5b 20BuildRequires: libxml2-devel
31ffc230 21BuildRequires: libxml2-progs
240a454c 22BuildRequires: libxslt-devel >= 1.0.19
c25ebbdf 23BuildRequires: poppler-Qt-devel
1a0bc910 24BuildRequires: qimageblitz-devel
adeb709e 25BuildRequires: rpmbuild(macros) >= 1.129
c25ebbdf
ZU
26BuildRequires: shared-desktop-ontologies-devel
27BuildRequires: soprano-devel
314c7a50 28BuildRequires: taglib-devel
29BuildRequires: yaz-devel
d895816a 30Requires: desktop-file-utils
9e1e39e1 31Requires: libxslt >= 1.0.19
0afb29db 32Obsoletes: bookcase
6f5a6570 33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
6f5a6570 35%description
e3c0c9e8 36Tellico is a personal catalog application for your book, video and
dbfa650d 37audio collection.
6f5a6570 38
6f14199b 39%description -l pl.UTF-8
e3c0c9e8 40Tellico to osobista aplikacja katalogowa przeznaczona do
6f14199b 41księ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 52rm -rf $RPM_BUILD_ROOT
b6749c5b 53install -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 60rm -rf $RPM_BUILD_ROOT/nogo
7ec8f9ab 61
314c7a50 62%find_lang %{name} --with-kde
9e1e39e1
JB
63
64%clean
65rm -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
This page took 0.072704 seconds and 4 git commands to generate.