diff --git a/README.en.md b/README.en.md index e7ad333..9555648 100644 --- a/README.en.md +++ b/README.en.md @@ -33,4 +33,4 @@ Software architecture description 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 4. The most valuable open source project [GVP](https://gitee.com/gvp) 5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) \ No newline at end of file diff --git a/README.md b/README.md index 182f43e..fa570e5 100644 --- a/README.md +++ b/README.md @@ -1,37 +1,37 @@ # aisleriot -#### 介绍 +#### Play many different solitaire games -#### 软件架构 -软件架构说明 +#### ܹ +ܹ˵ -#### 安装教程 +#### װ̳ 1. xxxx 2. xxxx 3. xxxx -#### 使用说明 +#### ʹ˵ 1. xxxx 2. xxxx 3. xxxx -#### 参与贡献 +#### 빱 -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request +1. Fork ֿ +2. ½ Feat_xxx ֧ +3. ύ +4. ½ Pull Request -#### 特技 +#### ؼ -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +1. ʹ Readme\_XXX.md ֲ֧ͬԣ Readme\_en.md, Readme\_zh.md +2. Gitee ٷ [blog.gitee.com](https://blog.gitee.com) +3. [https://gitee.com/explore](https://gitee.com/explore) ַ˽ Gitee ϵ㿪ԴĿ +4. [GVP](https://gitee.com/gvp) ȫ Gitee мֵԴĿۺ㿪ԴĿ +5. Gitee ٷṩʹֲ [https://gitee.com/help](https://gitee.com/help) +6. Gitee һչʾ Gitee ԱɵĿ [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) \ No newline at end of file diff --git a/aisleriot-3.22.9.tar.xz b/aisleriot-3.22.9.tar.xz new file mode 100644 index 0000000..29bc16d Binary files /dev/null and b/aisleriot-3.22.9.tar.xz differ diff --git a/aisleriot.spec b/aisleriot.spec new file mode 100644 index 0000000..978bd8b --- /dev/null +++ b/aisleriot.spec @@ -0,0 +1,77 @@ +Name: aisleriot +Epoch: 1 +Version: 3.22.9 +Release: 1 +Summary: A collection of card games + +License: GPLv3+ and LGPLv3+ and GFDL +URL: https://wiki.gnome.org/Apps/Aisleriot +Source0: http://download.gnome.org/sources/aisleriot/3.22/aisleriot-%{version}.tar.xz + +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(guile-2.2) +BuildRequires: pkgconfig(librsvg-2.0) +BuildRequires: pkgconfig(libcanberra-gtk3) +BuildRequires: appdata-tools +BuildRequires: desktop-file-utils +# Required for autoreconf (to copy guile-2.2.m4 macros to aclocal.m4). +BuildRequires: autoconf automake libtool +BuildRequires: gcc +BuildRequires: intltool +BuildRequires: itstool +BuildRequires: libappstream-glib +BuildRequires: make +BuildRequires: yelp-tools + +%description +Aisleriot is a collection of over 80 card games programmed in scheme. + +%prep +%autosetup -p1 + +%build +autoreconf --force --install +%configure --with-guile=2.2 --with-platform=gtk-only --with-pysol-card-theme-path=%_datadir/games/pysol +%make_build + +%install +%make_install + +# Update the screenshot shown in the software center +# +# NOTE: It would be *awesome* if this file was pushed upstream. +# +# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details. +# +appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/metainfo/sol.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/a.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/b.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/c.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/sol/d.png + +# Omit the valgrind suppression file; only for use during development +rm $RPM_BUILD_ROOT%{_libdir}/valgrind/aisleriot.supp + +%find_lang %{name} --with-gnome + +%check +appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/sol.appdata.xml +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/sol.desktop + +%files -f %{name}.lang +%doc AUTHORS +%license COPYING.GPL3 COPYING.LGPL3 COPYING.GFDL +%{_bindir}/* +%{_libdir}/aisleriot +%{_libexecdir}/aisleriot/ +%{_datadir}/aisleriot +%{_datadir}/applications/sol.desktop +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/icons/hicolor/symbolic/apps/gnome-aisleriot-symbolic.svg +%{_datadir}/metainfo/sol.appdata.xml +%{_datadir}/glib-2.0/schemas/org.gnome.Patience.WindowState.gschema.xml +%{_mandir}/man6/sol.6* + +%changelog +* Fri May 26 2023 wangtaozhi - 1:3.22.9-1 +- Package init diff --git a/aisleriot.yaml b/aisleriot.yaml new file mode 100644 index 0000000..2e44225 --- /dev/null +++ b/aisleriot.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: https://gitlab.gnome.org/GNOME/aisleriot +tag_prefix: "v" +separator: "."