|
|
5004ebb |
Name: bti
|
|
Michel Alexandre Salim |
c66d6ab |
Version: 031
|
|
Michel Alexandre Salim |
c66d6ab |
Release: 1%{?dist}
|
|
|
2c79c54 |
Summary: Bash Twitter/Identi.ca Idiocy
|
|
|
5004ebb |
|
|
|
5004ebb |
Group: Applications/Internet
|
|
|
5004ebb |
License: GPLv2
|
|
|
5004ebb |
URL: http://www.kernel.org/pub/linux/kernel/people/gregkh/bti
|
|
|
5004ebb |
Source0: http://www.kernel.org/pub/linux/kernel/people/gregkh/bti/bti-%{version}.tar.bz2
|
|
|
a1a72b2 |
Source1: README.Fedora
|
|
|
5004ebb |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5004ebb |
|
|
|
01a9e83 |
%if 0%{?el5}
|
|
Michel Alexandre Salim |
c66d6ab |
BuildRequires: curl-devel
|
|
|
01a9e83 |
%else
|
|
Michel Alexandre Salim |
c66d6ab |
BuildRequires: libcurl-devel
|
|
|
01a9e83 |
%endif
|
|
|
a1a72b2 |
BuildRequires: liboauth-devel libxml2-devel pcre-devel
|
|
|
5004ebb |
#Requires:
|
|
|
5004ebb |
|
|
|
5004ebb |
%description
|
|
|
2c79c54 |
Allows you to pipe your bash input to twitter or identi.ca in an easy
|
|
|
2c79c54 |
and fast manner to annoy the whole world.
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
%prep
|
|
|
5004ebb |
%setup -q
|
|
|
a1a72b2 |
cp -p %{SOURCE1} .
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
%build
|
|
|
e651ef9 |
%configure
|
|
|
e651ef9 |
make %{?_smp_mflags} LDFLAGS="-L%{_libdir}/readline5"
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
%install
|
|
|
5004ebb |
rm -rf $RPM_BUILD_ROOT
|
|
|
e651ef9 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
5ce553e |
# bash completion
|
|
|
5ce553e |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
|
|
|
5ce553e |
cp -p bti-bashcompletion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/bti
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
%clean
|
|
|
5004ebb |
rm -rf $RPM_BUILD_ROOT
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
%files
|
|
|
5004ebb |
%defattr(-,root,root,-)
|
|
|
a1a72b2 |
%doc bti.example ChangeLog COPYING README README.Fedora RELEASE-NOTES
|
|
|
5ce553e |
# Own the directory so that we do not need to Require:
|
|
|
5ce553e |
# bash-completion just for one file
|
|
|
e651ef9 |
%dir %{_sysconfdir}/bash_completion.d
|
|
|
e651ef9 |
%config(noreplace) %{_sysconfdir}/bash_completion.d/bti
|
|
|
5004ebb |
%{_bindir}/bti
|
|
|
e651ef9 |
%{_bindir}/bti-shrink-urls
|
|
|
5004ebb |
%{_mandir}/man1/*
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
|
|
|
5004ebb |
%changelog
|
|
Michel Alexandre Salim |
c66d6ab |
* Tue Mar 22 2011 Michel Salim <salimma@fedoraproject.org> - 031-1
|
|
Michel Alexandre Salim |
c66d6ab |
- Update to 031
|
|
Michel Alexandre Salim |
c66d6ab |
|
|
|
988f89e |
* Sat Mar 19 2011 Michel Salim <salimma@fedoraproject.org> - 030-3
|
|
|
988f89e |
- Improved comment marker fix, now safer and handle lines containing both
|
|
|
988f89e |
non-marker and marker '#'s
|
|
|
988f89e |
|
|
|
6669555 |
* Fri Mar 18 2011 Michel Salim <salimma@fedoraproject.org> - 030-2
|
|
|
6669555 |
- Improve detection of comment marker in configuration file
|
|
|
6669555 |
|
|
|
f21c1a1 |
* Fri Mar 18 2011 Michel Salim <salimma@fedoraproject.org> - 030-1
|
|
Michel Alexandre Salim |
c66d6ab |
- Update to 030
|
|
|
f21c1a1 |
|
|
|
a0b7be3 |
* Sat Mar 12 2011 Michel Salim <salimma@fedoraproject.org> - 029-1
|
|
Michel Alexandre Salim |
c66d6ab |
- Update to 029
|
|
|
a0b7be3 |
|
|
|
d347c8f |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 028-4
|
|
|
d347c8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
d347c8f |
|
|
|
2fe97b7 |
* Sat Nov 6 2010 Michel Salim <salimma@fedoraproject.org> - 028-3
|
|
|
2fe97b7 |
- Rebuilt for new libxml2 on Rawhide
|
|
|
2fe97b7 |
|
|
Jesse Keating |
c79eb4b |
* Wed Sep 29 2010 jkeating - 028-2
|
|
Jesse Keating |
c79eb4b |
- Rebuilt for gcc bug 634757
|
|
Jesse Keating |
c79eb4b |
|
|
|
a1a72b2 |
* Wed Sep 8 2010 Michel Salim <salimma@fedoraproject.org> - 028-1
|
|
|
a1a72b2 |
- Update to 028
|
|
|
a1a72b2 |
|
|
|
91247fa |
* Thu May 20 2010 Michel Salim <salimma@fedoraproject.org> - 026-1
|
|
|
91247fa |
- Update to 026
|
|
|
91247fa |
|
|
|
57af483 |
* Wed Aug 19 2009 Michel Salim <salimma@fedoraproject.org> - 023-1
|
|
|
57af483 |
- Update to 023
|
|
|
57af483 |
- Build against readline v5, due to licensing incompatibilities with v6
|
|
|
57af483 |
(bug #511301)
|
|
|
57af483 |
|
|
|
8715b09 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 015-2
|
|
|
8715b09 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
8715b09 |
|
|
|
028b3e9 |
* Fri Mar 13 2009 Michel Salim <salimma@fedoraproject.org> - 015-1
|
|
|
028b3e9 |
- Update to 015
|
|
|
028b3e9 |
|
|
|
f1b7e8a |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 014-2
|
|
|
f1b7e8a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
f1b7e8a |
|
|
|
5ce553e |
* Mon Feb 23 2009 Michel Salim <salimma@fedoraproject.org> - 014-1
|
|
|
5ce553e |
- Update to 014
|
|
|
5ce553e |
|
|
|
2c79c54 |
* Mon Dec 29 2008 Michel Salim <salimma@fedoraproject.org> - 007-1
|
|
|
2c79c54 |
- Update to 0.0.7
|
|
|
2c79c54 |
|
|
|
5004ebb |
* Thu Aug 28 2008 Michel Salim <salimma@fedoraproject.org> - 005-1
|
|
|
5004ebb |
- Initial package
|
|
|
5004ebb |
|