]> git.pld-linux.org Git - packages/tellico.git/blame - tellico.spec
- kcddb bcond
[packages/tellico.git] / tellico.spec
CommitLineData
8b8c38ce 1#
2# Conditional build:
3%bcond_with webcam # build with webcam barcode recognition
3f1ae995 4%bcond_with arts # build with aRts support
567fb2b1 5%bcond_without kcddb # disable KCDDB
3f1ae995 6
dbfa650d 7Summary: A collection manager
2d2c3519 8Summary(pl.UTF-8): Zarządca zbiorów wideo, audio i książek
0afb29db 9Name: tellico
3f1ae995 10Version: 1.3.6
1a470b7d 11Release: 2
22e2e5f9 12License: GPL v2
6f5a6570 13Group: X11/Applications
3f1ae995
ER
14Source0: http://tellico-project.org/files/%{name}-%{version}.tar.gz
15# Source0-md5: 7e1af02c1375e4d20e199f6fb06391d0
8b8c38ce 16Patch0: %{name}-u64.patch
653906c4 17Patch1: %{name}-desktop.patch
2cf47644 18Patch2: gcc44.patch
3f1ae995 19URL: http://www.tellico-project.org/
b2006ae0 20BuildRequires: automake
8b8c38ce 21BuildRequires: exempi-devel
c8884139 22BuildRequires: kdelibs-devel >= 9:3.3.1
567fb2b1 23%{?with_kcddb:BuildRequires: kdemultimedia-devel}
314c7a50 24BuildRequires: kdepim-devel
b6749c5b 25BuildRequires: libxml2-devel
31ffc230 26BuildRequires: libxml2-progs
240a454c 27BuildRequires: libxslt-devel >= 1.0.19
8b8c38ce 28BuildRequires: poppler-qt-devel
adeb709e 29BuildRequires: rpmbuild(macros) >= 1.129
314c7a50 30BuildRequires: taglib-devel
31BuildRequires: yaz-devel
d895816a 32Requires: desktop-file-utils
9e1e39e1 33Requires: libxslt >= 1.0.19
0afb29db 34Obsoletes: bookcase
6f5a6570 35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
6f5a6570 37%description
e3c0c9e8 38Tellico is a personal catalog application for your book, video and
dbfa650d 39audio collection.
6f5a6570 40
6f14199b 41%description -l pl.UTF-8
e3c0c9e8 42Tellico to osobista aplikacja katalogowa przeznaczona do
6f14199b 43księgozbiorów, archiwów wideo i audio.
6f5a6570 44
45%prep
653906c4 46%setup -q
8b8c38ce 47%patch0 -p1
653906c4 48%patch1 -p1
2cf47644 49%patch2 -p1
6f5a6570 50
51%build
b6749c5b 52cp -f /usr/share/automake/config.sub admin
b6749c5b 53%configure \
8b8c38ce 54 %{?with_webcam:--enable-webcam} \
3f1ae995 55 --with%{!?with_arts:out}-arts \
567fb2b1 56 %{!?with_kcddb:--disable-libkcddb} \
b6749c5b 57 --with-qt-libraries=%{_libdir}
58
6f5a6570 59%{__make}
60
61%install
314c7a50 62rm -rf $RPM_BUILD_ROOT
b6749c5b 63install -d $RPM_BUILD_ROOT%{_desktopdir}
adeb709e 64
6da15835 65%{__make} install \
b6749c5b 66 DESTDIR=$RPM_BUILD_ROOT \
67 kde_htmldir=%{_kdedocdir} \
68 kde_libs_htmldir=%{_kdedocdir}
02fdf4da 69
7ec8f9ab 70mv $RPM_BUILD_ROOT%{_datadir}/locale/{ee,et}
71
314c7a50 72%find_lang %{name} --with-kde
9e1e39e1
JB
73
74%clean
75rm -rf $RPM_BUILD_ROOT
6f5a6570 76
314c7a50 77%post
c8884139 78%update_desktop_database_post
8b8c38ce 79%update_mime_database
314c7a50 80
81%postun
c8884139 82%update_desktop_database_postun
8b8c38ce 83%update_mime_database
314c7a50 84
0afb29db 85%files -f %{name}.lang
6f5a6570 86%defattr(644,root,root,755)
22e2e5f9 87%doc AUTHORS ChangeLog README TODO
6f5a6570 88%attr(755,root,root) %{_bindir}/*
0afb29db 89%{_datadir}/mimelnk/application/x-%{name}.desktop
90%{_datadir}/apps/kconf_update/%{name}-rename.upd
45fa6577 91%{_datadir}/apps/kconf_update/tellico.upd
8b8c38ce 92%{_datadir}/apps/kconf_update/tellico-1-3-update.pl
6f5a6570 93%{_datadir}/apps/%{name}
e50b0f0d 94%{_datadir}/config/tellicorc
c8884139 95%{_datadir}/config.kcfg/tellico_config.kcfg
8b8c38ce 96%{_datadir}/mime/packages/*.xml
314c7a50 97%{_desktopdir}/kde/%{name}.desktop
8b8c38ce 98%{_iconsdir}/*/*/*/*.png
This page took 0.305651 seconds and 4 git commands to generate.