[ghc-xdg-basedir/f16] Initial commit modified: .gitignore new file: ghc-xdg-basedir.spec modified: sources

narasim narasim at fedoraproject.org
Mon Apr 23 14:25:58 UTC 2012


commit 052b710b7b98fc8ed5a11cfb9a315dd72c278bcc
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Mon Apr 23 19:55:45 2012 +0530

    Initial commit
    	modified:   .gitignore
    	new file:   ghc-xdg-basedir.spec
    	modified:   sources

 .gitignore           |    1 +
 ghc-xdg-basedir.spec |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 72 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..84480a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/xdg-basedir-0.2.1.tar.gz
diff --git a/ghc-xdg-basedir.spec b/ghc-xdg-basedir.spec
new file mode 100644
index 0000000..70c9af9
--- /dev/null
+++ b/ghc-xdg-basedir.spec
@@ -0,0 +1,70 @@
+# cabal2spec-0.25.4
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
+%global pkg_name xdg-basedir
+
+%global common_summary Haskell implementation of XDG base directory spec
+
+%global common_description A basic implementation of the XDG Base Directory specification.\
+On Unix platforms, this should be a very straightforward implementation\
+of the XDG Base Directory spec. On Windows, it will attempt to do the\
+right thing with regards to choosing appropriate directories.
+
+Name:           ghc-%{pkg_name}
+Version:        0.2.1
+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
+
+%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 LICENSE
+
+
+%changelog
+* Mon Apr 23 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.2.1-2
+- Applied patch provided by Jens Petersen to clean up summary,description
+- Added LICENSE to ghc_files macro
+
+* Sun Mar 25 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.2.1-1
+- Package update to 0.2.1
+- Update spec file to 0.25.4
+
+* Tue May 10 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.2-1
+- License is BSD.
+
+* Tue May 10 2011 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.2-0
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.7
diff --git a/sources b/sources
index e69de29..ffad672 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f560e3a29a6cd0d6d346e9f649699208  xdg-basedir-0.2.1.tar.gz


More information about the scm-commits mailing list