rpms/ghc-ghc-paths/devel ghc-ghc-paths.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Jens Petersen
petersen at fedoraproject.org
Mon Mar 9 05:11:27 UTC 2009
- Previous message: rpms/roadstencil-fonts/devel roadstencil-fonts.spec,1.5,1.6
- Next message: rpms/ghc-paths/devel dead.package, NONE, 1.1 .cvsignore, 1.2, NONE Makefile, 1.1, NONE ghc-paths.spec, 1.3, NONE import.log, 1.1, NONE sources, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: petersen
Update of /cvs/extras/rpms/ghc-ghc-paths/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12300
Modified Files:
.cvsignore sources
Added Files:
ghc-ghc-paths.spec
Log Message:
import package renamed from ghc-paths
--- NEW FILE ghc-ghc-paths.spec ---
%global pkg_name ghc-paths
%global ghc_version 6.10.1
%global pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version}
%global pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}-%{version}
%bcond_without doc
%bcond_without prof
# ghc does not emit debug information
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.1.0.5
Release: 5%{?dist}
Summary: Interface to GHC's installation directories
Group: Development/Libraries
License: BSD
URL: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha
BuildRequires: ghc = %{ghc_version}
%if %{with doc}
BuildRequires: ghc-doc = %{ghc_version}
%endif
%if %{with prof}
BuildRequires: ghc-prof = %{ghc_version}
%endif
%description
This package provides the Haskell %{pkg_name} library for ghc.
%package devel
Summary: Haskell %{pkg_name} library
Group: Development/Libraries
Requires: ghc = %{ghc_version}
Requires(post): ghc = %{ghc_version}
Requires(preun): ghc = %{ghc_version}
Obsoletes: ghc-paths < 0.1.0.5-5
%description devel
This library provides an interface to reading the install directories
of the ghc compiler.
%if %{with doc}
%package doc
Summary: Documentation for %{name}
Group: Development/Libraries
Requires: ghc-doc = %{ghc_version}
Requires(post): ghc-doc = %{ghc_version}
Requires(postun): ghc-doc = %{ghc_version}
Obsoletes: ghc-paths-doc < 0.1.0.5-5
%description doc
This package contains development documentation files for the %{name} library.
%endif
%if %{with prof}
%package prof
Summary: Profiling libraries for %{name}
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
Requires: ghc-prof = %{ghc_version}
Obsoletes: ghc-paths-prof < 0.1.0.5-5
%description prof
This package contains profiling libraries for %{name}.
%endif
%prep
%setup -q -n %{pkg_name}-%{version}
%build
%cabal_configure --ghc %{!?without_prof:-p}
%cabal build
%if %{with doc}
%cabal haddock
%endif
%ghc_gen_scripts
%install
rm -rf $RPM_BUILD_ROOT
%cabal_install
%ghc_install_scripts
%ghc_gen_filelists %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post devel
%ghc_register_pkg
%if %{with doc}
%post doc
%ghc_reindex_haddock
%endif
%preun devel
if [ "$1" -eq 0 ] ; then
%ghc_unregister_pkg
fi
%if %{with doc}
%postun doc
if [ "$1" -eq 0 ] ; then
%ghc_reindex_haddock
fi
%endif
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%{_docdir}/%{name}-%{version}
%if %{with doc}
%files doc
%defattr(-,root,root,-)
%{pkg_docdir}
%endif
%if %{with prof}
%files prof -f %{name}-prof.files
%defattr(-,root,root,-)
%endif
%changelog
* Mon Mar 9 2009 Jens Petersen <petersen at redhat.com> - 0.1.0.5-5
- package renamed from ghc-paths
- update to cabal2spec-0.12
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.0.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Feb 13 2009 Jens Petersen <petersen at redhat.com> - 0.1.0.5-3
- update to latest packaging template: use bcond and add doc subpackage
* Tue Dec 23 2008 Jens Petersen <petersen at redhat.com> - 0.1.0.5-2
- improve summary and description (#476483)
* Mon Dec 15 2008 Jens Petersen <petersen at redhat.com> - 0.1.0.5-1
- initial packaging for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ghc-ghc-paths/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 9 Mar 2009 03:11:44 -0000 1.1
+++ .cvsignore 9 Mar 2009 05:10:56 -0000 1.2
@@ -0,0 +1 @@
+ghc-paths-0.1.0.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ghc-ghc-paths/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 9 Mar 2009 03:11:44 -0000 1.1
+++ sources 9 Mar 2009 05:10:56 -0000 1.2
@@ -0,0 +1 @@
+8fdc122e65845d2d53734f78e22c5155 ghc-paths-0.1.0.5.tar.gz
- Previous message: rpms/roadstencil-fonts/devel roadstencil-fonts.spec,1.5,1.6
- Next message: rpms/ghc-paths/devel dead.package, NONE, 1.1 .cvsignore, 1.2, NONE Makefile, 1.1, NONE ghc-paths.spec, 1.3, NONE import.log, 1.1, NONE sources, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list