forked from microcai/mgate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmgate.spec.in
More file actions
47 lines (37 loc) · 1.04 KB
/
mgate.spec.in
File metadata and controls
47 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%define build_number 1
%define debug_package %{nil}
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Release: 1%{?dist}
Summary: The @PACKAGE_NAME@-version-%{version}
Group: Applications/Internet
License: Kingstone Lisence
URL: http://www.chuangyuan.net
Source0: @PACKAGE_NAME@-%{version}.tar.gz
BuildRequires: libpcap-devel glib2-devel glibc-devel sqlite-devel
Requires: libpcap glibc sqlite glib2
Conflicts: monitor-hotel monitor-cafe
Vendor: Kingstone Soft, Inc.
%description
@PACKAGE_NAME@ is a product of Kingstone Software,Inc.
It monitors the network and upload critical logs to the
public security department.
%prep
%setup -q
%build
unset CFLAGS
%configure --with-sqlite3
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/etc/init.d/mgated
/etc/@[email protected]
%{_prefix}/bin/mgate
%{_libdir}/mgate/modules
%{_docdir}/mgate/README
%{_datadir}/