[ghc-cautious-file/f16] Initial commit. Applied Jen's patch modified: .gitignore new file: ghc-cautious-file.spec mod

narasim narasim at fedoraproject.org
Sat Mar 3 18:11:07 UTC 2012


commit b60f2a6af1006d567c302505d09caee9515c758d
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Sat Mar 3 23:40:38 2012 +0530

    Initial commit. Applied Jen's patch
    	modified:   .gitignore
    	new file:   ghc-cautious-file.spec
    	modified:   sources

 .gitignore             |    1 +
 ghc-cautious-file.spec |   72 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..95b0bef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cautious-file-1.0.tar.gz
diff --git a/ghc-cautious-file.spec b/ghc-cautious-file.spec
new file mode 100644
index 0000000..133b5e0
--- /dev/null
+++ b/ghc-cautious-file.spec
@@ -0,0 +1,72 @@
+# cabal2spec-0.25.4
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name cautious-file
+
+%global common_summary Write files cautiously
+
+%global common_description Ways to write a file cautiously, to reduce \
+the chances of problems such as data loss due to crashes or power\
+failures.If the posix flag is enabled, posix-specific\
+functions are used to reduce the chance of data loss further.
+
+Name:           ghc-%{pkg_name}
+Version:        1.0
+Release:        2%{?dist}
+Summary:        %{common_summary}
+
+Group:          System Environment/Libraries
+License:        BSD
+# BEGIN cabal2spec
+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 %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-bytestring-devel
+
+%description
+%{common_description}
+
+
+%prep
+%setup -q -n %{pkg_name}-%{version}
+
+
+%build
+%ghc_lib_build
+
+
+%install
+%ghc_lib_install
+
+
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
+
+
+%changelog
+* Sat Feb 25 2012 Jens Petersen <petersen at redhat.com> - 1.0-2
+- depends on bytestring
+- simplify summary and improve description format
+
+* Sat Feb 11 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0-1
+- spec file template generated by cabal2spec-0.25.4
+- package update to 1.0
+
+* Sun Dec 19 2010 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.1.5-1
+- Modified summary and description. License is BSD 3 clause variant.
+
+* Sun Dec 19 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.1.5-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.3
+
diff --git a/sources b/sources
index e69de29..35868cc 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ca18207cccb0ab7c7c2649133943ccc4  cautious-file-1.0.tar.gz


More information about the scm-commits mailing list