-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathwz-httpd.spec
49 lines (37 loc) · 959 Bytes
/
wz-httpd.spec
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
48
Summary: WZ http server
Name: wz-httpd
Version: 1.0.0
Release: 0%{?dist}
Group: Networking/Daemons
License: GPL
Source: wz-httpd-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%package devel
Summary: Header files and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description
WZ http server
%description devel
WZ header files.
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop modules for %{name},
you will need to install %{name}-devel.
%prep
%setup -q -n %{name}-%{version}
%build
%cmake .
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
mkdir %{buildroot}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_bindir}/wz-httpd
%{_prefix}/etc/wzconfig.xml.example
%files devel
%{_includedir}/wz_handler.h
%changelog