commit a1bb2e7869ea8399f9ab849d7622b32d6fb4adc6
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Sun Oct 16 15:32:45 2016 +0200

    - initial

 prelude-lml-rules.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/prelude-lml-rules.spec b/prelude-lml-rules.spec
new file mode 100644
index 0000000..fa0828b
--- /dev/null
+++ b/prelude-lml-rules.spec
@@ -0,0 +1,46 @@
+%include       /usr/lib/rpm/macros.perl
+Summary:       Ruleset for Prelude LML pcre plugin
+Summary(pl.UTF-8):     Zestaw reguł dla wtyczki pcre Prelude LML
+Name:          prelude-lml-rules
+Version:       3.1.0
+Release:       1
+License:       GPL v2+
+Group:         Applications/Networking
+#Source0Download: https://www.prelude-siem.org/projects/prelude/files
+Source0:       
https://www.prelude-siem.org/attachments/download/725/%{name}-%{version}.tar.gz
+# Source0-md5: c1c52d819aca17eccf8647c625f9d91d
+URL:           https://www.prelude-siem.org/
+BuildRequires: rpm-perlprov
+BuildRequires: sed >= 4.0
+Requires:      prelude-lml >= %{version}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruleset for Prelude LML pcre plugin (<https://www.prelude-siem.org/>).
+These rules are brought to you by CS and the Prelude Community.
+
+%description -l pl.UTF-8
+Zestaw reguł dla wtyczki pcre systemu Prelude LML
+(<https://www.prelude-siem.org/>). Zostały udostępnione przez CS oraz
+Społeczność Prelude.
+
+%prep
+%setup -q
+
+%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' src/prelude-lml-rules-check
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/prelude-lml,%{_bindir}}
+
+cp -r ruleset $RPM_BUILD_ROOT%{_sysconfdir}/prelude-lml
+cp -p src/prelude-lml-rules-check $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README
+%attr(755,root,root) %{_bindir}/prelude-lml-rules-check
+%{_sysconfdir}/prelude-lml/ruleset
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/prelude-lml-rules.git/commitdiff/a1bb2e7869ea8399f9ab849d7622b32d6fb4adc6

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to