File deepin-calendar.spec of Package deepin-calendar

# spec file for package deepin-calendar
# Copyright (c) 2017 SUSE LINUX 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

%define _name dde-calendar

Name:           deepin-calendar
Version:        1.2.6
Release:        0
Summary:        A calendar application for Deepin Desktop
License:        GPL-3.0+
Group:          Productivity/Office/Organizers
BuildRequires:  fdupes
BuildRequires:  deepin-gettext-tools
BuildRequires:  hicolor-icon-theme
BuildRequires:  update-desktop-files
BuildRequires:  desktop-file-utils
BuildRequires:  libqt5-linguist
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5DBus)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(dtkwidget)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The deepin-calendar is a calendar for Deepin Desktop Environment.


%setup -q -n %{_name}-%{version}
sed -i 's/lrelease/lrelease-qt5/g'

%qmake5 PREFIX=%{_prefix}
make %{?_smp_mflags}


%fdupes %{buildroot}
%suse_update_desktop_file -r %{_name} QT Office Calendar Core

%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/scalable/apps

%files lang

openSUSE Build Service is sponsored by