Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
cpphs
cpphs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpphs.spec of Package cpphs
# # spec file for package cpphs # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global pkg_name cpphs %global pkgver %{pkg_name}-%{version} Name: %{pkg_name} Version: 1.20.9.1 Release: 0 Summary: A liberalised re-implementation of cpp, the C pre-processor License: GPL-2.0-only AND LGPL-2.1-only URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-devel BuildRequires: ghc-base-prof BuildRequires: ghc-directory-devel BuildRequires: ghc-directory-prof BuildRequires: ghc-polyparse-devel BuildRequires: ghc-polyparse-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-time-devel BuildRequires: ghc-time-prof ExcludeArch: %{ix86} %description Cpphs is a re-implementation of the C pre-processor that is both more compatible with Haskell, and itself written in Haskell so that it can be distributed with compilers. This version of the C pre-processor is pretty-much feature-complete and compatible with traditional (K&R) pre-processors. Additional features include: a plain-text mode; an option to unlit literate code files; and an option to turn off macro-expansion. %package -n ghc-%{name} Summary: Haskell %{name} library License: LGPL-2.1-only %description -n ghc-%{name} This package provides the Haskell %{name} shared library. %package -n ghc-%{name}-devel Summary: Haskell %{name} library development files License: LGPL-2.1-only Requires: ghc-%{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} %description -n ghc-%{name}-devel This package provides the Haskell %{name} library development files. %package -n ghc-%{pkg_name}-doc Summary: Haskell %{pkg_name} library documentation License: GPL-2.0-only AND LGPL-2.1-only Requires: ghc-filesystem BuildArch: noarch %description -n ghc-%{pkg_name}-doc This package provides the Haskell %{pkg_name} library documentation. %package -n ghc-%{pkg_name}-prof Summary: Haskell %{pkg_name} profiling library License: GPL-2.0-only AND LGPL-2.1-only Requires: ghc-%{pkg_name}-devel = %{version}-%{release} Supplements: (ghc-%{pkg_name}-devel and ghc-prof) %description -n ghc-%{pkg_name}-prof This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup cp -p %{SOURCE1} %{name}.cabal find . -type f -exec chmod -x {} + %build %ghc_lib_build %install %ghc_lib_install %post -n ghc-%{name}-devel %ghc_pkg_recache %postun -n ghc-%{name}-devel %ghc_pkg_recache %files %license LICENCE-LGPL %doc CHANGELOG LICENCE-GPL LICENCE-commercial README docs %{_bindir}/%{name} %files -n ghc-%{name} -f ghc-%{name}.files %license LICENCE-LGPL %files -n ghc-%{name}-devel -f ghc-%{name}-devel.files %doc CHANGELOG LICENCE-GPL LICENCE-commercial README docs %files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files %license LICENCE-LGPL %files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor