[Csync2] Building an RPM from the included spec file
Michael Mansour
mic at npgx.com.au
Tue Dec 27 09:55:38 CET 2005
Hi,
> >>>>> On Tue, 27 Dec 2005 14:59:44 +1000, "Michael Mansour"
<mic at npgx.com.au> said:
>
> You would do
>
> svn checkout http://svn.clifford.at/csync2/trunk ./
>
> in an empty directory.
Ok, I've done this and the following was pulled down:
# ll
total 248
-rw-r--r-- 1 root root 4003 Dec 27 19:51 action.c
-rw-r--r-- 1 root root 37 Dec 27 19:51 AUTHORS
-rwxr-xr-x 1 root root 1319 Dec 27 19:51 autogen.sh
-rw-r--r-- 1 root root 10820 Dec 27 19:51 cfgfile_parser.y
-rw-r--r-- 1 root root 2850 Dec 27 19:51 cfgfile_scanner.l
-rw-r--r-- 1 root root 110 Dec 27 19:51 ChangeLog
-rw-r--r-- 1 root root 7752 Dec 27 19:51 check.c
-rw-r--r-- 1 root root 2954 Dec 27 19:51 checktxt.c
-rw-r--r-- 1 root root 2204 Dec 27 19:51 configure.ac
-rw-r--r-- 1 root root 7820 Dec 27 19:51 conn.c
-rw-r--r-- 1 root root 17992 Dec 27 19:51 COPYING
-rw-r--r-- 1 root root 3705 Dec 27 19:51 csync2.1
-rw-r--r-- 1 root root 19642 Dec 27 19:51 csync2.c
-rw-r--r-- 1 root root 729 Dec 27 19:51 csync2.cfg
-rw-r--r-- 1 root root 8471 Dec 27 19:51 csync2.h
-rw-r--r-- 1 root root 1300 Dec 27 19:51 csync2_locheck.sh
-rw-r--r-- 1 root root 3254 Dec 27 19:51 csync2.spec
-rw-r--r-- 1 root root 265 Dec 27 19:51 csync2.xinetd
drwxr-xr-x 3 root root 4096 Dec 27 19:51 cygwin
-rw-r--r-- 1 root root 13867 Dec 27 19:51 daemon.c
-rw-r--r-- 1 root root 6739 Dec 27 19:51 db.c
drwxr-xr-x 3 root root 4096 Dec 27 19:51 debian
-rw-r--r-- 1 root root 3354 Dec 27 19:51 error.c
-rw-r--r-- 1 root root 3653 Dec 27 19:51 getrealfn.c
-rw-r--r-- 1 root root 5446 Dec 27 19:51 groups.c
-rw-r--r-- 1 root root 96 Dec 27 19:51 INSTALL
-rw-r--r-- 1 root root 3454 Dec 27 19:51 Makefile.am
-rw-r--r-- 1 root root 86 Dec 27 19:51 NEWS
-rw-r--r-- 1 root root 1760 Dec 27 19:51 prefixsubst.c
-rw-r--r-- 1 root root 1974 Dec 27 19:51 README
-rwxr-xr-x 1 root root 2148 Dec 27 19:51 release.sh
-rw-r--r-- 1 root root 10206 Dec 27 19:51 rsync.c
-rw-r--r-- 1 root root 50 Dec 27 19:51 TODO
-rw-r--r-- 1 root root 26035 Dec 27 19:51 update.c
-rw-r--r-- 1 root root 2554 Dec 27 19:51 urlencode.c
Doesn't seem to look right, as there's no "configure" script etc. Anyway, I
then tried to build the RPM:
# rpmbuild -ba csync2.spec
error: File /usr/src/redhat/SOURCES/csync2-SNAPSHOT.tar.gz: No such file or
directory
Hmmm.. where abouts is this snapshot file?
Michael.
More information about the Csync2
mailing list