Initial import (#1485757).
This commit is contained in:
parent
8ff290bbe2
commit
3a445e2111
|
@ -0,0 +1 @@
|
|||
/fdo-notify-0.3.1.tar.gz
|
|
@ -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
|
Loading…
Reference in New Issue