blob: 263f4bef664dde0fd6a0dd726ebc919b04e6f887 (
plain)
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
|
# This spec file is only for building supporting common files from the
# docs-common module. It is not for use with other docs modules at
# this time.
Summary: Fedora Documentation common files
Name: fedora-doc-common
# To be defined in Makefile
Version: %version
Release: %release
License: FDL
Url: http://fedora.redhat.com/projects/docs/
Source0: fedora-doc-common-%release.src.tar.gz
Group: Documentation
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This package contains the common entities and XML fragments for
official Fedora Documentation.
%prep
%setup -q -n %{name}-%{release}
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/common/
install -m 644 $RPM_BUILD_DIR/%{name}-%{release}/common/*.{xml,ent} \
$RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/common/
install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/css/
install -m 644 $RPM_BUILD_DIR/%{name}-%{release}/css/* \
$RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/css/
install -d -m 755 $RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/stylesheet-images/
install -m 644 $RPM_BUILD_DIR/%{name}-%{release}/stylesheet-images/* \
$RPM_BUILD_ROOT/%{_datadir}/fedora/doc/docs-common/stylesheet-images/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root,-)
%docdir %{_datadir}/fedora/doc/docs-common/common/
%{_datadir}/fedora/doc/docs-common/common/*
%{_datadir}/fedora/doc/docs-common/css/*
%{_datadir}/fedora/doc/docs-common/stylesheet-images/*
%changelog
|