ghc-ConfigFile/ghc-ConfigFile.spec

96 lines
2.9 KiB
RPMSpec
Raw Normal View History

2011-03-16 06:38:56 +00:00
%global pkg_name ConfigFile
%global common_summary Configuration file reading and writing
%global common_description Parser and writer for handling sectioned config files in \
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.
Name: ghc-%{pkg_name}
2011-12-03 11:05:50 +00:00
Version: 1.1.1
Release: 1%{?dist}
2011-03-16 06:38:56 +00:00
Summary: %{common_summary}
Group: System Environment/Libraries
License: LGPLv2+
2011-12-03 11:05:50 +00:00
# BEGIN cabal2spec
2011-03-16 06:38:56 +00:00
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
ExclusiveArch: %{ghc_arches}
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
2011-12-03 11:05:50 +00:00
%if %{undefined without_hscolour}
2011-03-16 06:38:56 +00:00
BuildRequires: hscolour
2011-12-03 11:05:50 +00:00
%endif
# END cabal2spec
2011-09-27 00:13:52 +00:00
BuildRequires: ghc-MissingH-prof, ghc-haskell98-prof, ghc-mtl-prof, ghc-parsec-prof
2011-03-16 06:38:56 +00:00
%description
%{common_description}
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%ghc_lib_build
%install
%ghc_lib_install
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}/
install -m 644 -p COPY* %{buildroot}%{_docdir}/%{name}-%{version}/
install -m 644 -p README %{buildroot}%{_docdir}/%{name}-%{version}/README
2011-03-16 10:12:24 +00:00
%{ghc_lib_package}
2011-03-16 06:38:56 +00:00
%changelog
2011-12-03 11:05:50 +00:00
* Sat Dec 3 2011 Jens Petersen <petersen@redhat.com> - 1.1.1-1
- update to 1.1.1
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.6-7.3
- rebuild with new gmp without compat lib
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.0.6-7.2
- rebuild with new gmp without compat lib
2011-10-11 10:13:31 +00:00
* Tue Oct 11 2011 Peter Schiffer <pschiffe@redhat.com> - 1.0.6-7.1
- rebuild with new gmp
2011-09-26 10:08:49 +00:00
* Mon Sep 26 2011 Jens Petersen <petersen@redhat.com> - 1.0.6-7
2011-09-27 00:13:52 +00:00
- rebuild against MissingH-1.1.1.0 and BR haskell98
2011-09-26 10:08:49 +00:00
2011-08-29 09:55:39 +00:00
* Mon Aug 29 2011 Jens Petersen <petersen@redhat.com> - 1.0.6-6
- rebuild for hslogger-1.1.5
* Wed Jun 22 2011 Jens Petersen <petersen@redhat.com> - 1.0.6-5
- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
2011-03-16 10:12:24 +00:00
* Wed Mar 16 2011 Jens Petersen <petersen@redhat.com> - 1.0.6-4
- update to cabal2spec-0.22.5
2011-03-16 06:38:56 +00:00
* Sat Jan 29 2011 Jens Petersen <petersen@redhat.com> - 1.0.6-3
- update to cabal2spec-0.22.4
* Wed Sep 15 2010 Jens Petersen <petersen@redhat.com> - 1.0.6-2
- include the COPYRIGHT file too
* Sun Sep 05 2010 Ben Boeckel <mathstuf@gmail.com> - 1.0.6-1
- Initial package
* Sun Sep 5 2010 Fedora Haskell SIG <haskell-devel@lists.fedoraproject.org> - 1.0.6-0
- initial packaging for Fedora automatically generated by cabal2spec-0.22.2