diff options
author | Paul W. Frields <stickster@gmail.com> | 2005-10-12 00:09:37 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2005-10-12 00:09:37 +0000 |
commit | 00c1102821bbc03fcf2cc3a7cb09dae8bc4e5e0b (patch) | |
tree | e7189e8e887260c800f5eb58dec70d198dc7f810 /packaging/fedora-doc-common.spec | |
parent | b6266d3f82d6af1c9980bfa7b3769ebf203c598e (diff) | |
download | fedora-doc-utils-00c1102821bbc03fcf2cc3a7cb09dae8bc4e5e0b.tar.gz fedora-doc-utils-00c1102821bbc03fcf2cc3a7cb09dae8bc4e5e0b.tar.xz fedora-doc-utils-00c1102821bbc03fcf2cc3a7cb09dae8bc4e5e0b.zip |
Add packaging necessities for fedora-doc-common
Diffstat (limited to 'packaging/fedora-doc-common.spec')
-rw-r--r-- | packaging/fedora-doc-common.spec | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/packaging/fedora-doc-common.spec b/packaging/fedora-doc-common.spec new file mode 100644 index 0000000..263f4be --- /dev/null +++ b/packaging/fedora-doc-common.spec @@ -0,0 +1,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 |