gitso

gitso Commit Details


Date:2008-10-28 21:16:06 (16 years 1 month ago)
Author:gerberad
Branch:master
Commit:6e5c606b242c5c6cdd9aefb50498e34b6a86626a
Parents: 470da3d1ce56e42b0475b18f986328230f4c67be
Message:Added Support for Fedora.

Changes:

File differences

gitso/trunk/arch/linux/gitso_rpm_fedora.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
%define _topdir %(echo $HOME)/rpm
%define _tmppath %{_topdir}/tmp
%define _prefix /usr/share
%define _defaultdocdir %{_prefix}/doc
%define _mandir %{_prefix}/man
%define buildroot%{_tmppath}/gitso-root
Name:gitso
Summary:Gitso - Is to Support Others
Version:0.6
Release:1
License:GPL 3
Group:Internet
Source:http://gitso.googlecode.com/files/gitso_0.6_src.tar.bz2
URL:http://code.google.com/p/gitso/
Requires:python, vnc, vnc-server, wxGTK, wxPython
Buildroot:%{_tmppath}/gitso-root
Packager: Aaron Gerber
%description
Gitso is a frontend to reverse VNC connections. It is meant to be a
simple two-step process that connects one person to another's screen.
%prep
%setup
%build
%install
./arch/linux/build_rpm.sh %(echo $HOME)
%clean
%files
/usr/bin/gitso
%{_prefix}/applications/gitso.desktop
%{_prefix}/doc/gitso/copyright
%{_prefix}/doc/gitso/README
%{_prefix}/doc/gitso/changelog.gz
%{_prefix}/gitso/icon.png
%{_prefix}/gitso/ArgsParser.py
%{_prefix}/gitso/__init__.py
%{_prefix}/gitso/hosts.txt
%{_prefix}/gitso/AboutWindow.py
%{_prefix}/gitso/ConnectionWindow.py
%{_prefix}/gitso/GitsoThread.py
%{_prefix}/gitso/Gitso.py
%{_prefix}/gitso/Processes.py
%{_prefix}/gitso/icon.ico
%{_mandir}/man1/gitso.1.gz
%changelog
* Sun Oct 26 2008 Aaron Gerber <gerberad@gmail.com>
- Created RPM
gitso/trunk/makegitso.sh
44
55
66
7
78
89
910
......
1718
1819
1920
21
22
23
24
2025
21
26
2227
2328
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
2456
25
57
2658
2759
2860
......
141173
142174
143175
144
176
177
178
179
180
181
182
183
184
145185
146186
147187
......
156196
157197
158198
159
160
199
200
201
202
203
161204
162
163
164205
165206
166207
TARGZ="gitso_0.6_all.tar.gz"
SRC="gitso_0.6_src.tar.bz2"
RPM="gitso-0.6-1.i586.rpm"
RPMOUT="gitso_0.6-1_opensuse.i586.rpm"
function mksrc {
P=`pwd`
rm -rf $TMP_PKG
}
CLEAN="yes"
RPMNAME="opensuse"
echo -n "Starting makegitso:"
if [ "$1" = "" ]; then
CLEAN="yes"
echo -n ".."
elif test "$1" = "--no-clean"; then
CLEAN="no"
elif test "$1" = "--fedora"; then
RPMNAME="fedora"
RPMOUT="gitso_0.6-1_fedora.i386.rpm"
elif test "$1" = "--opensuse"; then
RPMNAME="opensuse"
else
echo -e "Usage makegitso.sh: [ --no-clean | --fedora | --opensuse | --help ]"
echo -e "\tOptions:"
echo -e "\t--no-clean\tDo not remove the build directory."
echo -e "\t--fedora\tMake Build for Fedora."
echo -e "\t--opensuse\tMake Build for OpenSUSE."
echo -e "\t--help \tThese options."
exit 0
fi
if [ "$2" = "" ]; then
echo ".."
elif test "$2" = "--no-clean"; then
CLEAN="no"
echo ".."
elif test "$2" = "--fedora"; then
RPMNAME="fedora"
RPMOUT="gitso_0.6-1_fedora.i386.rpm"
echo ".."
elif test "$2" = "--opensuse"; then
RPMNAME="opensuse"
echo ".."
else
echo -e "Usage makegitso.sh: [ --no-clean | --help ]"
echo -e "Usage makegitso.sh: [ --no-clean | --fedora | --opensuse | --help ]"
echo -e "\tOptions:"
echo -e "\t--no-clean\tDo not remove the build directory."
echo -e "\t--help \tThese options."
rm -rf $TARGZPATH
find . -name "*.pyc" -exec rm {} ';'
fi
elif test "`which rpmbuild 2>&1 | grep -v which`"; then
elif test "`which rpm 2>&1 | grep -v which`"; then
if [ "$RPMNAME" = "fedora" ]; then
SPEC="gitso_rpm_fedora.spec"
# Before installing the .rpm
# You need to install http://dl.atrpms.net/all/x11vnc-0.9.3-3.fc9.i386.rpm
# yum --nogpgcheck install gitso_0.6-1_fedora.i386.rpm
else
SPEC="gitso_rpm.spec"
fi
# RPM version of Gitso
echo "Creating $RPM"
BUILD_DIR=`pwd`
cp $SRC $BUILD_DIR/rpm/SOURCES/$SRC
cp arch/linux/gitso_rpm.spec $TMP
perl -e 's/%\(echo \$HOME\)/$ENV{'BUILD_DIR'}/g;' -pi $TMP/gitso_rpm.spec
cp arch/linux/$SPEC $TMP
perl -e 's/%\(echo \$HOME\)/$ENV{'BUILD_DIR'}/g;' -pi $TMP/$SPEC
rpmbuild -ba $TMP/$SPEC
find $BUILD_DIR/rpm/RPMS -name "*.rpm" -exec cp {} $RPMOUT ';'
rpmbuild -ba $TMP/gitso_rpm.spec
cp $BUILD_DIR/rpm/RPMS/i586/$RPM .
echo -e " [done]\n"
if [ "$CLEAN" = "yes" ]; then
rm -rf $BUILD_DIR

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.06419s using 13 queries.