gtkmm24: openEuler init

This commit is contained in:
gnaygnil 2019-12-04 19:00:17 +08:00
parent ba4199e8d1
commit 8bd5ba2f60
4 changed files with 72 additions and 75 deletions

View File

@ -1,36 +0,0 @@
# gtkmm24
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
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/)

View File

@ -1,39 +0,0 @@
# gtkmm24
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

BIN
gtkmm-2.24.5.tar.xz Normal file

Binary file not shown.

72
gtkmm24.spec Normal file
View File

@ -0,0 +1,72 @@
Name: gtkmm24
Version: 2.24.5
Release: 7
Summary: C++ interface for GTK2 (a GUI library for X)
License: LGPLv2+
URL: http://www.gtkmm.org/
Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/gtkmm-%{version}.tar.xz
BuildRequires: gcc-c++ glibmm24-devel >= 2.24 atkmm-devel >= 2.22 gtk2-devel >= 2.24
BuildRequires: cairomm-devel >= 1.2.2 pangomm-devel >= 2.26
%description
gtkmm provides a C ++ interface to the GTK + GUI library. gtkmm2 is packed
with GTK + 2.It mainly includes type-safe callbacks, which can be used to
quickly create a complete set of widget classes by inheriting extended
widgets, which can be freely combined.
%package devel
Summary: Development files for gtkmm24
Requires: %{name} = %{version}-%{release}
Requires: gtk2-devel glibmm24-devel atkmm-devel pangomm-devel cairomm-devel
%description devel
The gtkmm24-devel package includes header files and libraries necessary
for the gtkmm24 library.
%package help
Summary: This package contains help documents
BuildArch: noarch
Requires: %{name} = %{version}-%{release} glibmm24-doc
Provides: gtkmm24-docs
Obsoletes: gtkmm24-docs
%description help
Files for help with gtkmm24.
%prep
%autosetup -n gtkmm-%{version} -p1
%build
%configure
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc COPYING
%{_libdir}/*.so.*
%files devel
%{_includedir}/g*kmm-2.4/
%{_libdir}/*.so
%{_libdir}/g*kmm-2.4/
%{_libdir}/pkgconfig/*.pc
%files help
%doc AUTHORS NEWS README PORTING demos/gtk-demo/
%doc %{_docdir}/gtkmm-2.4
%doc %{_datadir}/devhelp/
%changelog
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 2.24.5-7
- Pakcage init