-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmycpplib.spec.in
More file actions
43 lines (35 loc) · 833 Bytes
/
mycpplib.spec.in
File metadata and controls
43 lines (35 loc) · 833 Bytes
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
%{?_with_noconfigure:%define exec_configure 0}
%{!?_with_noconfigure:%define exec_configure 1}
Summary: @PACKAGE_DESCRIPTION_SHORT@
Name: @PACKAGE_NAME@
Provides: @PACKAGE_NAME@
Version: @PACKAGE_VERSION_API@
Release: @PACKAGE_VERSION_MINOR_FIX@
License: GPL
Group: Server
Source0: %{name}-%{version}.tar.bz2
URL: @PACKAGE_URL@
Vendor: @PACKAGE_AUTHOR@ <@PACKAGE_AUTHOR_EMAIL@>
Packager: @PACKAGE_AUTHOR@ <@PACKAGE_AUTHOR_EMAIL@>
#BuildArch: i386
BuildRoot: %{_builddir}/%{name}-root
Requires: @PACKAGE_REQUIRED_RUNTIME@
BuildRequires: @PACKAGE_REQUIRED_BUILD@
%description
@PACKAGE_DESCRIPTION_LONG@
%prep
%setup -D -T -n %{name}-root
%build
%if %{exec_configure}
./configure --prefix=/usr
%endif
make
%install
make DESTDIR=%{buildroot} install
#%clean
#rm -rf %{buildroot}
%files
/
%defattr(-,root,root,-)
%doc
%changelog