Author: jaredmorgs
Date: 2012-07-18 23:50:07 -0400 (Wed, 18 Jul 2012)
New Revision: 8791
Removed:
epp/docs/branches/5.2/API_Documentation/Makefile
epp/docs/branches/5.2/API_Documentation/spec.in
Modified:
epp/docs/branches/5.2/API_Documentation/en-US/API_Documentation.xml
epp/docs/branches/5.2/API_Documentation/en-US/Article_Info.xml
epp/docs/branches/5.2/API_Documentation/en-US/Revision_History.xml
epp/docs/branches/5.2/API_Documentation/publican.cfg
Log:
Latest version staged, and added to BZ#832856 for GSS to take a look at.
Deleted: epp/docs/branches/5.2/API_Documentation/Makefile
===================================================================
--- epp/docs/branches/5.2/API_Documentation/Makefile 2012-07-19 01:34:58 UTC (rev 8790)
+++ epp/docs/branches/5.2/API_Documentation/Makefile 2012-07-19 03:50:07 UTC (rev 8791)
@@ -1,52 +0,0 @@
-### START CHANGES ###
-PRODUCT = JBoss_Enterprise_Portal_Platform
-PROD_VERSION = 5.2
-LANG = en-US
-BOOKS = API_Documentation
-VERSION = 5.2.2
-RELEASE = 10
-
-#### END CHANGES ###
-
-NAME = $(PRODUCT)-$(PROD_VERSION)-web-$(LANG)
-TAR_NAME = $(NAME)-$(VERSION)
-DIST = .el6eng
-
-PWD = $(shell pwd)
-RPMDIR = $(PWD)/tmp/rpm
-
-#### TARGETS ###
-tar::
- @echo "Start $@"
- @tar --exclude '.svn' -czf $(TAR_NAME).tgz $(BOOKS)
- @echo "End $@"
-
-spec::
- @echo "Start $@"
- @mkdir -p $(RPMDIR)
- @cd $(RPMDIR) && mkdir -p SPECS SRPMS BUILD SOURCES RPMS/noarch
- @cp spec.in $(RPMDIR)/SPECS/$(NAME).spec
- @sed -i -e 's/@PRODUCT@/$(PRODUCT)/' $(RPMDIR)/SPECS/$(NAME).spec
- @sed -i -e 's/@PROD_VERSION@/$(PROD_VERSION)/' $(RPMDIR)/SPECS/$(NAME).spec
- @sed -i -e 's/@VERSION@/$(VERSION)/' $(RPMDIR)/SPECS/$(NAME).spec
- @sed -i -e 's/@RELEASE@/$(RELEASE)/' $(RPMDIR)/SPECS/$(NAME).spec
- @sed -i -e 's/@LANG@/$(LANG)/' $(RPMDIR)/SPECS/$(NAME).spec
- @sed -i -e 's/@BOOKS@/$(BOOKS)/' $(RPMDIR)/SPECS/$(NAME).spec
- @echo "End $@"
-
-srpm:: clean tar spec
- @echo "Start $@"
- @cp $(TAR_NAME).tgz $(RPMDIR)/SOURCES/.
- @rpmbuild --define "dist $(DIST)" --define "_topdir $(RPMDIR)" -bs
$(RPMDIR)/SPECS/$(NAME).spec
- @echo "End $@"
-
-rpm:: srpm
- @echo "Start $@"
- @rpmbuild --define "dist $(DIST)" --define "_topdir $(RPMDIR)" -bb
$(RPMDIR)/SPECS/$(NAME).spec
- @echo "End $@"
-
-clean::
- @echo "Start $@"
- @rm -rf tmp $(TAR_NAME).tgz
- @echo "End $@"
-
Modified: epp/docs/branches/5.2/API_Documentation/en-US/API_Documentation.xml
===================================================================
(Binary files differ)
Modified: epp/docs/branches/5.2/API_Documentation/en-US/Article_Info.xml
===================================================================
(Binary files differ)
Modified: epp/docs/branches/5.2/API_Documentation/en-US/Revision_History.xml
===================================================================
(Binary files differ)
Modified: epp/docs/branches/5.2/API_Documentation/publican.cfg
===================================================================
--- epp/docs/branches/5.2/API_Documentation/publican.cfg 2012-07-19 01:34:58 UTC (rev
8790)
+++ epp/docs/branches/5.2/API_Documentation/publican.cfg 2012-07-19 03:50:07 UTC (rev
8791)
@@ -2,5 +2,6 @@
type: Article
brand: JBoss
git_branch: docs-rhel-6
-web_formats: "html"
+web_formats: "html,html-single"
+chunk_section_depth: 0
Deleted: epp/docs/branches/5.2/API_Documentation/spec.in
===================================================================
--- epp/docs/branches/5.2/API_Documentation/spec.in 2012-07-19 01:34:58 UTC (rev 8790)
+++ epp/docs/branches/5.2/API_Documentation/spec.in 2012-07-19 03:50:07 UTC (rev 8791)
@@ -1,55 +0,0 @@
-#Documentation Specfile
-%define doc_product @PRODUCT@
-%define doc_version @PROD_VERSION@
-%define doc_lang @LANG@
-%define doc_books @BOOKS@
-
-Name: %{doc_product}-%{doc_version}-web-%{doc_lang}
-Version: @VERSION@
-Release: @RELEASE@%{?dist}
-Summary: API docs for %{doc_product} %{doc_version}
-Group: Documentation
-License: GFDL
-URL:
http://docs.redhat.com
-BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: %{name}-%{version}.tgz
-
-
-Requires: publican >= 2.5
-Prefix: /var/www/html/docs
-
-%description
-This package is a wrapper script for all the %{doc_product} %{doc_version}
-documentation not ported to Publican.
-
-%prep
-%setup -q -c %{doc_product}-%{doc_version}-web-%{doc_lang}
-
-%build
-
-%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT/%{prefix}/%{doc_lang}/%{doc_product}/%{doc_version}/html/
-cp -rf * $RPM_BUILD_ROOT/%{prefix}/%{doc_lang}/%{doc_product}/%{doc_version}/html/.
-
-
-%preun
-if [ "$1" = "0" ] ; then # last uninstall
-%{__perl} -e 'if (eval {require Publican::WebSite}) { my @books = split(/ /,
"%{doc_books}"); my $ws = Publican::WebSite->new(); foreach my $book (@books)
{ $ws->del_entry({ language => "%{doc_lang}", product =>
"%{doc_product}", version => "%{doc_version}", name =>
"$book", format => "html" }); } $ws->regen_all_toc();}';
-fi
-
-%post
-%{__perl} -e 'use Publican::WebSite; my @books = split(/ /,
"%{doc_books}"); my $ws = Publican::WebSite->new(); foreach my $book (@books)
{ $ws->update_or_add_entry( { language => "%{doc_lang}", product =>
"%{doc_product}", version => "%{doc_version}", name =>
"$book", format => "html", abstract => "" }); }
$ws->regen_all_toc();'
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%files
-%defattr(-,root,root,-)
-%{prefix}/en-US
-
-%changelog
-* Wed Jul 18 2012 Jared Morgan jmorgan(a)redhat.com 5.2.2-10
-- Draft content with API Docs embedded.
-