forked from pool/ghc-file-embed
- correct licence to BSD-2-Clause
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-file-embed?expand=0&rev=5
This commit is contained in:
parent
a5561882b9
commit
c10396f64a
@ -4,6 +4,11 @@ Fri Jan 22 08:46:18 UTC 2016 - mimi.vx@gmail.com
|
|||||||
- update to 0.0.9.1
|
- update to 0.0.9.1
|
||||||
* embedStringFile
|
* embedStringFile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 23 09:56:34 UTC 2015 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
- correct licence to BSD-2-Clause
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 17 19:28:15 UTC 2015 - mimi.vx@gmail.com
|
Tue Nov 17 19:28:15 UTC 2015 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-file-embed
|
# spec file for package ghc-file-embed
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global pkg_name file-embed
|
%global pkg_name file-embed
|
||||||
|
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
@ -23,9 +24,9 @@ Name: ghc-file-embed
|
|||||||
Version: 0.0.9.1
|
Version: 0.0.9.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Use Template Haskell to embed file contents directly
|
Summary: Use Template Haskell to embed file contents directly
|
||||||
|
License: BSD-2-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
License: BSD-3-Clause
|
|
||||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -62,37 +63,29 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkg_name}-%{version}
|
%setup -q -n %{pkg_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%cabal test
|
%cabal test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%postun devel
|
%postun devel
|
||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
|
|
||||||
%files devel -f %{name}-devel.files
|
%files devel -f %{name}-devel.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user