File vala.spec of Package vala
Name: vala
# List of additional build dependencies
BuildRequires: gcc libxml2-devel flex bison glibc glib2 gtk2-devel
Version: 0.5.3
Release: 1
License: GPL v2 or later
Source: vala-0.5.3.tar.bz2
Group: Productivity/Vala
Summary: This is a package for vala. It's made as a test of the build system and should not be used!!!!
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the utils for vala. Which is a C# like language
that compiles to C, and then to binary.
%prep
%setup -q
%build
# Assume that the package is built by plain 'make' if there's no ./configure.
# This test is there only because the wizard doesn't know much about the
# package, feel free to clean it up
if test -x ./configure; then
%configure
fi
make
%install
make DESTDIR=%buildroot install
# Write a proper %%files section and remove these two commands and
# the '-f filelist' option to %%files
echo '%%defattr(-,root,root)' >filelist
find %buildroot -type f -printf '/%%P*\n' >>filelist
%clean
rm -rf %buildroot
%files -f filelist
%defattr(-,root,root)
/usr/lib/libvala.so
/usr/lib/libvala.so.0
# This is a place for a proper filelist:
# /usr/bin/vala
# You can also use shell wildcards:
# /usr/share/vala/*
# This installs documentation files from the top build directory
# into /usr/share/doc/...
# %doc README COPYING
# The advantage of using a real filelist instead of the '-f filelist' trick is
# that rpmbuild will detect if the install section forgets to install
# something that is listed here
%changelog
* Tue Dec 30 2008 zrchrn@gmail.com
- packaged vala version 0.5.3 using the buildservice spec file wizard