Download Latest Version backup_daemon-2.1.tar.bz2 (17.1 kB)
Email in envelope

Get an email when there's a new version of Pitah

Home / SOURCES / rpmdev-addons
Name Modified Size InfoDownloads / Week
Parent folder
rpmdev-addons-1.0.0.1b.tar.bz2 2011-11-24 14.2 kB
README 2011-11-17 1.9 kB
Totals: 2 Items   16.1 kB 0
RPMDEV-ADDONS 1.0.0.1b
------------------------------------------------------
RPMDEV-ADDONS v. 1.0.0.1b is a collection of four scripts that are useful when making RPM packages for Fedora with a separate rpmbuild user to do the actual building.
1) rpmdev.cp.sources.sh & rpmdev.cp.specs.sh will copy a spec file (.spec) or a source file (could be anything, but usually a .tar.bz2 tarball) to a shared directory (default /var/share/rpmbuild/). They will change the owner to the rpmbuild user, who can retrieve those files using rpmdev.receive.specs.sh or rpmdev.receive.sources.sh.
2) rpmdev.receive.sources.sh & rpmdev.receive.specs.sh will copy a spec file (.spec) or a source file (usually a .tar.bz2) from a shared directory to the local directory in the /home hierarchy.

INSTALLING:
===========
Both scriptsets will run require rsync to be present, but the spec-scripts will only work when the sources-scripts are installed in /usr/bin, because they rely on them to do the actual copying.
Installing is done by simply copying the files to /usr/bin and the man-pages to /usr/man/man1.

EXIT STATUS:
============
0: succesful run
1: general error
2: this script must be run as root
3: could not create either target_dir or sources_dir
4: failed to copy file

LICENSE:
========
Copyright (c) 2011 Pieter De Praetere (depraetere.pieter@gmail.com)
This program is free software: you can redistribute it and/or modify it under the terms of version 3 of the GNU General Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.
Source: README, updated 2011-11-17