forked from patternfly/patternfly-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
patternfly.spec.in
41 lines (32 loc) · 1.01 KB
/
patternfly.spec.in
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
%global make_common_opts \\\
PACKAGE_NAME=%{name} \\\
RPM_VERSION=%{version} \\\
RPM_RELEASE=%{release} \\\
DISPLAY_VERSION=%{version}-%{release} \\\
PREFIX=%{_prefix} \\\
DATAROOT_DIR=%{_datadir} \\\
PKG_DATA_DIR=%{_datadir}/%{name} \\\
%{nil}
Name: patternfly2
Summary: PatternFly open interface project and its dependencies
Version: @PACKAGE_RPM_VERSION@
Release: @PACKAGE_RPM_RELEASE@%{?release_suffix}%{?dist}
License: ASL 2.0
URL: https://github.com/patternfly/patternfly
Source: @PACKAGE_NAME@-@[email protected]
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
%description
PatternFly open interface project, with dependencies bundled
%prep
%setup -q -n patternfly-@PACKAGE_VERSION@
%build
make %{?_smp_mflags} %{make_common_opts}
%install
rm -rf "%{buildroot}"
make %{?_smp_mflags} %{make_common_opts} install DESTDIR="%{buildroot}"
%files
%{_datadir}/%{name}/
%changelog
* Fri Jun 20 2014 Greg Sheremeta <[email protected]> - 1.0.3-1
- Initial version.