forked from intel/cmrt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcmrt.spec
50 lines (37 loc) · 1020 Bytes
/
cmrt.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
Name: cmrt
Version: 0.1
Release: 1
Summary: C++ Language example delivered by Development Assistant Tool
License: BSD and GPLv3+ and GPLv2+ and GPLv2
Group: Applications
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libtool
Requires: gcc-c++
%description
This is sample spec file created on the base of c++ binary packages
It is a part of Development Assistant Tool
%prep
%setup -q -n %{name}-%{version}
%build
%configure
make %{?_smp_mflags}
%install
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=$RPM_BUILD_ROOT
install -p -m 755 -D basic_class ${RPM_BUILD_ROOT}%{_bindir}/basic_class
install -p -m 755 -D fileOperations_cpp ${RPM_BUILD_ROOT}%{_bindir}/fileOperations_cpp
%post
%postun
%check
make check
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%{_bindir}/fileOperations_cpp
%{_bindir}/basic_class
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* Fri Mar 15 2013 seanvk
- first Version