-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from danielhams/thinlymaster
Updates for 0.0.5beta
- Loading branch information
Showing
129 changed files
with
5,871 additions
and
4,879 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
97 changes: 37 additions & 60 deletions
97
...chkconfig/SPECS/chkconfig.spec.origfedora → ...ages/alternatives/SPECS/alternatives.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,68 @@ | ||
Summary: A system tool for maintaining the /etc/rc*.d hierarchy | ||
Name: chkconfig | ||
# This package is able to use optimised linker flags. | ||
%global build_ldflags %{sgug_optimised_ldflags} | ||
|
||
Summary: A tool to maintain symbolic links determining default commands | ||
Name: alternatives | ||
Version: 1.11 | ||
Release: 5%{?dist} | ||
Release: 8%{?dist} | ||
License: GPLv2 | ||
URL: https://github.com/fedora-sysv/chkconfig | ||
Source: https://github.com/fedora-sysv/chkconfig/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||
BuildRequires: newt-devel gettext popt-devel libselinux-devel beakerlib gcc | ||
Conflicts: initscripts <= 5.30-1 | ||
Source: https://github.com/fedora-sysv/chkconfig/archive/chkconfig-%{version}.tar.gz#/chkconfig-%{version}.tar.gz | ||
BuildRequires: libdicl-devel >= 0.1.19 | ||
Requires: libdicl >= 0.1.19 | ||
|
||
%description | ||
Chkconfig is a basic system utility. It updates and queries runlevel | ||
information for system services. Chkconfig manipulates the numerous | ||
symbolic links in /etc/rc.d, to relieve system administrators of some | ||
of the drudgery of manually editing the symbolic links. | ||
|
||
%package -n ntsysv | ||
Summary: A tool to set the stop/start of system services in a runlevel | ||
Requires: chkconfig = %{version}-%{release} | ||
|
||
%description -n ntsysv | ||
Ntsysv provides a simple interface for setting which system services | ||
are started or stopped in various runlevels (instead of directly | ||
manipulating the numerous symbolic links in /etc/rc.d). Unless you | ||
specify a runlevel or runlevels on the command line (see the man | ||
page), ntsysv configures the current runlevel (5 if you're using X). | ||
|
||
%package -n alternatives | ||
Summary: A tool to maintain symbolic links determining default commands | ||
Patch0: alternatives.sgifixes.patch | ||
|
||
%description -n alternatives | ||
%description | ||
alternatives creates, removes, maintains and displays information about the | ||
symbolic links comprising the alternatives system. It is possible for several | ||
programs fulfilling the same or similar functions to be installed on a single | ||
system at the same time. | ||
|
||
%prep | ||
%setup -q | ||
%setup -q -n chkconfig-%{version} | ||
%patch0 -p1 -b .sgifixes | ||
|
||
# Rewrite some hardcoded paths in the alternatives source | ||
perl -pi -e "s|/etc/alternatives|%{_prefix}/etc/alternatives|g" alternatives.c | ||
perl -pi -e "s|/var/lib/alternatives|%{_prefix}/var/lib/alternatives|g" alternatives.c | ||
perl -pi -e "s|/usr/share/locale|%{_prefix}/share/locale|g" alternatives.c | ||
|
||
%build | ||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags} | ||
export CPPFLAGS="-I%{_includedir}/libdicl-0.1" | ||
export RPM_LD_FLAGS="-ldicl-0.1 -lintl $RPM_LD_FLAGS" | ||
V=1 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags} | ||
|
||
%check | ||
make check | ||
export CPPFLAGS="-I%{_includedir}/libdicl-0.1" | ||
export LIBS="-ldicl-0.1" | ||
V=1 make check | ||
|
||
%install | ||
export CPPFLAGS="-I%{_includedir}/libdicl-0.1" | ||
export LIBS="-ldicl-0.1" | ||
rm -rf $RPM_BUILD_ROOT | ||
make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} install | ||
make DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} SBINDIR=%{_sbindir} ALTDIR=%{_prefix}/var/lib/alternatives ALTDATADIR=%{_prefix}/etc/alternatives install | ||
|
||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | ||
ln -s rc.d/init.d $RPM_BUILD_ROOT/etc/init.d | ||
for n in 0 1 2 3 4 5 6; do | ||
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc${n}.d | ||
ln -s rc.d/rc${n}.d $RPM_BUILD_ROOT/etc/rc${n}.d | ||
done | ||
mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d | ||
rm $RPM_BUILD_ROOT%{_mandir}/man8/chkconfig* | ||
rm $RPM_BUILD_ROOT%{_mandir}/man8/ntsysv* | ||
|
||
%find_lang %{name} | ||
#find_lang %{name} | ||
|
||
%files -f %{name}.lang | ||
%defattr(-,root,root) | ||
%{!?_licensedir:%global license %%doc} | ||
#files -f %{name}.lang | ||
%files | ||
%license COPYING | ||
/sbin/chkconfig | ||
/etc/chkconfig.d | ||
/etc/init.d | ||
/etc/rc.d | ||
/etc/rc.d/init.d | ||
/etc/rc[0-6].d | ||
/etc/rc.d/rc[0-6].d | ||
%{_mandir}/*/chkconfig* | ||
%{_prefix}/lib/systemd/systemd-sysv-install | ||
|
||
%files -n ntsysv | ||
%defattr(-,root,root) | ||
%{_sbindir}/ntsysv | ||
%{_mandir}/*/ntsysv.8* | ||
|
||
%files -n alternatives | ||
%license COPYING | ||
%dir /etc/alternatives | ||
%dir %{_prefix}/etc/alternatives | ||
%{_sbindir}/update-alternatives | ||
%{_sbindir}/alternatives | ||
%{_mandir}/*/update-alternatives* | ||
%{_mandir}/*/alternatives* | ||
%dir /var/lib/alternatives | ||
%dir %{_prefix}/var/lib/alternatives | ||
|
||
%changelog | ||
* Fri Apr 10 2020 Daniel Hams <[email protected]> - 1.11-8 | ||
- Moved from chkconfig to specific alternatives package | ||
|
||
* Wed Jul 24 2019 Fedora Release Engineering <[email protected]> - 1.11-5 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This is actually an extract of the alternatives pieces from chkconfig, check | ||
there for the original spec. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
|
||
Name: aterm | ||
Version: 1.0.1 | ||
Release: 29%{?dist} | ||
Release: 30%{?dist} | ||
|
||
Summary: Afterstep XVT, VT102 emulator for the X Window system | ||
License: GPLv2+ | ||
|
@@ -43,9 +43,6 @@ advantage on a machine serving many X sessions. | |
%patch10 -p1 -b .sgifixes | ||
|
||
%build | ||
export SHELL=%{_bindir}/sh | ||
export SHELL_PATH="$SHELL" | ||
export CONFIG_SHELL="$SHELL" | ||
|
||
%configure --enable-fading --enable-background-image \ | ||
--enable-next-scroll --enable-utmp --enable-wtmp \ | ||
|
@@ -70,6 +67,9 @@ make %{?_smp_mflags} | |
|
||
|
||
%changelog | ||
* Fri Apr 10 2020 Daniel Hams <[email protected]> - 1.0.1-30 | ||
- Remove hard coded shell paths | ||
|
||
* Wed Jul 24 2019 Fedora Release Engineering <[email protected]> - 1.0.1-29 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
Summary: A GNU tool for automatically configuring source code | ||
Name: autoconf | ||
Version: 2.69 | ||
Release: 31%{?dist} | ||
Release: 32%{?dist} | ||
License: GPLv2+ and GFDL | ||
Source0: http://ftpmirror.gnu.org/autoconf/autoconf-%{version}.tar.xz | ||
Source1: config.site | ||
|
@@ -78,12 +78,6 @@ their use. | |
# Here's a terminator | ||
|
||
%prep | ||
export SHELL=%{_bindir}/bash | ||
export CONFIG_SHELL="$SHELL" | ||
export SHELL_PATH="$SHELL" | ||
export PERL_PATH=%{_bindir}/perl | ||
export PERL=%{_bindir}/perl | ||
export M4=%{_bindir}/m4 | ||
%autosetup -p1 | ||
|
||
%build | ||
|
@@ -92,12 +86,6 @@ export EMACS=%{_bindir}/emacs | |
%else | ||
export EMACS=%{_bindir}/false | ||
%endif | ||
export SHELL=%{_bindir}/bash | ||
export CONFIG_SHELL="$SHELL" | ||
export SHELL_PATH="$SHELL" | ||
export PERL_PATH=%{_bindir}/perl | ||
export PERL=%{_bindir}/perl | ||
export M4=%{_bindir}/m4 | ||
%configure \ | ||
%{?with_autoconf_enables_emacs:--with-lispdir=%{_emacs_sitelispdir}/autoconf} | ||
make %{?_smp_mflags} | ||
|
@@ -112,12 +100,6 @@ make check %{?_smp_mflags} | |
|
||
|
||
%install | ||
export SHELL=%{_bindir}/bash | ||
export CONFIG_SHELL="$SHELL" | ||
export SHELL_PATH="$SHELL" | ||
export PERL_PATH=%{_bindir}/perl | ||
export PERL=%{_bindir}/perl | ||
export M4=%{_bindir}/m4 | ||
make install %{?_smp_mflags} DESTDIR=%{buildroot} | ||
mkdir -p %{buildroot}/share | ||
install -m 0644 %{SOURCE1} %{buildroot}%{_datadir} | ||
|
@@ -146,6 +128,9 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir} | |
|
||
|
||
%changelog | ||
* Fri Apr 10 2020 Daniel Hams <[email protected]> - 2.69-32 | ||
- Remove hard coded shell paths | ||
|
||
* Wed Aug 28 2019 Ondrej Dubaj <[email protected]> - 2.69-31 | ||
- Port tests to Bash 5 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
Summary: A GNU tool for automatically creating Makefiles | ||
Name: automake | ||
Version: %{api_version}.1 | ||
Release: 13%{?dist} | ||
Release: 14%{?dist} | ||
|
||
# docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT | ||
License: GPLv2+ and GFDL and Public Domain and MIT | ||
|
@@ -101,12 +101,6 @@ Makefiles. | |
|
||
|
||
%prep | ||
export SHELL=%{_bindir}/bash | ||
export CONFIG_SHELL="$SHELL" | ||
export SHELL_PATH="$SHELL" | ||
export PERL_PATH=%{_bindir}/perl | ||
export PERL=%{_bindir}/perl | ||
export M4=%{_bindir}/m4 | ||
%autosetup -p1 | ||
%if %{with check} && %{with automake_enables_optional_test} | ||
autoreconf -iv | ||
|
@@ -122,25 +116,13 @@ done | |
%build | ||
# disable replacing config.guess and config.sub from redhat-rpm-config | ||
%global _configure_gnuconfig_hack 0 | ||
export SHELL=%{_bindir}/bash | ||
export CONFIG_SHELL="$SHELL" | ||
export SHELL_PATH="$SHELL" | ||
export PERL_PATH=%{_bindir}/perl | ||
export PERL=%{_bindir}/perl | ||
export M4=%{_bindir}/m4 | ||
%configure | ||
%make_build | ||
cp m4/acdir/README README.aclocal | ||
cp contrib/multilib/README README.multilib | ||
|
||
|
||
%install | ||
export SHELL=%{_bindir}/bash | ||
export CONFIG_SHELL="$SHELL" | ||
export SHELL_PATH="$SHELL" | ||
export PERL_PATH=%{_bindir}/perl | ||
export PERL=%{_bindir}/perl | ||
export M4=%{_bindir}/m4 | ||
%make_install | ||
|
||
|
||
|
@@ -166,6 +148,9 @@ make -k %{?_smp_mflags} check %{?TESTS_FLAGS: TESTS="%{TESTS_FLAGS}"} \ | |
|
||
|
||
%changelog | ||
* Fri Apr 10 2020 Daniel Hams <[email protected]> - 1.16-14 | ||
- Remove hard coded shell paths | ||
|
||
* Wed Jul 24 2019 Fedora Release Engineering <[email protected]> - 1.16.1-13 | ||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild | ||
|
||
|
Oops, something went wrong.