docs-common/packaging fedora-doc-common.spec,NONE,1.1
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Wed Oct 12 00:09:43 UTC 2005
Author: pfrields
Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12224/packaging
Added Files:
fedora-doc-common.spec
Log Message:
Add packaging necessities for fedora-doc-common
--- NEW FILE fedora-doc-common.spec ---
# 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
More information about the Fedora-docs-commits
mailing list