pkg://pkgbuild-0.1-4.src.rpm:576616/pkgbuild-0.1-2.spec
info downloads
Summary: RPM package Development environment
Name: pkgbuild
Version: 0.1
Release: 4
Copyright: GPL
Group: X11/Utilities
Source0: pkgbuild-0.1-4.tar.gz
%description
pkgbuild is a graphical development environment for RedHat's RPM.
It is designed to allow easy building and testing of RPM SPEC files.
This is in the hope that more people will build and distribute quality
RPMs.
%prep
# %setup is the default macro that unpacks your source
# from the SOURCES directory into the BUILD directory
%setup -n $RPM_PACKAGE_NAME
%build
# Commands needed to build your package
make dep
make
strip pkgbuild
%install
# Commands needed to install the package
strip pkgbuild
install -s -m 755 -o 0 -g 0 pkgbuild /usr/local/bin/pkgbuild
cp .groups $HOME
cp .newspec.spec $HOME
%clean
# Commands to clean up after you install your package
rm -rf $RPM_BUILD_ROOT
%pre
# Commands run before install
# Not usally used
%post
# Commands run after install
# Could be used after installing a shared library
# ldconfig
%preun
# Commands run before uninstall
# Not usally used
%postun
# Commands run after uninstall
# Could be used after uninstalling a shared library
# ldconfig
%files
/usr/local/bin/pkgbuild
%doc README NOTSUPPORTED TODO