commit 5afac78bcf0ec59229b9ed17bc2626cdc3232fb3 Author: zhuchunyi Date: Wed Nov 6 19:07:06 2019 +0800 update code diff --git a/fpaste-0.4.0.0.tar.gz b/fpaste-0.4.0.0.tar.gz new file mode 100644 index 0000000..b25e184 Binary files /dev/null and b/fpaste-0.4.0.0.tar.gz differ diff --git a/fpaste.spec b/fpaste.spec new file mode 100644 index 0000000..8706535 --- /dev/null +++ b/fpaste.spec @@ -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 - 0.4.0.0-1 +- Package init