File libtprl.spec of Package libtprl
#
# spec file for package libtprl
#
# norootforbuild
# Varibles for building
%define app_name libtprl
%define app_version 0.1.3
Name: libtprl1-devel
Version: %{app_version}
Release: 1
Url: http://www.thousandparsec.net
License: GPL
Group: Development/Libraries/C and C++
Autoreqprov: on
Summary: A C++ Readline wrapper
Source: %{app_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{app_name}-%{app_version}-build
BuildRequires: gcc-c++, make, readline-devel, autoconf, automake
%description
A C++ Readline wrapper.
Thousand Parsec website:
http://www.thousandparsec.net
Git source repository:
http://git.thousandparsec.net/gitweb/gitweb.cgi?p=libtprl.git;a=summary
%prep
%setup -q -n %{app_name}
%build
sh autogen.sh
%configure
# do compile with the number of jobs given to the --jobs parameter of the build script.
make %{?jobs:-j%jobs}
%install
%makeinstall
%clean
# clean up the hard disc after build
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%_libdir/libtprl.*
%_libdir/pkgconfig/libtprl.pc
/usr/include/*
%changelog
* Thu Jun 17 2010 - Marcel Hauf - <marcel.hauf@googlemail.com> 0.1.3
- Initial commit of libtprl version 0.1.3