Compare commits

..

2 Commits

Author SHA1 Message Date
Owen-sz 6233a39afc fix my name
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-06-14 05:31:11 -05:00
Owen-sz 1b742dd7be add: ghc-vinyl
Signed-off-by: Owen-sz <owen@fyralabs.com>
2026-06-14 05:30:54 -05:00
41 changed files with 122 additions and 147 deletions
-5
View File
@@ -1,5 +0,0 @@
# Terra apps Folder
This folder is for all graphical-first, general purpose applications.
Any packages that have a graphical subpackage, or have a more specific purpose that better matches a different folder (for example, zed or veracrypt), should be placed in a more specific folder.
Use your best judgement.
-3
View File
@@ -1,3 +0,0 @@
# Terra buildsys Folder
This folder is for all build systems (buildsys).
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops Folder
This folder is for all desktop environments, wayland compositors, and any related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/budgie Folder
This folder is for all Budgie related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/elementary Folder
This folder is for all elementary related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/gnome Folder
This folder is for all gnome related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/hyprland Folder
This folder is for all hyprland related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/kde Folder
This folder is for all KDE related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/lomiri-unity Folder
This folder is for all lomiri-unity related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/mate Folder
This folder is for all MATE related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/niri Folder
This folder is for all niri related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/singularity Folder
This folder is for all singularity related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/stardust Folder
This folder is for all Stardust XR related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/sway Folder
This folder is for all sway related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra desktops/waylands Folder
This folder is for all wayland compositor/tiling window manager related/enhancing packages.
-9
View File
@@ -1,9 +0,0 @@
# Terra devs Folder
This folder is for developer related packages.
Examples:
- Terminals
- IDEs/editors
- Shells
-3
View File
@@ -1,3 +0,0 @@
# Terra fonts Folder
This folder is for all fonts/font related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra games Folder
This folder is for all games/game related packages.
-5
View File
@@ -1,5 +0,0 @@
# Terra langs Folder
This folder is for all language-specific packages.
This mostly includes software written for a specific language (language servers, language specific libraries/modules, languages themselves), but may also include software written in a specific language that does not fit anywhere else (for example, all our Haskell ghc-* packages).
Use your best judgement when contributing here.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/crystal Folder
This folder is for all crystal packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/d Folder
This folder is for all D packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/go Folder
This folder is for go specific or misc go packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/haskell Folder
This folder is for all Haskell packages.
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "ghc-vinyl.spec"
}
}
+116
View File
@@ -0,0 +1,116 @@
# generated by cabal-rpm-2.3.2
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name vinyl
%global pkgver %{pkg_name}-%{version}
%{?haskell_setup}
# testsuite missing deps: aeson hspec lens lens-aeson unordered-containers vector microlens should-not-typecheck
Name: ghc-%{pkg_name}
Version: 0.14.3
Release: 1%{?dist}
Summary: Extensible Records
License: MIT
URL: https://hackage.haskell.org/package/vinyl
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
# End cabal-rpm sources
Packager: Owen Zimmerman <owen@fyralabs.com>
# Begin cabal-rpm deps:
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-deepseq-devel
%if %{with ghc_prof}
BuildRequires: ghc-array-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-deepseq-prof
%endif
# End cabal-rpm deps
%description
Extensible records for Haskell with lenses.
%package devel
Summary: Haskell %{pkg_name} library development files
Provides: %{name}-static = %{version}-%{release}
Provides: %{name}-static%{?_isa} = %{version}-%{release}
%if %{defined ghc_version}
Requires: ghc-compiler = %{ghc_version}
%endif
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
%if %{with haddock}
%package doc
Summary: Haskell %{pkg_name} library documentation
BuildArch: noarch
Requires: ghc-filesystem
%description doc
This package provides the Haskell %{pkg_name} library documentation.
%endif
%if %{with ghc_prof}
%package prof
Summary: Haskell %{pkg_name} profiling library
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Supplements: (%{name}-devel and ghc-prof)
%description prof
This package provides the Haskell %{pkg_name} profiling library.
%endif
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
# End cabal-rpm setup
%build
# Begin cabal-rpm build:
%ghc_lib_build
# End cabal-rpm build
%install
# Begin cabal-rpm install
%ghc_lib_install
# End cabal-rpm install
%files -f %{name}.files
# Begin cabal-rpm files:
%license LICENSE
# End cabal-rpm files
%files devel -f %{name}-devel.files
%doc CHANGELOG.md
%if %{with haddock}
%files doc -f %{name}-doc.files
%license LICENSE
%endif
%if %{with ghc_prof}
%files prof -f %{name}-prof.files
%endif
%changelog
* Sun Jun 14 2026 Owen Zimmerman <owen@fyralabs.com> - 0.14.3-1
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(hackage("vinyl"));
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/holyc Folder
This folder is for HolyC and HolyC related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/kotlin Folder
This folder is for all Kotlin packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/lua Folder
This folder is for all Lua packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/nim Folder
This folder is for Nim specific or miscellaneous Nim packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/python Folder
This folder is for Python specific packages, Python modules, or miscellaneous Python packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/rust Folder
This folder is for Rust specific packages, or miscellaneous Rust packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/vala Folder
This folder is for Vala packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra langs/zig Folder
This folder is for Zig specific, or miscellaneous Zig packages.
-9
View File
@@ -1,9 +0,0 @@
# Terra langs Folder
This folder is for all library/library related packages.
Examples:
- C/C++ header/library first packages
- GUI frameworks
- API packages
- QT packages.
-4
View File
@@ -1,4 +0,0 @@
# Terra misc Folder
This folder is for all miscellaneous packages that do not fit in any other folders.
Use your best judgement when contributing here.
-9
View File
@@ -1,9 +0,0 @@
# Terra multimedia Folder
This folder is for all multimedia packages.
Examples:
- Codecs
- Media manipulation tools
- Media explorers
-11
View File
@@ -1,11 +0,0 @@
# Terra system Folder
This folder is for all system related packages.
Examples:
- Kernel modules
- Package managers
- Schedulers
- udev rules
- Tools to interact directly with the system (ex. asusctl)
-3
View File
@@ -1,3 +0,0 @@
# Terra terra Folder
This folder is for all terra related packages.
-3
View File
@@ -1,3 +0,0 @@
# Terra themes Folder
This folder is for all theme/theme related packages.
-5
View File
@@ -1,5 +0,0 @@
# Terra tools Folder
This folder is for all tool packages.
Generally speaking, these are CLI programs with a specific purpose.
Use your best judgement when contributing here.