Commit e2482a41 authored by Eric's avatar Eric

begin work on centos spec file

parent 9919c23e
Pipeline #326 failed with stage
in 0 seconds
# define general things we will need later
%define sbbs_dir /sbbs
%define sbbs_user sbbs
%define sbbs_group sbbs
# distribution specific definitions
%define use_systemd (0%{?fedora} && 0%{?fedora} >= 18) || (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?suse_version} == 1315)
%if 0%{?rhel} == 5
Group: System Environment/Daemons
Requires(pre): shadow-utils
Requires: initscripts >= 8.36
Requires(post): chkconfig
%endif
%if 0%{?rhel} == 6
Group: System Environment/Daemons
Requires(pre): shadow-utils
Requires: initscripts >= 8.36
Requires(post): chkconfig
%endif
%if 0%{?rhel} == 7
Group: System Environment/Daemons
Requires(pre): shadow-utils
Requires: systemd
BuildRequires: systemd
Epoch: 1
%endif
%if 0%{?suse_version} == 1315
Group: Productivity/Networking/Web/Servers
BuildRequires: systemd
Requires(pre): shadow
Requires: systemd
%endif
# end of distribution specific definitions
Summary: Modern bbs server software
Name: synchronet
Version: 1.19.3
Release: 1%{?dist}.ngx
Vendor: Synchronet
URL: https://synchro.net
Source0: https://gitlab.synchro.net/sbbs/sbbs/-/archive/master/sbbs-master.tar.gz
License: #todo - fill me out
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: glibc-devel
BuildRequires: ncurses-devel
BuildRequires: nspr-devel
BuildRequires: python3
BuildRequires: git
BuildRequires: libcap-devel
BuildRequires: gdb
BuildRequires: xorg-x11-proto-devel
BuildRequires: SDL-devel
BuildRequires: gtk3-devel
BuildRequires: libglade2-devel
BuildRequires: libzip-devel
BuildRequires: unzip
BuildRequires: lrzsz
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment