2007-01-16 00:38:55 +01:00
|
|
|
#
|
2010-04-01 17:48:40 +02:00
|
|
|
# spec file for package tellico (Version 2.2)
|
2007-01-16 00:38:55 +01:00
|
|
|
#
|
2010-03-08 18:25:47 +01:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:38:55 +01:00
|
|
|
#
|
2008-09-15 15:54:28 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-28 05:04:05 +01:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
Name: tellico
|
2010-03-08 18:25:47 +01:00
|
|
|
BuildRequires: cmake fdupes libkde4-devel libkdepimlibs4-devel libpoppler-qt4-devel libqimageblitz-devel
|
2009-11-27 16:12:33 +01:00
|
|
|
BuildRequires: libexempi-devel libkcddb4-devel libksane-devel libyaz-devel taglib-devel
|
2007-01-16 00:38:55 +01:00
|
|
|
Summary: A book collection manager
|
2010-04-01 17:48:40 +02:00
|
|
|
Version: 2.2
|
2010-04-03 19:32:06 +02:00
|
|
|
Release: 2
|
2009-11-27 16:12:33 +01:00
|
|
|
License: GPLv2+
|
2007-01-16 00:38:55 +01:00
|
|
|
Group: Productivity/Other
|
2009-09-22 23:54:31 +02:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2007-01-16 00:38:55 +01:00
|
|
|
Provides: bookcase
|
|
|
|
Obsoletes: bookcase
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-10-03 01:14:11 +02:00
|
|
|
Url: http://www.periapsis.org/tellico/
|
2009-03-12 15:40:29 +01:00
|
|
|
# PATCH-FIX-UPSTREAM fix-compile.diff pgajdos@suse.cz
|
2008-02-08 20:47:12 +01:00
|
|
|
Requires: %{name}-lang = %{version}
|
2009-02-24 00:17:54 +01:00
|
|
|
%kde4_pimlibs_requires
|
2010-03-08 18:25:47 +01:00
|
|
|
%kde4_runtime_requires
|
|
|
|
Requires: kdepim4-runtime
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-09-22 23:54:31 +02:00
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%lang_package
|
2007-01-16 00:38:55 +01:00
|
|
|
%prep
|
2009-09-22 23:54:31 +02:00
|
|
|
%setup -q
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%build
|
2009-02-24 00:17:54 +01:00
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%install
|
2009-02-24 00:17:54 +01:00
|
|
|
cd build
|
|
|
|
%makeinstall
|
|
|
|
cd ..
|
|
|
|
rm -r $RPM_BUILD_ROOT/nogo
|
2007-01-16 00:38:55 +01:00
|
|
|
%suse_update_desktop_file %name Office Database
|
2008-02-08 20:47:12 +01:00
|
|
|
%find_lang %{name}
|
2009-02-24 00:17:54 +01:00
|
|
|
%kde_post_install
|
2009-08-13 23:53:27 +02:00
|
|
|
%if %suse_version < 1120
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/sv/common
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/en/common
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/fr/common
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/uk/common
|
2010-04-03 19:32:06 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/pt_BR/common
|
2009-08-13 23:53:27 +02:00
|
|
|
%endif
|
|
|
|
fdupes -r $RPM_BUILD_ROOT
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%files
|
2007-01-16 00:38:55 +01:00
|
|
|
%defattr(-,root,root,0755)
|
2008-02-08 20:47:12 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog
|
2009-02-24 00:17:54 +01:00
|
|
|
%{_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}/*
|
2008-02-08 20:47:12 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-03-06 09:11:10 +01:00
|
|
|
%changelog
|