]> git.pld-linux.org Git - packages/tellico.git/blobdiff - tellico.spec
- up to 1.3.5
[packages/tellico.git] / tellico.spec
index 45a3b8ec4b3e5fffda8f6f93fc9996abbe2a089e..a119ef037393f8502c55c53d55ff16a103875a48 100644 (file)
@@ -1,54 +1,59 @@
+#
+# Conditional build:
+%bcond_with    webcam  # build with webcam barcode recognition
+#
 Summary:       A collection manager
-Summary(pl):   Zarz±dca zbiorów wideo, audio i ksi±¿ek
-Name:          bookcase
-Version:       0.9.3
+Summary(pl.UTF-8):     Zarządca zbiorów wideo, audio i książek
+Name:          tellico
+Version:       1.3.5
 Release:       1
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://www.periapsis.org/bookcase/download/%{name}-%{version}.tar.gz
-# Source0-md5: ccb7035054fbbba18f47c24929881205
-Patch0:                %{name}-gcc34.patch
-URL:           http://www.periapsis.org/bookcase/
-BuildRequires: autoconf
+Source0:       http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.gz
+# Source0-md5: ca5d9db11fa1dd33dfe317ffe095435c
+Patch0:                %{name}-u64.patch
+Patch1:                %{name}-desktop.patch
+URL:           http://www.periapsis.org/tellico/
 BuildRequires: automake
-BuildRequires: kdelibs-devel >= 3.1
-BuildRequires: libgcrypt-devel
-BuildRequires: libxslt-devel >= 1.0.19
+BuildRequires: exempi-devel
+BuildRequires: kdelibs-devel >= 9:3.3.1
+BuildRequires: kdemultimedia-devel
+BuildRequires: kdepim-devel
 BuildRequires: libxml2-devel
 BuildRequires: libxml2-progs
-BuildRequires: qt-devel > 3.1
-BuildRequires: pcre-devel
+BuildRequires: libxslt-devel >= 1.0.19
+BuildRequires: poppler-qt-devel
 BuildRequires: rpmbuild(macros) >= 1.129
-BuildRequires: unsermake >= 040805-1
-Requires:      kdebase-core >= 3.1
+BuildRequires: taglib-devel
+BuildRequires: yaz-devel
+Requires:      desktop-file-utils
 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
-Bookcase to osobista aplikacja katalogowa przeznaczona do
-ksiêgozbiorów, archiwów wideo i audio.
+%description -l pl.UTF-8
+Tellico to osobista aplikacja katalogowa przeznaczona do
+księgozbiorów, archiwów wideo i audio.
 
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 cp -f /usr/share/automake/config.sub admin
-export UNSERMAKE=/usr/share/unsermake/unsermake
-%{__make} -f admin/Makefile.common cvs
-
 %configure \
-       --enable-final \
+       %{?with_webcam:--enable-webcam} \
        --with-qt-libraries=%{_libdir}
 
 %{__make}
 
 %install
-rm -rf $RPM_BUILD_ROOT *.lang
+rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
@@ -56,17 +61,32 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
        kde_htmldir=%{_kdedocdir} \
        kde_libs_htmldir=%{_kdedocdir}
 
-%find_lang %{name}  --with-kde
-mv -f $RPM_BUILD_ROOT{%{_datadir}/applnk/*/*.desktop,%{_desktopdir}}
+mv $RPM_BUILD_ROOT%{_datadir}/locale/{ee,et}
+
+%find_lang %{name} --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f bookcase.lang
+%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)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/mimelnk/application/x-bookcase.desktop
-%{_iconsdir}/*/*/*/bookcase.png
+%{_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}
-%{_desktopdir}/bookcase.desktop
+%{_datadir}/config/tellicorc
+%{_datadir}/config.kcfg/tellico_config.kcfg
+%{_datadir}/mime/packages/*.xml
+%{_desktopdir}/kde/%{name}.desktop
+%{_iconsdir}/*/*/*/*.png
This page took 0.385895 seconds and 4 git commands to generate.