-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathresource_pool.spec
55 lines (43 loc) · 1.24 KB
/
resource_pool.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
49
50
51
52
53
54
55
%define _builddir .
%define _sourcedir .
%define _specdir .
%define _rpmdir .
Name: resource_pool
Version: %{yandex_mail_version}
Release: %{yandex_mail_release}
Summary: Resource pool
License: Yandex License
Group: System Environment/Libraries
Packager: Roman Siromakha <[email protected]>
Distribution: Red Hat Enterprise Linux
Requires: boost >= 1.53.0
BuildRequires: boost-devel >= 1.53.0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Resource pool
%package devel
Summary: Development environment for %{name}
Group: System Environment/Libraries
%description devel
Resource pool
%build
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
%{__mkdir_p} %{buildroot}%{_initrddir}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root)
%dir %{_includedir}/yamail
%{_includedir}/yamail/*.hpp
%{_includedir}/yamail/resource_pool/*.hpp
%{_includedir}/yamail/resource_pool/sync/*.hpp
%{_includedir}/yamail/resource_pool/sync/detail/*.hpp
%{_includedir}/yamail/resource_pool/async/*.hpp
%{_includedir}/yamail/resource_pool/async/detail/*.hpp
%{_includedir}/yamail/resource_pool/detail/*.hpp
%changelog