Browse Source

initial package creation

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 3 years ago
commit
5fd7b81ae1
  1. 0
      SOURCES/.gitkeeper
  2. 265
      SPECS/fpaste.spec

0
SOURCES/.gitkeeper

265
SPECS/fpaste.spec

@ -0,0 +1,265 @@
Name: fpaste
Version: 0.4.2.0
Release: 1%{?dist}
Summary: A simple tool for pasting info onto the Fedora community paste server
BuildArch: noarch
License: GPLv3+
URL: https://pagure.io/%{name}
Source0: https://pagure.io/%{name}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires: make

Requires: python3

%description
It is often useful to be able to easily paste text to the Fedora
Pastebin at http://paste.fedoraproject.org and this simple script
will do that and return the resulting URL so that people may
examine the output. This can hopefully help folks who are for
some reason stuck without X, working remotely, or any other
reason they may be unable to paste something into the pastebin.

This is not a general client for paste servers. It will only ever support the
paste server that the Fedora community is running.

%prep
%autosetup

%build
#nothing required

%install
mkdir -p %{buildroot}%{_bindir}
make install BINDIR=%{buildroot}%{_bindir} MANDIR=%{buildroot}%{_mandir}


%files
%{_bindir}/%{name}
%doc README.rst TODO
%{_mandir}/man1/%{name}.1.gz
%license COPYING

%changelog
* Tue May 18 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.2.0-1
- Update to new release

* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Tue Oct 27 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.1.1-1
- Update to new release

* Mon Sep 14 2020 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.1.0-1
- Update to new release

* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Thu Oct 17 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.0.1-1
- Update to release 0.4.0.1

* Thu Oct 17 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.0.0-2
- Update summary and description

* Tue Oct 08 2019 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.4.0.0-1
- Update to 0.4.0.0
- Ready for paste.centos.org (stikked)

* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Tue Jul 24 2018 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.9.2-1
- Update to 0.3.9.2

* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.9.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Sun Sep 10 2017 Vasiliy N. Glazov <vascom2@gmail.com> - 0.3.9.1-2
- Cleanup spec

* Fri Sep 08 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.9.1-1
- Update to latest release
- fixes rhbz 1489605

* Tue Aug 22 2017 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.9.0-1
- New release for modernpaste

* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.8.3-2
- Rebuild for Python 3.6

* Mon Jun 13 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.8.3-1
- Update to latest release
- add rawurl option
- migrate to pagure

* Wed Jun 08 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.8.2-2
- Fix build

* Wed Jun 08 2016 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.8.2-1
- Update to latest upstream release
- Now uses HTTPS

* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Tue Sep 29 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.8.1-1
- Updated to new release - minor bugfix

* Thu Sep 24 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.8.0-2
- Add python3 as requires

* Wed Jul 15 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.8.0-1
- Update to latest upstream release - python 3 is here!

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Fri May 22 2015 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.4-1
- Update to latest upstream release
- yum -> dnf
- DRM now uses journalctl
- Xorg.0.log for gdm is in .local/share/xorg
- added lxqt and cinnamon to sessions list

* Mon Jul 14 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.3.3-1
- Update to latest upstream release
- egrep -> grep -E
- rhbz 1118711

* Tue Jun 24 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.3.1-1
- Update to latest upstream release

* Tue Jun 10 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.3-1
- Update to latest upstream release

* Fri Jun 06 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.2.1-1
- Updated to latest release
- Just cosmetic changes

* Tue Apr 15 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.2-1
- Update to latest upstream release
- Get rid of all patches. They've been merged upstream.

* Fri Apr 04 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-12
- Update man page

* Thu Jan 23 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-11
- Another patch to handle server errors

* Thu Jan 23 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-10
- new patches
- correct syntax options
- correct expiry options
- remove description option
- better kde/plasma detection
- Correct return code of paste method
- Enable nick and password options

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Wed Apr 17 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-8
- Correct url patch
- Update summary

* Wed Apr 17 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-7
- Multiple patchs
- URL shortner
- Private option
- Default private on
- Option to use another pastebin
- Rectified summary

* Fri Mar 01 2013 Athmane Madjoudj <athmane@fedoraproject.org> 0.3.7.1-6
- Add a patch to make private url default and use expire option.

* Fri Feb 01 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-5
- Update patch to point to fedora fpaste production environment

* Fri Oct 19 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.3.7.1-4
- Patch: remove smolt data
- Patch: point to fedora staging sticky notes server
- THIS UPDATE DOES NOT GO TO STABLE. TESTING ONLY.
- Will go to stable when the fedora sticky notes moves to production

* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Fri Jan 06 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.7.1-2
- spec bump for gcc 4.7 rebuild

* Sun Oct 16 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.7.1-1
- update to new upstream release
- drop dependency on xsel (#743311)

* Wed Aug 24 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.7-1
- Update to latest upstream release

* Thu Apr 14 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.6-1
- Update to new upstream release
- Pastes which exceed the server's size limit now error more gracefully
- stdin and clipboard descriptions now default to showing a small text summary of the form "beginning ... middle ... end".
- sysinfo improvements

* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Mon Oct 18 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.5-1
- New maintenance release
- --sysinfo: detect running and installed Desktop Environment(s)
- --sysinfo: Show filesystem type in df -hT output
- --sysinfo: Smolt fixed, GL and other additions. by Francois Cami
- --sysinfo: Optimized: rpm -qa --list --nodigest --nosignature. by Dave Riches

* Mon Aug 24 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.4-1
- New release
- Validate paste size and content as non-binary before sending; user is prompted Y/N to override for huge pastes or binary content.
- Added options --printonly and --confirm to show or ask user before sending
- --sysinfo updated: Added blkid, top CPU hogs, top memory hogs, X errors,h/w virtualization, 64-bit capable, and last few reboot/runlevel changes
- Workaround to read user input from raw_input following sys.stdin EOF
- Guess language syntax from common file extension(s)
- --help usage compacted and grouped
- Check that 'xsel' is installed for clipboard input support; silent fail on output
- Use 'fpaste/x.x.x' User-agent header
- bug fixes

* Fri Aug 21 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.3-2
- Added xsel in requires

* Fri Aug 21 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.3-1
- new package release
- Proper urllib2 error handling
- Catches Ctrl-C while waiting for stdin to show a usage reminder rather than a traceback
- Typos fixed, and more TODO
- Added --sysinfo option to gather and pastebin basic system information
- Added options to read text from (xsel) clipboard and write resultant URL to clipboard

* Thu Aug 13 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.2-2
- Corrected source0 field

* Thu Aug 13 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.2-1
- New tar
- Man page included in tar

* Wed Aug 12 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.1-2
- Review request begins : #516698
- Removed buildroot declaration and removal from install section in accordance with new guidelines
- Aligned description properly

* Tue Aug 11 2009 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.3.1-1
- Initial rpm build
Loading…
Cancel
Save