]> git.pld-linux.org Git - packages/tellico.git/blobdiff - tellico.spec
- kcddb bcond
[packages/tellico.git] / tellico.spec
index febb676da4da7fbef25484c67715f71b3918e2c0..33239317bca7f8b54330c03e3dae72de628a0c1f 100644 (file)
@@ -1,52 +1,59 @@
+#
+# Conditional build:
+%bcond_with    webcam  # build with webcam barcode recognition
+%bcond_with    arts                    # build with aRts support
+%bcond_without kcddb   # disable KCDDB
+
 Summary:       A collection manager
 Summary(pl.UTF-8):     Zarządca zbiorów wideo, audio i książek
 Name:          tellico
-Version:       1.2.12
-Release:       1
+Version:       1.3.6
+Release:       2
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.gz
-# Source0-md5: aa2437cddb86fc6f6ffaf2957052d496
-URL:           http://www.periapsis.org/tellico/
-BuildRequires: autoconf
+Source0:       http://tellico-project.org/files/%{name}-%{version}.tar.gz
+# Source0-md5: 7e1af02c1375e4d20e199f6fb06391d0
+Patch0:                %{name}-u64.patch
+Patch1:                %{name}-desktop.patch
+Patch2:                gcc44.patch
+URL:           http://www.tellico-project.org/
 BuildRequires: automake
+BuildRequires: exempi-devel
 BuildRequires: kdelibs-devel >= 9:3.3.1
-BuildRequires: kdemultimedia-devel
+%{?with_kcddb:BuildRequires:   kdemultimedia-devel}
 BuildRequires: kdepim-devel
-BuildRequires: libtool
 BuildRequires: libxml2-devel
 BuildRequires: libxml2-progs
 BuildRequires: libxslt-devel >= 1.0.19
+BuildRequires: poppler-qt-devel
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: taglib-devel
 BuildRequires: yaz-devel
 Requires:      desktop-file-utils
-Requires:      kdebase-core >= 9:3.3.1
 Requires:      libxslt >= 1.0.19
 Obsoletes:     bookcase
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Bookcase is a personal catalog application for your book, video and
+Tellico is a personal catalog application for your book, video and
 audio collection.
 
 %description -l pl.UTF-8
-Bookcase to osobista aplikacja katalogowa przeznaczona do
+Tellico to osobista aplikacja katalogowa przeznaczona do
 księgozbiorów, archiwów wideo i audio.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-%{__perl} admin/am_edit
 %configure \
-       --enable-final \
+       %{?with_webcam:--enable-webcam} \
+       --with%{!?with_arts:out}-arts \
+       %{!?with_kcddb:--disable-libkcddb} \
        --with-qt-libraries=%{_libdir}
 
 %{__make}
@@ -69,9 +76,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 %update_desktop_database_post
+%update_mime_database
 
 %postun
 %update_desktop_database_postun
+%update_mime_database
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -80,7 +89,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/mimelnk/application/x-%{name}.desktop
 %{_datadir}/apps/kconf_update/%{name}-rename.upd
 %{_datadir}/apps/kconf_update/tellico.upd
+%{_datadir}/apps/kconf_update/tellico-1-3-update.pl
 %{_datadir}/apps/%{name}
+%{_datadir}/config/tellicorc
 %{_datadir}/config.kcfg/tellico_config.kcfg
+%{_datadir}/mime/packages/*.xml
 %{_desktopdir}/kde/%{name}.desktop
-%{_iconsdir}/*/*/*/%{name}.png
+%{_iconsdir}/*/*/*/*.png
This page took 0.08055 seconds and 4 git commands to generate.