Blob Blame History Raw
Name:			beacon
Version:		0.5
Release:		3%{?dist}
Summary:		WYSIWYG editor for docbook xml

Group:			Applications/Editors
License:		GPLv3+
URL:			http://fedoraproject.org/wiki/DocBook_Editor
Source0:		http://rakesh.fedorapeople.org/misc/%{name}-%{version}.tar.gz
Source1:		httpd-beacon.conf
BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:		noarch
Requires:		php, httpd, php-xml, mysql-server, mysql, python-fedora

%description
Beacon is an XSLT based plug-able WYSIWYG editor for DocBook xml. It 
is intended to serve as an easy to use tool which will attract new 
contributors who would otherwise be discouraged by the steep learning
curve involved with DocBook and will also provide a convenient
alternative to those who are old-timers. More information is available
at https://fedoraproject.org/wiki/DocBook_Editor_Documentation and
https://fedoraproject.org/wiki/DocBook_Editor_Feature.
 
%prep
%setup -q


%build
# Empty build

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/beacon
cp -rp beacon php $RPM_BUILD_ROOT/%{_datadir}/beacon/
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/
cp -p  %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc docs/* LICENSE README TODO README_DATABASE README.fedora
%{_datadir}/beacon/*
%attr(0700,apache,apache)

%config(noreplace) %{_sysconfdir}/httpd/conf.d/httpd-beacon.conf
%config(noreplace) %{_datadir}/beacon/php/settings.php


%changelog
* Wed Aug 24 2009 Satya Komaragiri <satyak@fedoraproject.org> 0.5-3
- Improved description.
- Reverted back to requiring httpd.

* Wed Aug 24 2009 Satya Komaragiri <satyak@fedoraproject.org> 0.5-2
- Changed requires to webserver from httpd
- Added beacon/php/settings.php to the config section.
- Removed /var/tmp as we are using mysql now.
- Added more documentation and moved README.fedora inside the tarball.

* Wed Aug 12 2009 Satya Komaragiri <satyak@fedoraproject.org> 0.5-1
- Initial version