update code
This commit is contained in:
commit
5afac78bcf
BIN
fpaste-0.4.0.0.tar.gz
Normal file
BIN
fpaste-0.4.0.0.tar.gz
Normal file
Binary file not shown.
47
fpaste.spec
Normal file
47
fpaste.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
Name: fpaste
|
||||||
|
Version: 0.4.0.0
|
||||||
|
Release: 1
|
||||||
|
Summary: A simple paste util
|
||||||
|
License: GPLv3+
|
||||||
|
URL: https://pagure.io/%{name}
|
||||||
|
Source0: https://pagure.io/releases/%{name}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: python3
|
||||||
|
|
||||||
|
%description
|
||||||
|
It allows easy uploading of multiple files, or of copy&pasted text from stdin,
|
||||||
|
without requiring a web browser. A unique fpaste link is returned, which can
|
||||||
|
then be given to others who are offering help.
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
|
make install BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
|
||||||
|
%preun
|
||||||
|
|
||||||
|
%post
|
||||||
|
|
||||||
|
%postun
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc README.rst TODO
|
||||||
|
%{_mandir}/man1/%{name}.1.gz
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.0.0-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user