# do not change the version here, change in Libconf.pm %define version THEVERSION %define release 1mdk Summary: Configuration file wrapper Name: perl-Libconf Version: %{version} Release: %{release} URL: http://www.nongnu.org/libconf/ Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Development/Perl BuildRoot: %{_tmppath}/%{name}-buildroot %description Libconf is a wrapper to the main configuration files of the system. It's mainly a generic parser plus many templates %package gui Summary: Graphic User Interface generator for any libconf module. Group: Development/Perl Requires: %{name} %description gui This module is able to generate a standard Gtk2 interface representing any high level libconf module, that can be used in other Gtk2 programs. %prep %setup -n %{name}-%{version} %build make check %install rm -rf $RPM_BUILD_ROOT make install PREFIX="$RPM_BUILD_ROOT/usr" %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING %{perl_vendorlib}/Libconf.pm %{perl_vendorlib}/Libconf/Glueconf %{perl_vendorlib}/Libconf/Glueconf.pm %{perl_vendorlib}/Libconf/System %{perl_vendorlib}/Libconf/templates %files gui %{perl_vendorlib}/Libconf/GUI %changelog * Sat Jun 14 2003 dams 0.20-1mdk - version 0.20 - added Libconf GUI GTK2 module * Sun Jun 04 2003 dams 0.19-1mdk - version 0.19 - added Samba Glueconf module - various fix and improvements * Sun May 25 2003 dams 0.18-1mdk - version 0.18 - corrected Glueconf installation - added Libconf::System in tarball and rpm * Sat May 24 2003 dams 0.17-1mdk - version 0.17 - new comments handler (inline comments are supported) - rewritten System/DirectoryWrapper.pm * Sun Apr 6 2003 dams 0.16-1mdk - version 0.16 * Sun Feb 2 2003 dams 0.1-1mdk - first mdk package