Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
git
提交
e27a56a6
G
git
项目概览
李少辉-开发者
/
git
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
git
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e27a56a6
编写于
7月 07, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/pub/scm/linux/kernel/git/chrisw/git
上级
1038f0c0
a9db2974
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
60 addition
and
0 deletion
+60
-0
Makefile
Makefile
+18
-0
git.spec.in
git.spec.in
+42
-0
未找到文件。
Makefile
浏览文件 @
e27a56a6
...
...
@@ -9,6 +9,8 @@
# BREAK YOUR LOCAL DIFFS! show-diff and anything using it will likely randomly
# break unless your underlying filesystem supports those sub-second times
# (my ext3 doesn't).
GIT_VERSION
=
0.99
COPTS
=
-O2
CFLAGS
=
-g
$(COPTS)
-Wall
...
...
@@ -49,6 +51,7 @@ PROG= git-update-cache git-diff-files git-init-db git-write-tree \
all
:
$(PROG)
install
:
$(PROG) $(SCRIPTS)
$(INSTALL)
-m755
-d
$(dest)$(bin)
$(INSTALL)
$(PROG)
$(SCRIPTS)
$(dest)$(bin)
LIB_OBJS
=
read-cache.o sha1_file.o usage.o object.o commit.o tree.o blob.o
\
...
...
@@ -164,6 +167,21 @@ diffcore-break.o : $(LIB_H) diffcore.h
diffcore-order.o
:
$(LIB_H) diffcore.h
epoch.o
:
$(LIB_H)
git.spec
:
git.spec.in
sed
-e
's/@@VERSION@@/
$(GIT_VERSION)
/g'
<
$<
>
$@
GIT_TARNAME
=
git-
$(GIT_VERSION)
dist
:
git.spec
git-tar-tree HEAD
$(GIT_TARNAME)
>
$(GIT_TARNAME)
.tar
@
mkdir
-p
$(GIT_TARNAME)
@
cp
git.spec
$(GIT_TARNAME)
tar
rf
$(GIT_TARNAME)
.tar
$(GIT_TARNAME)
/git.spec
@
rm
-rf
$(GIT_TARNAME)
gzip
-9
$(GIT_TARNAME)
.tar
rpm
:
dist
rpmbuild
-ta
git-
$(GIT_VERSION)
.tar.gz
test
:
all
$(MAKE)
-C
t/ all
...
...
git.spec.in
0 → 100644
浏览文件 @
e27a56a6
Name: git
Version: @@VERSION@@
Release: 1
Vendor: Linus Torvalds <torvalds@osdl.org>
Summary: Git core and tools
License: GPL
Group: Development/Tools
URL: http://kernel.org/pub/software/scm/git/
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
BuildRequires: zlib-devel, openssl-devel, curl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Prereq: sh-utils, diffutils, rsync, rcs, mktemp >= 1.5
%description
GIT comes in two layers. The bottom layer is merely an extremely fast
and flexible filesystem-based database designed to store directory trees
with regard to their history. The top layer is a SCM-like tool which
enables human beings to work with the database in a manner to a degree
similar to other SCM tools (like CVS, BitKeeper or Monotone).
%prep
%setup -q
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make dest=$RPM_BUILD_ROOT prefix=%{_prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
%doc README COPYING Documentation/*
%changelog
* Wed Jul 7 2005 Chris Wright <chris@osdl.org>
- initial git spec file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录