diff --git a/README.en.md b/README.en.md deleted file mode 100644 index 70bcf43..0000000 --- a/README.en.md +++ /dev/null @@ -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/) diff --git a/README.md b/README.md deleted file mode 100644 index b3a16ff..0000000 --- a/README.md +++ /dev/null @@ -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/) diff --git a/gccmakedep-1.0.3.tar.bz2 b/gccmakedep-1.0.3.tar.bz2 new file mode 100644 index 0000000..afdb667 Binary files /dev/null and b/gccmakedep-1.0.3.tar.bz2 differ diff --git a/imake-1.0.2-abort.patch b/imake-1.0.2-abort.patch new file mode 100644 index 0000000..49ffdce --- /dev/null +++ b/imake-1.0.2-abort.patch @@ -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 + diff --git a/imake-1.0.7.tar.bz2 b/imake-1.0.7.tar.bz2 new file mode 100644 index 0000000..950f78d Binary files /dev/null and b/imake-1.0.7.tar.bz2 differ diff --git a/imake.spec b/imake.spec new file mode 100644 index 0000000..3cb867c --- /dev/null +++ b/imake.spec @@ -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 - 1.0.7-16 +- Package init \ No newline at end of file diff --git a/lndir-1.0.3.tar.bz2 b/lndir-1.0.3.tar.bz2 new file mode 100644 index 0000000..a8816ac Binary files /dev/null and b/lndir-1.0.3.tar.bz2 differ diff --git a/makedepend-1.0.4.tar.bz2 b/makedepend-1.0.4.tar.bz2 new file mode 100644 index 0000000..9cc8c37 Binary files /dev/null and b/makedepend-1.0.4.tar.bz2 differ diff --git a/xorg-cf-files-1.0.2-redhat.patch b/xorg-cf-files-1.0.2-redhat.patch new file mode 100644 index 0000000..3a0d4f8 --- /dev/null +++ b/xorg-cf-files-1.0.2-redhat.patch @@ -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 diff --git a/xorg-cf-files-1.0.6.tar.bz2 b/xorg-cf-files-1.0.6.tar.bz2 new file mode 100644 index 0000000..19610eb Binary files /dev/null and b/xorg-cf-files-1.0.6.tar.bz2 differ