SHA256
1
0
forked from pool/yishu

osc copypac from project:X11:Pantheon package:yishu revision:3

OBS-URL: https://build.opensuse.org/package/show/X11:Pantheon:Apps/yishu?expand=0&rev=1
This commit is contained in:
Alexei Podvalsky
2018-06-06 16:36:05 +00:00
committed by Git OBS Bridge
commit d5369178b9
5 changed files with 146 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
-------------------------------------------------------------------
Tue Jan 30 20:09:25 UTC 2018 - avvissu@yandex.by
- Update to 1.0.5:
* Fix this, not ready for houston yet
* 1.0.4:
* New icon / Minor improvements all around to fix GTK
deprecations
* Add ProjectManagement
* Add spanish traslate
- Add translations package
-------------------------------------------------------------------
Sat Jan 6 02:13:47 UTC 2018 - avvissu@yandex.by
- Update to 1.0.3:
* - small changes
* - new screenshot
-------------------------------------------------------------------
Sun Dec 24 19:26:27 UTC 2017 - avvissu@yandex.by
- Initial package
+95
View File
@@ -0,0 +1,95 @@
#
# spec file for package yishu
#
# 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 http://bugs.opensuse.org/
#
Name: yishu
Version: 1.0.5
Release: 0
Summary: A bespoke and simple Todo.txt client
License: GPL-3.0+
Group: Productivity/Office/Organizers
URL: https://github.com/lainsce
Source: https://github.com/lainsce/yishu/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
BuildRequires: libxml2-tools
BuildRequires: meson >= 0.40.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: vala
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(gtk+-3.0)
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
%description
Write a to-do list that will be easy to sync with most known Todo.txt clients.
%lang_package
%prep
%setup -q
sed -i 's/\bmetainfo\b/appdata/' $(grep -rwl 'metainfo')
%build
%meson
%meson_build
%install
%meson_install
%suse_update_desktop_file -r com.github.lainsce.yishu GTK Utility DesktopUtility
%find_lang com.github.lainsce.yishu %{name}.lang
%fdupes %{buildroot}/%{_datadir}
# dirlist HiDPI icons (see: hicolor/index.theme)
_dirlist=$PWD/dir.lst
pushd %{buildroot}
find ./ | while read _list; do
echo $_list | grep '[0-9]\@[0-9]' || continue
_path=$(echo $_list | sed 's/[^/]//')
if ! ls ${_path%/*}; then
grep -xqs "\%dir\ ${_path%/*}" $_dirlist || echo "%dir ${_path%/*}" >> $_dirlist
fi
done
popd
%if 0%{?suse_version} < 1320
%post
%desktop_database_post
%icon_theme_cache_post
%glib2_gsettings_schema_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%glib2_gsettings_schema_postun
%endif
%files -f dir.lst
%doc AUTHORS LICENSE README.md
%{_bindir}/com.github.lainsce.yishu
%dir %{_datadir}/appdata
%{_datadir}/appdata/com.github.lainsce.yishu.appdata.xml
%{_datadir}/applications/com.github.lainsce.yishu.desktop
%{_datadir}/glib-2.0/schemas/com.github.lainsce.yishu.gschema.xml
%{_datadir}/icons/hicolor/*/apps/com.github.lainsce.yishu.??g
%files lang -f %{name}.lang
%changelog
+23
View File
@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+1
View File
@@ -0,0 +1 @@
.osc
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:794db5efb6675eceeb5f59690de319e7b325989ee7036e24ce323b8343c656d6
size 71854