Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
36039cc3da | ||
|
|
a2a974d5f7 | ||
|
|
3bdf9a1252 |
4 changed files with 118 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -0,0 +1,3 @@
|
|||
/unlambda-0.1.tar.gz
|
||||
/unlambda-0.1.2.tar.gz
|
||||
/unlambda-0.1.3.tar.gz
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
314f0c610d0b71635b453e649d47d73f unlambda-0.1.3.tar.gz
|
||||
33
unlambda-0.1.2-FSF-license-fix.patch
Normal file
33
unlambda-0.1.2-FSF-license-fix.patch
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
diff -up unlambda-0.1.2/Language/Unlambda.hs.fix unlambda-0.1.2/Language/Unlambda.hs
|
||||
--- unlambda-0.1.2/Language/Unlambda.hs.fix 2012-10-26 16:20:40.397173788 +0530
|
||||
+++ unlambda-0.1.2/Language/Unlambda.hs 2012-10-26 16:23:15.926170223 +0530
|
||||
@@ -19,7 +19,7 @@ GNU General Public License for more deta
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
-}
|
||||
|
||||
module Language.Unlambda where
|
||||
diff -up unlambda-0.1.2/LICENSE.fix unlambda-0.1.2/LICENSE
|
||||
--- unlambda-0.1.2/LICENSE.fix 2012-10-26 16:20:35.517174668 +0530
|
||||
+++ unlambda-0.1.2/LICENSE 2012-10-26 16:22:44.604170767 +0530
|
||||
@@ -2,7 +2,7 @@
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
@@ -305,7 +305,7 @@ the "copyright" line and a pointer to wh
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
81
unlambda.spec
Normal file
81
unlambda.spec
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
|
||||
|
||||
%global pkg_name unlambda
|
||||
|
||||
%global common_summary Unlambda interpreter
|
||||
|
||||
%global common_description This is an interpreter of the Unlambda language,\
|
||||
written in the pure, lazy, functional language Haskell.
|
||||
|
||||
Name: %{pkg_name}
|
||||
Version: 0.1.3
|
||||
Release: 1%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
License: GPL+
|
||||
URL: http://hackage.haskell.org/package/%{name}
|
||||
Source0: http://hackage.haskell.org/packages/archive/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: unlambda-0.1.2-FSF-license-fix.patch
|
||||
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-array-devel
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-unix-devel
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
%{common_description}
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
iconv -f iso8859-1 -t utf-8 Language/Unlambda.hs > Language/Unlambda.conv && mv -f Language/Unlambda.conv Language/Unlambda.hs
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
|
||||
%ghc_package
|
||||
|
||||
%ghc_description
|
||||
|
||||
|
||||
%ghc_devel_package
|
||||
|
||||
%ghc_devel_description
|
||||
|
||||
|
||||
%ghc_devel_post_postun
|
||||
|
||||
|
||||
%files
|
||||
%doc LICENSE
|
||||
%{_bindir}/%{name}
|
||||
|
||||
|
||||
%ghc_files LICENSE
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Dec 7 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.3-1
|
||||
- spec file generated by cabal-rpm-0.6.5
|
||||
|
||||
* Fri Oct 26 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1.2-1
|
||||
- Updated to new upstream release 0.1.2
|
||||
|
||||
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Tue Jun 19 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1-2
|
||||
- Added patch to fix FSF address.
|
||||
|
||||
* Fri Jun 08 2012 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 0.1-1
|
||||
- Added iconv to convert Unlambda.hs to utf-8.
|
||||
- Added BRs.
|
||||
- Spec file template generated by cabal2spec-0.25.5
|
||||
Loading…
Add table
Add a link
Reference in a new issue