Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > by-pkgid > 2c60085a306349f6ea1bf36c9bfc252b > files > 2

haskell-ConfigFile-1.0.5-1mdv2010.1.src.rpm

%define module ConfigFile

Name: haskell-%{module}
Version: 1.0.5
Release: %mkrel 1
Summary: Configuration file reading & writing
Group: Development/Other
License: LGPL
Url: http://software.complete.org/configfile
Source: http://software.complete.org/%{module}/static/download_area/%{version}/%{module}-%{version}.tar.gz
BuildRoot: %_tmppath/%name-%version-%release-root
BuildRequires: ghc
BuildRequires: haddock
BuildRequires: haskell-macros
BuildRequires: haskell(parsec)
BuildRequires: haskell(base)
BuildRequires: haskell(haskell98)
BuildRequires: haskell(mtl)
BuildRequires: haskell(MissingH) >= 1.0.0
BuildRequires: haskell(hslogger)
BuildRequires: haskell(testpack)
Obsoletes: haskell-configfile < 1.0.5

%description
ConfigFile is a configuration file parser and writer library for Haskell.

The ConfigFile module works with configuration files in a standard format
that is easy for the user to edit, easy for the programmer to work with, yet
remains powerful and flexible. It is inspired by, and compatible with, Python's
ConfigParser module. It uses files that resemble Windows .INI-style files, but
with numerous improvements.

ConfigFile provides simple calls to both read and write config files. It's
possible to make a config file parsable by this module, the Unix shell, and
make.

%prep
%setup -q -n %{module}-%{version}

%build
%_cabal_build

%_cabal_genscripts

%check
%_cabal_check

%install
%_cabal_install

rm -fr %{buildroot}/%_datadir/*/doc/

%_cabal_rpm_gen_deps

%_cabal_scriptlets

%files
%defattr(-,root,root)
%_docdir/%{module}-%{version}
%_libdir/*
%_cabal_rpm_files

%clean
rm -fr %buildroot




%changelog
* Sun Dec 06 2009 Funda Wang <fwang@mandriva.org> 1.0.5-1mdv2010.1
+ Revision: 474021
- fix build
- new version 1.0.5

* Sat Sep 08 2007 Olivier Thauvin <nanardon@mandriva.org> 1.0.3-1mdv2008.0
+ Revision: 82269
- 1.0.3


* Wed Mar 14 2007 Olivier Thauvin <nanardon@mandriva.org> 1.0.0-1mdv2007.1
+ Revision: 143812
- release 1
- initial package
- Create haskell-configfile