SHA256
1
0
forked from pool/ack

Accepting request 52752 from home:pbleser:Utilities

reviewed OK

OBS-URL: https://build.opensuse.org/request/show/52752
OBS-URL: https://build.opensuse.org/package/show/utilities/ack?expand=0&rev=1
This commit is contained in:
Pascal Bleser 2010-11-10 19:46:57 +00:00 committed by Git OBS Bridge
commit 8ac4c33afe
5 changed files with 148 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
ack-1.92.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8689156cb0639ff60adee47fc4b77e656cf0fc58e6c123ee6c481d9d48e99b88
size 103454

36
ack.changes Normal file
View File

@ -0,0 +1,36 @@
-------------------------------------------------------------------
Sun Feb 14 22:09:12 UTC 2010 - pascal.bleser@opensuse.org
- removed bash completion file, way too slow
-------------------------------------------------------------------
Sun Feb 14 21:53:01 UTC 2010 - pascal.bleser@opensuse.org
- update to 1.92
- split out perl-App-Ack into its own subpackage
-------------------------------------------------------------------
Mon Jul 13 00:00:00 UTC 2009 - pascal.bleser@opensuse.org
- update to 1.88:
* ack has a new plugin system, so you can build plugins to search
whatever filetype you want
* added support for .hrl Erlang header files
* added support for --rake files, which are also --ruby files
* fixed a bug where files ending in "Makefile" were mistakenly
identified as Makefiles
* created a new etc/ directory and its first addition, a bash
auto-completion file
-------------------------------------------------------------------
Wed Jul 16 00:00:00 UTC 2008 - guru@unixtech.be
- new upstream version
-------------------------------------------------------------------
Tue Mar 25 00:00:00 UTC 2008 - guru@unixtech.be
- new package

85
ack.spec Normal file
View File

@ -0,0 +1,85 @@
# norootforbuild
Name: ack
Version: 1.92
Release: 0
Summary: Grep-Like Text Finder
Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/ack-%{version}.tar.gz
URL: http://petdance.com/ack/
Group: Productivity/Text/Utilities
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl
BuildRequires: make perl perl-File-Next
%if 0%{?suse_version} > 0 && 0%{?suse_version} >= 1020
BuildRequires: perl-Test-Pod
%endif
BuildArch: noarch
Requires: perl-App-Ack = %{version}-%{release}
Requires: perl-base = %{perl_version}
%description
ack is a grep-like tool tailored to working with large trees of source code.
Authors:
--------
Andy Lester <andy@petdance.com>
%package -n perl-App-Ack
Summary: Grep-Like Text Finder Perl Module
Group: Development/Libraries/Perl
Requires: perl-base = %{perl_version}
%description -n perl-App-Ack
App::Ack is a grep-like tool tailored to working with large trees of source
code.
%prep
%setup -q -n "ack-%{version}"
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make
%install
%perl_make_install
%perl_process_packlist
#%__install -D -m0644 etc/ack.bash_completion.sh \
# "%{buildroot}/%{_sysconfdir}/bash_completion.d/%{name}.sh"
%__install -d rpmdoc_ack
for f in Changes README TODO; do
%__ln_s ../ack/"$f" rpmdoc_ack/"$f"
done
%check
%__make test
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc rpmdoc_ack/*
#config(noreplace) %{_sysconfdir}/bash_completion.d/%{name}.sh
%{_bindir}/ack
%doc %{_mandir}/man1/ack.1%{ext_man}
%files -n perl-App-Ack
%defattr(-,root,root)
%doc Changes README TODO
%dir %{perl_vendorlib}/App
%{perl_vendorlib}/App/Ack.pm
%{perl_vendorlib}/App/Ack
%{perl_vendorarch}/auto/ack
/var/adm/perl-modules/%{name}
%changelog
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: