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