update to 1.0.1; subpackage file-embed
This commit is contained in:
parent
dba7107de9
commit
4d252bad9e
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/hledger-0.23.2.tar.gz
|
/hledger-0.23.2.tar.gz
|
||||||
/hledger-0.24.tar.gz
|
/hledger-0.24.tar.gz
|
||||||
/hledger-0.27.1.tar.gz
|
/hledger-0.27.1.tar.gz
|
||||||
|
/hledger-1.1.tar.gz
|
||||||
|
49
hledger.spec
49
hledger.spec
@ -1,18 +1,23 @@
|
|||||||
# generated by cabal-rpm-0.10.0
|
# generated by cabal-rpm-0.11.1
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||||
|
|
||||||
%global pkg_name hledger
|
%global pkg_name hledger
|
||||||
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
%global fileembed file-embed-0.0.10
|
||||||
|
%global subpkgs %{fileembed}
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.27.1
|
Version: 1.0.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The main command-line interface for the hledger accounting tool
|
Summary: Command-line interface for the hledger accounting tool
|
||||||
|
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Url: https://hackage.haskell.org/package/%{name}
|
Url: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
|
Source1: https://hackage.haskell.org/package/%{fileembed}/%{fileembed}.tar.gz
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -20,14 +25,18 @@ BuildRequires: ghc-rpm-macros
|
|||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-HUnit-devel
|
BuildRequires: ghc-HUnit-devel
|
||||||
BuildRequires: ghc-base-compat-devel
|
BuildRequires: ghc-base-compat-devel
|
||||||
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-cmdargs-devel
|
BuildRequires: ghc-cmdargs-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-csv-devel
|
BuildRequires: ghc-csv-devel
|
||||||
|
BuildRequires: ghc-data-default-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
|
#BuildRequires: ghc-file-embed-devel
|
||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
|
BuildRequires: ghc-hashable-devel
|
||||||
BuildRequires: ghc-haskeline-devel
|
BuildRequires: ghc-haskeline-devel
|
||||||
BuildRequires: ghc-hledger-lib-devel
|
BuildRequires: ghc-hledger-lib-devel
|
||||||
#BuildRequires: ghc-mtl-compat-devel
|
BuildRequires: ghc-megaparsec-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-old-time-devel
|
BuildRequires: ghc-old-time-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
@ -38,9 +47,11 @@ BuildRequires: ghc-safe-devel
|
|||||||
BuildRequires: ghc-shakespeare-devel
|
BuildRequires: ghc-shakespeare-devel
|
||||||
BuildRequires: ghc-split-devel
|
BuildRequires: ghc-split-devel
|
||||||
BuildRequires: ghc-tabular-devel
|
BuildRequires: ghc-tabular-devel
|
||||||
|
BuildRequires: ghc-temporary-devel
|
||||||
BuildRequires: ghc-terminfo-devel
|
BuildRequires: ghc-terminfo-devel
|
||||||
BuildRequires: ghc-text-devel
|
BuildRequires: ghc-text-devel
|
||||||
BuildRequires: ghc-time-devel
|
BuildRequires: ghc-time-devel
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
BuildRequires: ghc-unordered-containers-devel
|
BuildRequires: ghc-unordered-containers-devel
|
||||||
BuildRequires: ghc-utf8-string-devel
|
BuildRequires: ghc-utf8-string-devel
|
||||||
BuildRequires: ghc-wizards-devel
|
BuildRequires: ghc-wizards-devel
|
||||||
@ -51,8 +62,9 @@ BuildRequires: ghc-test-framework-hunit-devel
|
|||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is hledger’s command-line interface. Its basic function is to read a plain
|
This is hledger's command-line interface. Its basic function is to read a plain
|
||||||
text file describing financial transactions and produce useful reports.
|
text file describing financial transactions and produce useful reports.
|
||||||
|
|
||||||
hledger is a cross-platform program for tracking money, time, or any other
|
hledger is a cross-platform program for tracking money, time, or any other
|
||||||
commodity, using double-entry accounting and a simple, editable file format.
|
commodity, using double-entry accounting and a simple, editable file format.
|
||||||
It is inspired by and largely compatible with ledger(1). hledger provides
|
It is inspired by and largely compatible with ledger(1). hledger provides
|
||||||
@ -79,19 +91,32 @@ Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|||||||
This package provides the Haskell %{name} library development files.
|
This package provides the Haskell %{name} library development files.
|
||||||
|
|
||||||
|
|
||||||
|
%global main_version %{version}
|
||||||
|
|
||||||
|
%if %{defined ghclibdir}
|
||||||
|
%ghc_lib_subpackage %{fileembed}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%global version %{main_version}
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -a1
|
||||||
cabal-tweak-drop-dep mtl-compat
|
cabal-tweak-drop-dep mtl-compat
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ghc_libs_build %{subpkgs}
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%ghc_libs_install %{subpkgs}
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
%ghc_fix_rpath %{subpkgs}
|
||||||
|
|
||||||
%ghc_fix_dynamic_rpath %{pkg_name}
|
mkdir -p %{buildroot}%{_docdir}/ghc-hledger-devel/
|
||||||
|
mv %{buildroot}%{_datadir}/%{name}-%{version}/doc %{buildroot}%{_docdir}/ghc-hledger-devel/
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -116,10 +141,14 @@ cabal-tweak-drop-dep mtl-compat
|
|||||||
|
|
||||||
|
|
||||||
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
||||||
%doc CHANGES README.md
|
%doc CHANGES README.md doc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 21 2017 Jens Petersen <petersen@redhat.com> - 1.0.1-1
|
||||||
|
- update to 1.0.1
|
||||||
|
- subpackage file-embed
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.1-2
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.27.1-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user