-
Notifications
You must be signed in to change notification settings - Fork 0
/
SFEboost-static.spec
85 lines (70 loc) · 3.11 KB
/
SFEboost-static.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# ===========================================================================
# Spec File
# ===========================================================================
%include Solaris.inc
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Software specific variable definitions
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%define src_name boost
%define src_version 1_34_1
%define deploy_version 1.34.1
%define pkg_release 1
# ===========================================================================
# SVR4 required definitions
# ===========================================================================
SUNW_Pkg: SFE%{src_name}-%{base_arch}
SUNW_ProdVers: %{deploy_version}
SUNW_BaseDir: %{_basedir}
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Tag definitions
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Name: %{src_name}
Summary: Boost library for static compilation (source only)
Version: %{src_version}
Release: %{pkg_release}
License: Boost Software License
Group: Developement
Source: %{sf_download}/boost/%{src_name}_%{version}.tar.bz2
#Patch: yourpatch-name
Vendor: http://www.boost.org
URL: http://www.boost.org
Packager: Shivakumar GN
BuildRoot: %{_tmppath}/%{src_name}-%{version}-build
#Requires:
#BuildRequires:
%description
Boost library for static compilation (source only)
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Prep-Section
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%prep
%setup -q -n %{src_name}_%{version}
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Build-Section
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%build
echo "boost library does not need a build..."
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Install-Section
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%install
#Using install command is technically more appropriate
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/
cp -r . $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/
rm -f $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/.pkgbuild.build.sh
rm -f $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/.pkgbuild.install.sh
%clean
rm -rf $RPM_BUILD_ROOT
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# File permissions, ownership information. Note the difference between
# bin(_bindir),share(_datadir) & share/applications
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%files
%defattr(-,root,bin)
%dir %attr (0755, root, bin) %{_prefix}/%{src_name}-%{deploy_version}
%{_prefix}/%{src_name}-%{deploy_version}/*
#%dir %attr (0755, root, other) %{_datadir}/applications
#%{_datadir}/applications/*
%changelog
* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
- Initial spec.