]> git.pld-linux.org Git - packages/tellico.git/blobdiff - tellico.spec
- 2.3.4
[packages/tellico.git] / tellico.spec
index bdfc8ae494b3a4d752b8e6cc907481ffc79bd9b2..490829375d9ccf9af48b72929936a143de6e797d 100644 (file)
@@ -1,49 +1,56 @@
+#
+# 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
+Summary(pl.UTF-8):     Zarządca zbiorów wideo, audio i książek
 Name:          tellico
-Version:       1.0.2
-Release:       0.1
-License:       GPL v2
+Version:       2.3.4
+Release:       1
+License:       GPL v3
 Group:         X11/Applications
-Source0:       http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.gz
-# Source0-md5: a7d634de69fcf51c342eab832c009ce0
-URL:           http://www.periapsis.org/bookcase/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: kdelibs-devel >= 3.2
+Source0:       http://tellico-project.org/files/%{name}-%{version}.tar.bz2
+# Source0-md5: 0a955754e89fc96d9745266ec97410c7
+Patch1:                %{name}-desktop.patch
+URL:           http://tellico-project.org/
+BuildRequires: cmake
+BuildRequires: exempi-devel
+BuildRequires: kde4-kdegraphics-devel
+BuildRequires: kde4-kdemultimedia-devel
+BuildRequires: kde4-kdepimlibs-devel
 BuildRequires: libxml2-devel
 BuildRequires: libxml2-progs
 BuildRequires: libxslt-devel >= 1.0.19
-BuildRequires: pcre-devel
-BuildRequires: qt-devel > 3.1
+BuildRequires: poppler-Qt-devel
+BuildRequires: qimageblitz-devel
 BuildRequires: rpmbuild(macros) >= 1.129
-Requires:      kdebase-core >= 3.1
+BuildRequires: shared-desktop-ontologies-devel
+BuildRequires: soprano-devel
+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
+%patch1 -p1
 
 %build
-cp -f /usr/share/automake/config.sub admin
-
-%configure \
-       --enable-final \
-       --with-qt-libraries=%{_libdir}
-
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
 %{__make}
 
 %install
-rm -rf $RPM_BUILD_ROOT *.lang
+rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
@@ -51,19 +58,33 @@ 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}}
+rm -rf $RPM_BUILD_ROOT/nogo
+
+%find_lang %{name} --with-kde
 
 %clean
 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)
-%doc AUTHORS ChangeLog README TODO
+%doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/mimelnk/application/x-%{name}.desktop
 %{_datadir}/apps/kconf_update/%{name}-rename.upd
 %{_datadir}/apps/kconf_update/tellico.upd
-%{_iconsdir}/*/*/*/%{name}.png
+%{_datadir}/apps/kconf_update/tellico-1-3-update.pl
 %{_datadir}/apps/%{name}
-%{_desktopdir}/%{name}.desktop
+%{_datadir}/config/tellicorc
+%{_datadir}/config/tellico-script.knsrc
+%{_datadir}/config/tellico-template.knsrc
+%{_datadir}/config.kcfg/tellico_config.kcfg
+%{_datadir}/mime/packages/*.xml
+%{_desktopdir}/kde4/%{name}.desktop
+%{_iconsdir}/*/*/*/*.png
This page took 0.048693 seconds and 4 git commands to generate.