commit 4c4fc267b7125903681ef7e9682e5c44e586704e Author: Adam Samalik Date: Mon May 8 11:43:52 2023 +0200 import sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb1e4a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/time-locale-compat-0.1.1.3.tar.gz diff --git a/ghc-time-locale-compat.spec b/ghc-time-locale-compat.spec new file mode 100644 index 0000000..6da2182 --- /dev/null +++ b/ghc-time-locale-compat.spec @@ -0,0 +1,81 @@ +# generated by cabal-rpm-0.12.1 +# https://fedoraproject.org/wiki/Packaging:Haskell + +%global pkg_name time-locale-compat +%global pkgver %{pkg_name}-%{version} + +Name: ghc-%{pkg_name} +Version: 0.1.1.3 +Release: 10%{?dist} +Summary: Compatibility of TimeLocale between old-locale and time-1.5 + +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-old-locale-devel +BuildRequires: ghc-time-devel +# End cabal-rpm deps + +%description +This package contains wrapped name module for TimeLocale. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-doc = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +Requires(post): ghc-compiler = %{ghc_version} +Requires(postun): ghc-compiler = %{ghc_version} +%endif +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 + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 0.1.1.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Jan 26 2018 Jens Petersen - 0.1.1.3-9 +- rebuild + +* Fri Jan 12 2018 Jens Petersen - 0.1.1.3-8 +- bump over ghc-aeson + +* Tue Jan 9 2018 Fedora Haskell SIG - 0.1.1.3-1 +- spec file generated by cabal-rpm-0.12 diff --git a/sources b/sources new file mode 100644 index 0000000..eb3bdfb --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (time-locale-compat-0.1.1.3.tar.gz) = 62fd86d0b1f3707fb820a15dddc01d02fb701e942493e26927745556f19430706ae342a810942c511105cfa848f0d40e109aab471c8c0441caaf6ed4afb233a2