File cryptmount.spec of Package cryptmount
Name: cryptmount
# List of additional build dependencies
#BuildRequires: gcc-c++ libxml2-devel
BuildRequires: device-mapper-devel
Version: 3.0
Release: 1
License: GPL v2 or later
Source: cryptmount-3.0.tar.gz
Group: Productivity/Security
Summary: A utility for accessing encrypted filesystems
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: device-mapper
%description
cryptmount is a utility for GNU/Linux operating systems which allows
an ordinary user to mount an encrypted filing system without requiring
superuser privileges. It is aimed at recent Linux systems using the
2.6 kernel series.
%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
mkdir %buildroot/usr/sbin
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/cryptmount
# You can also use shell wildcards:
# /usr/share/cryptmount/*
# 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
* Sun Jul 13 2008 alexander.egger@campus02.at
- packaged cryptmount version 3.0 using the buildservice spec file wizard