2007-01-16 00:38:55 +01:00
|
|
|
#
|
2009-07-27 23:23:11 +02:00
|
|
|
# spec file for package tellico (Version 1.9_SVN20090725)
|
2007-01-16 00:38:55 +01:00
|
|
|
#
|
2009-02-16 12:25:14 +01:00
|
|
|
# Copyright (c) 2009 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
|
|
|
|
|
2009-07-27 23:23:11 +02:00
|
|
|
%define sversion svn1002315
|
2008-03-28 05:04:05 +01:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
Name: tellico
|
2009-02-24 00:17:54 +01:00
|
|
|
BuildRequires: cmake kdemultimedia4 kdepim4-devel libkde4-devel libpoppler-qt4-devel libqimageblitz-devel
|
2007-01-16 00:38:55 +01:00
|
|
|
Summary: A book collection manager
|
2009-07-27 23:23:11 +02:00
|
|
|
Version: 1.9_SVN20090725
|
|
|
|
Release: 1
|
2007-07-05 13:11:50 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-16 00:38:55 +01:00
|
|
|
Group: Productivity/Other
|
2009-07-27 23:23:11 +02:00
|
|
|
Source: %{name}-%{sversion}.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
|
|
|
|
%kde4_runtime_requires
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%lang_package
|
2007-01-16 00:38:55 +01:00
|
|
|
%prep
|
2009-07-27 23:23:11 +02:00
|
|
|
%setup -q -n %{name}
|
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 $RPM_BUILD_ROOT/usr/share/doc/kde/HTML/fr/tellico/fr/common
|
|
|
|
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
|
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
|
2009-02-24 00:17:54 +01:00
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%dir %{_kde_html_dir}/fr
|
2008-02-08 20:47:12 +01:00
|
|
|
|
2007-03-06 09:11:10 +01:00
|
|
|
%changelog
|