# # spec file for package tellico (Version 2.3.2) # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: tellico Version: 2.3.2 Release: 1 Summary: A book collection manager License: GPLv2+ Url: http://tellico-project.org Group: Productivity/Other Source0: http://tellico-project.org/files/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: libexempi-devel BuildRequires: libkcddb4-devel BuildRequires: libkcompactdisc4-devel BuildRequires: libkde4-devel BuildRequires: libkdepimlibs4-devel BuildRequires: libksane-devel BuildRequires: libpoppler-qt4-devel BuildRequires: libqimageblitz-devel BuildRequires: libqjson-devel BuildRequires: libyaz-devel BuildRequires: taglib-devel BuildRequires: update-desktop-files Requires: kdepim4-runtime %kde4_pimlibs_requires %kde4_runtime_requires Suggests: %{name}-lang = %{version} Provides: bookcase Obsoletes: bookcase %description Tellico is an KDE application for keeping track of your collections. It provides default templates for books, bibliographies, videos, music, coins, stamps, trading cards, comic books, and wines. %lang_package %prep %setup -q %build %cmake_kde4 -d build %make_jobs %install cd build %kde4_makeinstall cd .. rm -r %{buildroot}/nogo %suse_update_desktop_file %{name} Office Database %find_lang %{name} %kde_post_install %if 0%{?suse_version} < 1120 mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/sv/common mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/en/common mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/fr/common mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/uk/common mkdir -p %{buildroot}%{_datadir}/doc/kde/HTML/pt_BR/common %endif fdupes -r %{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog README %{_bindir}/tellico %{_datadir}/applications/kde4/tellico.desktop %{_datadir}/icons/hicolor/*/apps/tellico.png %{_datadir}/icons/hicolor/*/mimetypes/application-x-tellico.png %{_datadir}/mime/packages/tellico.xml %{_kde_share_dir}/apps/kconf_update/tellico* %{_kde_share_dir}/config.kcfg/tellico_config.kcfg %{_kde_share_dir}/apps/%{name} %{_kde_config_dir}/* %files lang -f %{name}.lang %defattr(-,root,root,-) %changelog