Update of /cvsroot/libfunutil/libfunutil/build
In directory sc8-pr-cvs1:/tmp/cvs-serv25292
Added Files:
libfunUtil.spec.in
Log Message:
shpec file
--- NEW FILE: libfunUtil.spec.in ---
#
# This RPM spec file uses toc for building the RPM package. If the toc
# build doesn't work on your system & you need to use buildtool instead,
# you'll need to modify the commands below.
#
# Also, make sure you're using the libfunUtil.spec file, not
# libfunUtil.spec.in! Using toc, "make libfunUtil.spec"; using buildtool,
# "buildtool make libfunUtil.spec" to get the spec file.
#
Summary: A C++ library for making fun stuff easier
Name: @BT_PKG_NAME@
Version: @BT_PKG_VERSION@
Release: 1
Copyright: GPL
Group: Development/Tools
Source: http://libfunutil.sourceforge.net/.../libfunUtil-%{version}.tar.gz
URL: http://libfunutil.sourceforge.net
Buildroot: %{_tmppath}/%{name}-root
Requires: /sbin/ldconfig
%description
libfunUtil is a small C++ library of utility classes for making "fun stuff"
easier to do. It was originally written as part of the Q Universal Boardgame
(http://qub.sourceforge.net/). It features:
- An easy-to-use serialization API which saves to and loads from XML, text,
and binary. This allows easily adding serialization support to your
objects, and provides a framework for cross-application data sharing.
- A command-line utility for converting between the supported serialization
formats. You can, for example, convert binary to text, edit it with a text
editor, then convert it back to binary.
- A classloader for dynamically loading C++ classes from shared libraries.
- A DieRoll class, fer cryin' out loud! How much more fun can you stand?
It supports pluggable parsers for weird games, too!
- API documentation.
%package devel
Summary: libfunUtil development headers & API documentation
Group: Development/Tools
%description devel
Headers & API documentation for libfunUtil.
%prep
if ! test -d %{name}-%{version}; then
# rpmbuild doesn't understand if the %setup line is indented
%setup -q
fi
%build
if test -d %{name}-%{version}; then
cd %{name}-%{version}
fi
%configure
make
%install
if test -d %{name}-%{version}; then
cd %{name}-%{version}
fi
rm -rf %{buildroot}
%makeinstall
%clean
rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
# %defattr(0644,root,root,0755)
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/*.so.*
# %{_mandir}/man8/*
%files devel
%defattr(-,root,root)
%doc CHANGES COPYING README README.bt README.toc
%{_includedir}/fun/*.h
%{_libdir}/*.a
%{_libdir}/*.so
# %{_mandir}/man3/*
%{_docdir}/
|