88ce68acd5
Update to 2.3.8 OBS-URL: https://build.opensuse.org/request/show/182478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tellico?expand=0&rev=58
108 lines
3.0 KiB
RPMSpec
108 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package tellico
|
|
#
|
|
# Copyright (c) 2013 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/
|
|
#
|
|
|
|
|
|
Name: tellico
|
|
Version: 2.3.8
|
|
Release: 0
|
|
Summary: A Collection Manager for KDE
|
|
License: GPL-2.0+
|
|
Group: Productivity/Office/Other
|
|
Url: http://tellico-project.org/
|
|
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
|
|
BuildRequires: libv4l-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: libyaz-devel
|
|
BuildRequires: taglib-devel
|
|
%if 0%{?suse_version}
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
Requires: kdepim4-runtime
|
|
Recommends: %{name}-lang = %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires(post): shared-mime-info
|
|
Requires(postun): shared-mime-info
|
|
%kde4_pimlibs_requires
|
|
%kde4_runtime_requires
|
|
|
|
%description
|
|
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.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kde4 "-DENABLE_WEBCAM=true" -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kde4_makeinstall -C build
|
|
|
|
# Remove directory (not needed)
|
|
rm -r %{buildroot}/nogo/
|
|
|
|
%if 0%{?suse_version}
|
|
%suse_update_desktop_file -r %{name} Qt KDE Office Database
|
|
%endif
|
|
|
|
%find_lang %{name}
|
|
|
|
%kde_post_install
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
%post
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
%postun
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING ChangeLog README tellico.lsm
|
|
%{_kde4_bindir}/tellico
|
|
%{_kde4_applicationsdir}/tellico.desktop
|
|
%doc %{_kde4_htmldir}/en/tellico/
|
|
%{_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*
|
|
%{_datadir}/mime/packages/tellico.xml
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%exclude %{_kde4_htmldir}/en/tellico/
|
|
|
|
%changelog
|