File kkbswitch.spec of Package kkbswitch

Name:           kkbswitch
# List of additional build dependencies
#BuildRequires:  gcc-c++ libxml2-devel
Version:        2.8.1
Release:        1
License:        GPL v2 or later
Source:         yakuake-2.8.1.tar.bz2
Group:          Productivity/Other
Summary:        Yakuake is a drop-down terminal emulator based on KDE Konsole technology.
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Yakuake (Yet Another Kuake) is a KDE terminal emulator. Its design was
inspired from consoles in computer games such as Quake which slide
down from the top of the screen when a key is pressed, and slide back
up when the key is pressed again.


%prep
%setup

%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)
# This is a place for a proper filelist:
# /usr/bin/kkbswitch
# You can also use shell wildcards:
# /usr/share/kkbswitch/*
# 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
* Sat Jul 12 2008 alexey@it-m.kiev.ua
- packaged kkbswitch version 2.8.1 using the buildservice spec file wizard
openSUSE Build Service is sponsored by