2007-01-16 00:38:55 +01:00
|
|
|
#
|
2011-01-14 03:30:32 +01:00
|
|
|
# spec file for package tellico
|
2007-01-16 00:38:55 +01:00
|
|
|
#
|
2014-06-25 11:47:27 +02:00
|
|
|
# Copyright (c) 2014 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/
|
|
|
|
#
|
2011-01-14 03:30:32 +01:00
|
|
|
|
2012-05-03 11:01:03 +02:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
Name: tellico
|
2014-06-25 11:47:27 +02:00
|
|
|
Version: 2.3.9
|
2012-01-26 14:08:35 +01:00
|
|
|
Release: 0
|
2011-02-15 17:13:00 +01:00
|
|
|
Summary: A Collection Manager for KDE
|
2011-10-06 16:46:18 +02:00
|
|
|
License: GPL-2.0+
|
2011-02-15 17:13:00 +01:00
|
|
|
Group: Productivity/Office/Other
|
2012-01-26 14:08:35 +01:00
|
|
|
Url: http://tellico-project.org/
|
2011-01-14 03:30:21 +01:00
|
|
|
Source0: http://tellico-project.org/files/%{name}-%{version}.tar.bz2
|
|
|
|
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
|
2011-05-12 11:13:27 +02:00
|
|
|
BuildRequires: libv4l-devel
|
2011-10-06 16:46:18 +02:00
|
|
|
BuildRequires: libxslt-devel
|
2011-01-14 03:30:21 +01:00
|
|
|
BuildRequires: libyaz-devel
|
2013-03-08 11:00:20 +01:00
|
|
|
BuildRequires: taglib-devel
|
2011-02-15 17:13:00 +01:00
|
|
|
%if 0%{?suse_version}
|
2011-01-14 03:30:21 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2011-02-15 17:13:00 +01:00
|
|
|
%endif
|
2012-07-24 15:39:06 +02:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2011-01-14 03:30:21 +01:00
|
|
|
Requires: kdepim4-runtime
|
2012-01-26 14:08:35 +01:00
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-05-12 11:13:27 +02:00
|
|
|
Requires(post): shared-mime-info
|
|
|
|
Requires(postun): shared-mime-info
|
2011-02-27 14:03:12 +01:00
|
|
|
%kde4_pimlibs_requires
|
|
|
|
%kde4_runtime_requires
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%description
|
2011-02-15 17:13:00 +01:00
|
|
|
Tellico is a KDE application for organizing your collections. It provides
|
|
|
|
default templates for books, bibliographies, videos, music, video games, coins,
|
|
|
|
stamps, trading cards, comic books, and wines.
|
2011-01-14 03:30:21 +01:00
|
|
|
|
2011-02-15 17:13:13 +01:00
|
|
|
%lang_package
|
2012-07-24 15:39:06 +02:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
%prep
|
2011-01-14 03:30:21 +01:00
|
|
|
%setup -q
|
2010-12-14 11:08:38 +01:00
|
|
|
|
2007-01-16 00:38:55 +01:00
|
|
|
%build
|
2011-05-12 11:13:27 +02:00
|
|
|
%cmake_kde4 "-DENABLE_WEBCAM=true" -d build
|
2009-02-24 00:17:54 +01:00
|
|
|
%make_jobs
|
2007-01-16 00:38:55 +01:00
|
|
|
|
|
|
|
%install
|
2013-03-08 11:00:20 +01:00
|
|
|
%kde4_makeinstall -C build
|
2011-10-06 16:46:18 +02:00
|
|
|
|
|
|
|
# Remove directory (not needed)
|
|
|
|
rm -r %{buildroot}/nogo/
|
2011-02-15 17:13:00 +01:00
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%suse_update_desktop_file -r %{name} Qt KDE Office Database
|
|
|
|
%endif
|
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%find_lang %{name}
|
2011-02-15 17:13:00 +01:00
|
|
|
|
2009-02-24 00:17:54 +01:00
|
|
|
%kde_post_install
|
2011-02-15 17:13:00 +01:00
|
|
|
|
|
|
|
%fdupes -s %{buildroot}
|
2007-01-16 00:38:55 +01:00
|
|
|
|
2011-05-12 11:13:27 +02:00
|
|
|
%post
|
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
2008-02-08 20:47:12 +01:00
|
|
|
%files
|
2011-01-14 03:30:21 +01:00
|
|
|
%defattr(-,root,root,-)
|
2011-02-15 17:13:00 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog README tellico.lsm
|
|
|
|
%{_kde4_bindir}/tellico
|
|
|
|
%{_kde4_applicationsdir}/tellico.desktop
|
2011-05-12 11:13:27 +02:00
|
|
|
%doc %{_kde4_htmldir}/en/tellico/
|
2011-02-15 17:13:00 +01:00
|
|
|
%{_kde4_iconsdir}/hicolor/*/apps/tellico.png
|
|
|
|
%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-tellico.png
|
|
|
|
%{_kde4_appsdir}/kconf_update/tellico*
|
|
|
|
%{_kde4_appsdir}/tellico/
|
|
|
|
%{_kde4_sharedir}/config.kcfg/tellico_config.kcfg
|
|
|
|
%{_kde4_configdir}/tellico*
|
2014-06-25 11:47:27 +02:00
|
|
|
%dir %{_datadir}/appdata/
|
|
|
|
%{_datadir}/appdata/tellico.appdata.xml
|
2009-02-24 00:17:54 +01:00
|
|
|
%{_datadir}/mime/packages/tellico.xml
|
2008-02-08 20:47:12 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
2011-01-14 03:30:21 +01:00
|
|
|
%defattr(-,root,root,-)
|
2011-02-15 17:13:00 +01:00
|
|
|
%exclude %{_kde4_htmldir}/en/tellico/
|
2008-02-08 20:47:12 +01:00
|
|
|
|
2007-03-06 09:11:10 +01:00
|
|
|
%changelog
|