|
|
02b231c |
Name: fpaste
|
|
|
1dd80aa |
Version: 0.3.7
|
|
|
bcab2ff |
Release: 1%{?dist}
|
|
|
02b231c |
Summary: A simple tool for pasting info onto fpaste.org
|
|
|
02b231c |
BuildArch: noarch
|
|
|
02b231c |
Group: Applications/Internet
|
|
|
02b231c |
License: GPLv3+
|
|
|
02b231c |
URL: https://fedorahosted.org/fpaste/
|
|
|
02b231c |
Source0: https://fedorahosted.org/released/fpaste/fpaste-%{version}.tar.bz2
|
|
|
c2f49bf |
Requires: xsel
|
|
|
02b231c |
|
|
|
02b231c |
%description
|
|
|
02b231c |
It is often useful to be able to easily paste text to the Fedora
|
|
|
02b231c |
Pastebin at http://fpaste.org and this simple script will do that
|
|
|
02b231c |
and return the resulting URL so that people may examine the
|
|
|
02b231c |
output. This can hopefully help folks who are for some reason
|
|
|
02b231c |
stuck without X, working remotely, or any other reason they may
|
|
|
02b231c |
be unable to paste something into the pastebin
|
|
|
02b231c |
|
|
|
02b231c |
%prep
|
|
|
02b231c |
%setup -q
|
|
|
02b231c |
|
|
|
02b231c |
%build
|
|
|
02b231c |
#nothing required
|
|
|
02b231c |
|
|
|
02b231c |
%install
|
|
|
02b231c |
mkdir -p %{buildroot}%{_bindir}
|
|
|
02b231c |
make install BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}
|
|
|
02b231c |
|
|
|
02b231c |
%clean
|
|
|
02b231c |
rm -rf %{buildroot}
|
|
|
02b231c |
|
|
|
02b231c |
|
|
|
02b231c |
%files
|
|
|
02b231c |
%defattr(-,root,root,-)
|
|
|
02b231c |
%{_bindir}/%{name}
|
|
|
02b231c |
%doc CHANGELOG COPYING README TODO
|
|
|
02b231c |
%{_mandir}/man1/fpaste.1.gz
|
|
|
02b231c |
|
|
|
02b231c |
%changelog
|
|
|
1dd80aa |
* Wed Aug 24 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.7-1
|
|
|
1dd80aa |
- Update to latest upstream release
|
|
|
1dd80aa |
|
|
|
1dd80aa |
* Thu Apr 14 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.6-1
|
|
|
bcab2ff |
- Update to new upstream release
|
|
|
bcab2ff |
- Pastes which exceed the server's size limit now error more gracefully
|
|
|
bcab2ff |
- stdin and clipboard descriptions now default to showing a small text summary of the form "beginning ... middle ... end".
|
|
|
bcab2ff |
- sysinfo improvements
|
|
|
bcab2ff |
|
|
|
d41a08c |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
|
|
|
d41a08c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d41a08c |
|
|
|
fb5c401 |
* Mon Oct 18 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.5-1
|
|
|
fb5c401 |
- New maintenance release
|
|
|
fb5c401 |
- --sysinfo: detect running and installed Desktop Environment(s)
|
|
|
fb5c401 |
- --sysinfo: Show filesystem type in df -hT output
|
|
|
fb5c401 |
- --sysinfo: Smolt fixed, GL and other additions. by Francois Cami
|
|
|
fb5c401 |
- --sysinfo: Optimized: rpm -qa --list --nodigest --nosignature. by Dave Riches
|
|
|
fb5c401 |
|
|
|
705ae56 |
* Mon Aug 24 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.4-1
|
|
|
705ae56 |
- New release
|
|
|
705ae56 |
- Validate paste size and content as non-binary before sending; user is prompted Y/N to override for huge pastes or binary content.
|
|
|
705ae56 |
- Added options --printonly and --confirm to show or ask user before sending
|
|
|
705ae56 |
- --sysinfo updated: Added blkid, top CPU hogs, top memory hogs, X errors,h/w virtualization, 64-bit capable, and last few reboot/runlevel changes
|
|
|
705ae56 |
- Workaround to read user input from raw_input following sys.stdin EOF
|
|
|
705ae56 |
- Guess language syntax from common file extension(s)
|
|
|
705ae56 |
- --help usage compacted and grouped
|
|
|
705ae56 |
- Check that 'xsel' is installed for clipboard input support; silent fail on output
|
|
|
705ae56 |
- Use 'fpaste/x.x.x' User-agent header
|
|
|
705ae56 |
- bug fixes
|
|
|
c2f49bf |
* Fri Aug 21 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.3-2
|
|
|
c2f49bf |
- Added xsel in requires
|
|
|
d67b3cb |
* Fri Aug 21 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.3-1
|
|
|
d67b3cb |
- new package release
|
|
|
d67b3cb |
- Proper urllib2 error handling
|
|
|
d67b3cb |
- Catches Ctrl-C while waiting for stdin to show a usage reminder rather than a traceback
|
|
|
d67b3cb |
- Typos fixed, and more TODO
|
|
|
d67b3cb |
- Added --sysinfo option to gather and pastebin basic system information
|
|
|
d67b3cb |
- Added options to read text from (xsel) clipboard and write resultant URL to clipboard
|
|
|
02b231c |
* Thu Aug 13 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.2-2
|
|
|
02b231c |
- Corrected source0 field
|
|
|
02b231c |
* Thu Aug 13 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.2-1
|
|
|
02b231c |
- New tar
|
|
|
02b231c |
- Man page included in tar
|
|
|
02b231c |
* Wed Aug 12 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.1-2
|
|
|
02b231c |
- Review request begins : #516698
|
|
|
02b231c |
- Removed buildroot declaration and removal from install section in accordance with new guidelines
|
|
|
02b231c |
- Aligned description properly
|
|
|
02b231c |
* Tue Aug 11 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.1-1
|
|
|
02b231c |
- Initial rpm build
|