]> git.pld-linux.org Git - packages/crunch-wordlist.git/commitdiff
new, version 3.6
authorElan Ruusamäe <glen@delfi.ee>
Sat, 12 Jul 2014 09:08:35 +0000 (12:08 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 12 Jul 2014 09:08:35 +0000 (12:08 +0300)
based on crunch.src.rpm from obs
ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home%3A/breed808/Fedora_19/src/crunch-3.4-2.1.src.rpm

using project name instead of tarball name to leave crunch for
crunch.apache.org use

crunch-wordlist.spec [new file with mode: 0644]

diff --git a/crunch-wordlist.spec b/crunch-wordlist.spec
new file mode 100644 (file)
index 0000000..47bc5a4
--- /dev/null
@@ -0,0 +1,39 @@
+Summary:       Wordlist generator
+Name:          crunch-wordlist
+Version:       3.6
+Release:       0.1
+License:       GPL v2
+Group:         Applications/Text
+Source0:       http://downloads.sourceforge.net/crunch-wordlist/crunch-%{version}.tgz
+# Source0-md5: 1cbab783805d1bd382bd2edf33298108
+URL:           http://downloads.sourceforge.net/crunch-wordlist/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A command line program for generating intelligent wordlists.
+
+%prep
+%setup -q -n crunch-%{version}
+
+%build
+%{__make} \
+       CC="%{__cc}" \
+       CPPFLAGS="%{rpmcppflags}" \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p crunch $RPM_BUILD_ROOT%{_bindir}/crunch
+cp -p unicode_test.lst $RPM_BUILD_ROOT%{_bindir}/unicode_test.lst
+cp -p charset.lst $RPM_BUILD_ROOT%{_bindir}/charset.lst
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/crunch
+# FIXME: not the best place
+%attr(755,root,root) %{_bindir}/*.lst
This page took 0.075117 seconds and 4 git commands to generate.