Commit 29210303 authored by notklaatu's avatar notklaatu

version 2.5

parent af9da7a5
Pipeline #119475363 failed with stage
in 39 seconds
Name: trashy
Version: 2.0
Release: 2%{?dist}
Version: 2.5
Release: 1%{?dist}
Summary: A sane rm intermediary for the POSIX shell
License: GPLv3+
URL: https://www.slackermedia.info/%{name}
Source0: http://www.slackermedia.info/%{name}/dist/%{name}-%{version}.tar.bz2
Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
Requires: (bash or tcsh or zsh)
......@@ -16,25 +16,28 @@ Trashy is a shell script providing a (mostly freedesktop.org compliant) trash bi
%prep
%setup -q
autoreconf --install
automake
%build
gzip %{name}.8
gzip %{name}.info
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%make_install
#gzip man/%{name}.8
gzip slackware/%{name}.info
mkdir -p %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}
#mkdir -p %{buildroot}/%{_mandir}
mkdir -p %{buildroot}/%{_infodir}
install -m 0755 %{name} %{buildroot}/%{_bindir}/%{name}
install -m 0755 %{name}.8.gz %{buildroot}/%{_mandir}/%{name}.8.gz
install -m 0644 %{name}.info.gz %{buildroot}/%{_infodir}/%{name}.info.gz
#install -D -m 0755 man/%{name}.8.gz %{buildroot}/%{_mandir}/%{name}.8.gz
install -m 0644 slackware/%{name}.info.gz %{buildroot}/%{_infodir}/%{name}.info.gz
%files
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/%{name}.8.gz
%{_mandir}/man8/%{name}.8.gz
%{_infodir}/%{name}.info.gz
%doc README.md
......@@ -46,6 +49,10 @@ install -m 0644 %{name}.info.gz %{buildroot}/%{_infodir}/%{name}.info.gz
[ -L /usr/bin/trash ] && rm /usr/bin/trash
%changelog
* Thu Feb 20 2020 Klaatu <klaatu@fedorapeople.org> - 2.5-1
- version bump
- spec file adjusted for Gitlab tags
* Mon Jan 30 2017 Klaatu <klaatu@fedorapeople.org> - 2.0-2
- URL correction
- post create symlink
......
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