commit
a2c04cdbe8
14
calendar_time.patch
Normal file
14
calendar_time.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/src/schedulesdbus.cpp b/src/schedulesdbus.cpp
|
||||
index a9f0f4e..4d05ee9 100755
|
||||
--- a/src/schedulesdbus.cpp
|
||||
+++ b/src/schedulesdbus.cpp
|
||||
@@ -282,8 +282,7 @@ QString CSchedulesDBus::toconvertData(QDateTime date)
|
||||
|
||||
QDateTime CSchedulesDBus::fromconvertData(QString str)
|
||||
{
|
||||
- QStringList liststr = str.split("+", QString::SkipEmptyParts);
|
||||
- return QDateTime::fromString(liststr.at(0), "yyyy-MM-ddThh:mm:ss");
|
||||
+ return QDateTime::fromString(str, Qt::ISODate);
|
||||
}
|
||||
|
||||
QString CSchedulesDBus::toconvertIGData(QDateTime date)
|
||||
BIN
dde-calendar_5.6.1.orig.tar.xz
Normal file
BIN
dde-calendar_5.6.1.orig.tar.xz
Normal file
Binary file not shown.
111
deepin-calendar.spec
Normal file
111
deepin-calendar.spec
Normal file
@ -0,0 +1,111 @@
|
||||
%global repo dde-calendar
|
||||
|
||||
Name: deepin-calendar
|
||||
Version: 5.6.1
|
||||
Release: 3
|
||||
Summary: Calendar for Deepin Desktop Environment
|
||||
License: GPLv3+
|
||||
URL: https://github.com/linuxdeepin/dde-calendar
|
||||
Source0: %{repo}_%{version}.orig.tar.xz
|
||||
Patch0: calendar_time.patch
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
#BuildRequires: qt5-qtmultimedia-devel
|
||||
#BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: dde-qt-dbus-factory-devel
|
||||
BuildRequires: deepin-gettext-tools
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: qt5-linguist
|
||||
BuildRequires: pkgconfig(dtkwidget) >= 5.1.1
|
||||
BuildRequires: pkgconfig(dtkgui)
|
||||
BuildRequires: pkgconfig(dtkcore) >= 5.1.1
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5DBus)
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
BuildRequires: qt5-qtmultimedia-devel qt5-qtx11extras-devel
|
||||
#Requires: hicolor-icon-theme
|
||||
Requires: dde-api
|
||||
|
||||
%description
|
||||
Calendar for Deepin Desktop Environment.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{repo}-%{version}
|
||||
sed -i 's|lrelease|lrelease-qt5|g' translate_generation.sh
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%{qmake_qt5} PREFIX=%{_prefix}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{repo}.desktop
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{repo}
|
||||
%{_datadir}/%{repo}/
|
||||
%{_datadir}/dbus-1/services/com.deepin.Calendar.service
|
||||
%{_datadir}/applications/%{repo}.desktop
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{repo}.svg
|
||||
|
||||
%changelog
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Nov 29 2018 mosquito <sensor.wen@gmail.com> - 1.2.6-1
|
||||
- Update to 1.2.6
|
||||
|
||||
* Fri Aug 10 2018 mosquito <sensor.wen@gmail.com> - 1.2.5-1
|
||||
- Update to 1.2.5
|
||||
|
||||
* Thu Aug 2 2018 mosquito <sensor.wen@gmail.com> - 1.2.4-1
|
||||
- Update to 1.2.4
|
||||
|
||||
* Fri Jul 20 2018 mosquito <sensor.wen@gmail.com> - 1.2.3-1
|
||||
- Update to 1.2.3
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Nov 15 2017 mosquito <sensor.wen@gmail.com> - 1.1.1-1
|
||||
- Update to 1.1.1
|
||||
|
||||
* Mon Oct 23 2017 mosquito <sensor.wen@gmail.com> - 1.0.13-1
|
||||
- Update to 1.0.13
|
||||
|
||||
* Sun Aug 20 2017 mosquito <sensor.wen@gmail.com> - 1.0.12-1
|
||||
- Update to 1.0.12
|
||||
|
||||
* Sun Aug 06 2017 Zamir SUN <sztsian@gmail.com> - 1.0.11-2
|
||||
- Add check for desktop file
|
||||
|
||||
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 1.0.11-1.gitd2c7b9e
|
||||
- Update to 1.0.11
|
||||
|
||||
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 1.0.7-1.gita8a4f5b
|
||||
- Update to 1.0.7
|
||||
|
||||
* Sun Feb 26 2017 mosquito <sensor.wen@gmail.com> - 1.0.4-1.gitb59053f
|
||||
- Update to 1.0.4
|
||||
|
||||
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 1.0.3-1.gitd7e42a1
|
||||
- Update to 1.0.3
|
||||
|
||||
* Mon Dec 19 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 1.0.3-1
|
||||
- Update to version 1.0.3
|
||||
|
||||
* Fri Dec 09 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 1.0.2-2
|
||||
- Rebuild with newer deepin-tool-kit
|
||||
|
||||
* Sun Oct 09 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 1.0.2-1
|
||||
- Initial package build
|
||||
Loading…
x
Reference in New Issue
Block a user