diaspora/pkg/fedora
2010-10-06 18:56:46 +02:00
..
.bundle Server start, but fails on missing .git dirs (!) 2010-10-05 21:47:17 +02:00
diaspora-bundle.spec Server starts OK. 2010-10-06 04:21:44 +02:00
diaspora-setup New workflow w 'rake db:seed:dev'. Permissions on logfiles, logrotate conf. README update 2010-10-06 18:53:41 +02:00
diaspora-ws Initial, buggy file check in 2010-10-05 00:11:13 +02:00
diaspora.logconf New workflow w 'rake db:seed:dev'. Permissions on logfiles, logrotate conf. README update 2010-10-06 18:53:41 +02:00
diaspora.spec New workflow w 'rake db:seed:dev'. Permissions on logfiles, logrotate conf. README update 2010-10-06 18:53:41 +02:00
make_dist.sh Server starts OK. 2010-10-06 04:21:44 +02:00
perm-fix.patch provisionary 2010-10-06 05:01:32 +02:00
README.fedora New workflow w 'rake db:seed:dev'. Permissions on logfiles, logrotate conf. README update 2010-10-06 18:53:41 +02:00
README.md renaimng README, to see it properly on github 2010-10-06 18:56:46 +02:00
source-fix.patch Server start, but fails on missing .git dirs (!) 2010-10-05 21:47:17 +02:00

Diaspora RPM tools

Creates Fedora 13 RPM packages from diaspora git repository.

Synopsis:

# Create dist/diaspora-0.0-1010041233_fade4231.tar.gz
% ./make_dist.sh source

# Create dist/diaspora-bundle-0.0-1010041233_fade4231.tar.gz
% ./make_dist.sh bundle

# Setup links to tarballs from RPM source directory:
% ./make_dist.sh links

# Build rpms:
rpmbuild -ba dist/diaspora.spec
rpmbuild -ba dist/diaspora-bundle.spec

#Install
rpm -U ~/rmpbuild/rpms/i686/diaspora-bundle-0.0-1.1010042345_4343fade43.fc13.i686
rpm -U ~/rmpbuild/rpms/noarch/diaspora-0.0-1.1010042345_4343fade43.fc13.noarch

#Initiate (as root)
/usr/sbin/diaspora-setup
# Fix hostname afterwards by editing pod_url in
# /usr/share/diaspora/master/config/app_config.yml


# Start development server:
sudo
su - diaspora
cd master
./script/server

# Start using apache passenger:
# See: http://github.com/diaspora/diaspora/wiki/Using-apache

Notes

Routines uses last available version from master branch at github.

You need to copy all patches and secondary sources in this dir to the rpm source directory a. k. a. $(rpm --eval %_sourcedir).

The spec-files in dist/ are patched by ./make_dist.sh source to reference correct versions of diaspora and diaspora-bundle. The diaspora-bundle is only updated if Gemfile is updated, upgrading diaspora doesn't always require a new diaspora-bundle.

rpmlint shows many errors, most of which related to that the server won't start if the .git directories are not included. Needs investigation.

This has been confirmed to start up and provide basic functionality both using the thin webserver and apache passenger.