Initial import (#1485757).

This commit is contained in:
Elliott Sales de Andrade 2017-08-31 04:09:36 -04:00
parent 8ff290bbe2
commit 3a445e2111
4 changed files with 86 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/fdo-notify-0.3.1.tar.gz

View File

@ -1,3 +0,0 @@
# ghc-fdo-notify
The ghc-fdo-notify package

84
ghc-fdo-notify.spec Normal file
View File

@ -0,0 +1,84 @@
# generated by cabal-rpm-0.11.2
# https://fedoraproject.org/wiki/Packaging:Haskell
%global pkg_name fdo-notify
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.3.1
Release: 7.git.0.c12706d%{?dist}
Summary: Desktop Notifications client
License: BSD
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
# Begin cabal-rpm deps:
BuildRequires: ghc-containers-devel
BuildRequires: ghc-dbus-devel
# End cabal-rpm deps
%description
A library for issuing notifications using FreeDesktop.org's Desktop
Notifications protocol. This protocol is supported by services such as Ubuntu's
NotifyOSD.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%prep
%setup -q -n %{pkgver}
%build
%ghc_lib_build
%install
%ghc_lib_install
%post devel
%ghc_pkg_recache
%postun devel
%ghc_pkg_recache
%files -f %{name}.files
%license LICENSE
%files devel -f %{name}-devel.files
%doc examples
%changelog
* Sun Aug 27 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.1-7
- Fix typo in description.
- Update to latest spec template.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.1-6
- Re-add dist tag to release numbers.
* Mon Jul 17 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.3.1-5
- Bump for Fedora 26.
* Thu Dec 15 2016 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.3.1-4
- Update release to be newer than previous builds
* Thu Dec 15 2016 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.3.1-1
- spec file generated by cabal-rpm-0.10.0

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (fdo-notify-0.3.1.tar.gz) = d9193899d5eebd7c36e9464571827bd5b560fcc156e89822877b3b67a1f376c7abea9958f7e0aa6f79da06ad5f35a8738ad30a40d447b64ad557ed341054e6b6