Package init

This commit is contained in:
dogsheng 2019-12-14 18:55:37 +08:00
parent 0e742c9dcc
commit eba99655c0
10 changed files with 111 additions and 75 deletions

View File

@ -1,36 +0,0 @@
# imake
#### 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 @@
# imake
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 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
gccmakedep-1.0.3.tar.bz2 Normal file

Binary file not shown.

18
imake-1.0.2-abort.patch Normal file
View File

@ -0,0 +1,18 @@
diff -up imake-1.0.2/imake.c.jx imake-1.0.2/imake.c
--- imake-1.0.2/imake.c.jx 2006-05-15 16:28:14.000000000 -0400
+++ imake-1.0.2/imake.c 2010-10-25 17:14:37.000000000 -0400
@@ -1030,8 +1030,12 @@ get_libc_version(FILE *inFile)
len = pclose (fp);
remove (aout);
- if (len)
- abort ();
+ if (len) {
+ /* handwave furiously */
+ printf("#define DefaultLinuxCLibMajorVersion 6\n");
+ printf("#define DefaultLinuxCLibMinorVersion 12\n");
+ printf("#define DefaultLinuxCLibTeenyVersion 0\n");
+ }
}
#endif

BIN
imake-1.0.7.tar.bz2 Normal file

Binary file not shown.

76
imake.spec Normal file
View File

@ -0,0 +1,76 @@
Summary: imake source code configuration and build system
Name: imake
Version: 1.0.7
Release: 16
License: MIT
URL: http://www.x.org
Source0: https://www.x.org/pub/individual/util/imake-1.0.7.tar.bz2
Source1: https://www.x.org/pub/individual/util/makedepend-1.0.4.tar.bz2
Source2: https://www.x.org/pub/individual/util/gccmakedep-1.0.3.tar.bz2
Source3: https://www.x.org/pub/individual/util/xorg-cf-files-1.0.6.tar.bz2
Source4: https://www.x.org/pub/individual/util/lndir-1.0.3.tar.bz2
Patch2: xorg-cf-files-1.0.2-redhat.patch
Patch11: imake-1.0.2-abort.patch
BuildRequires: pkgconfig gcc gcc-c++ xorg-x11-util-macros xorg-x11-proto-devel
Requires: gcc
Provides: ccmakedep cleanlinks gccmakedep lndir makedepend
Provides: makeg mergelib mkdirhier mkhtmlindex revpath xmkmf
%description
imake is a build automation system written for the X Window System.
It was used by X from X11R1 (1987) to X11R6.9 (2005), and continued
to be used in XFree86 (last commit 2009). It is implemented on top
of the C preprocessor and make. The first version was written by Todd
Brunhoff at Tektronix.
%package_help
%prep
%setup -q -c %{name}-%{version} -a1 -a2 -a3 -a4
%patch2 -p0 -b .redhat
pushd %{name}-%{version}
%patch11 -p1 -b .abort
popd
%build
{
for i in %{name} makedepend gccmakedep lndir xorg-cf-files ; do
pushd $i-*
case $i in
%{name}|xorg-cf-files)
%configure --with-config-dir=%{_datadir}/X11/config
;;
*)
%configure
;;
esac
%{__make}
popd
done
}
%install
{
for i in %{name} makedepend gccmakedep lndir xorg-cf-files ; do
pushd $i-*
%make_install
popd
done
}
%files
%{_bindir}/*
%dir %{_datadir}/X11/config
%{_datadir}/X11/config/*
%files help
%{_mandir}/man1/*
%changelog
* Tue Dec 3 2019 caomeng<caomeng5@huawei.com> - 1.0.7-16
- Package init

BIN
lndir-1.0.3.tar.bz2 Normal file

Binary file not shown.

BIN
makedepend-1.0.4.tar.bz2 Normal file

Binary file not shown.

View File

@ -0,0 +1,17 @@
--- xorg-cf-files-1.0.6/linux.cf.redhat 2005-10-21 21:10:27.000000000 +0200
+++ xorg-cf-files-1.0.6/linux.cf 2005-12-21 11:27:16.000000000 +0100
@@ -190,7 +190,13 @@
#endif /* LinuxDebian */
#if LinuxDistribution == LinuxRedHat
-#define FSUseSyslog YES
+# define FSUseSyslog YES
+# define BuildRman NO
+# define BuildHtmlManPages NO
+# define ProjectRoot /usr
+# define ManPath /usr/share/man
+# define XAppLoadDir /usr/share/X11/app-defaults
+# define ConfigDir /usr/share/X11/config
#endif
#ifndef HasDevRandom

BIN
xorg-cf-files-1.0.6.tar.bz2 Normal file

Binary file not shown.