Initial modifications

SVN revision: 140
This commit is contained in:
Stefan Ritt 2002-06-18 13:30:57 +00:00
parent 2132277e85
commit 4c59dedeed

View File

@ -1,36 +1,45 @@
Name: elog Name: elog
Summary: elog is a standalone electronic web logbook Summary: elog is a standalone electronic web logbook
Version: 2.0.0 Version: 2.0.1
Release: 1 Release: 1
Copyright: GPL Copyright: GPL
Group: Applications/Networking Group: Applications/Networking
Source: http://midas.psi.ch/elog/download/elog-%{version}.tar.gz Source: http://midas.psi.ch/elog/download/elog-%{version}.tar.gz
Vendor: Stefan Ritt <stefan.ritt@psi.ch> Vendor: Stefan Ritt <stefan.ritt@psi.ch>
URL: http://midas.psi.ch/elog URL: http://midas.psi.ch/elog
BuildRoot: /tmp/%{name}-root BuildRoot: /tmp/%{name}-root
Prefix: /usr/local Prefix: /usr/local
%description %description
ELOG is part of a family of applications known as weblogs. Their general purpose is : ELOG is part of a family of applications known as weblogs.
Their general purpose is :
1.to make it easy for people to put information online in a chronological fashion, in the form of short, time-stamped text messages ("entries") with optional HTML markup for 1. To make it easy for people to put information online in a chronological
presentation, and optional file attachments (images, archives, etc.) fashion, in the form of short, time-stamped text messages ("entries")
with optional HTML markup for presentation, and optional file attachments
(images, archives, etc.)
2.to make it easy for other people to access this information through a Web interface, browse entries, search, download files, and optionally add, update, delete or comment on 2. To make it easy for other people to access this information through a
entries. Web interface, browse entries, search, download files, and optionally add,
update, delete or comment on entries.
ELOG is a remarkable implementation of a weblog in at least two respects : ELOG is a remarkable implementation of a weblog in at least two respects :
its simplicity of use : you don't need to be a seasoned server operator and/or an experimented database administrator to run ELOG ; one executable file (under Unix or - Its simplicity of use: you don't need to be a seasoned server operator
Windows), a simple configuration text file, and it works. No Web server or relational database required. It is also easy to translate the interface to the appropriate language for and/or an experimented database administrator to run ELOG ; one executable
your users. file (under Unix or Windows), a simple configuration text file, and it works.
No Web server or relational database required. It is also easy to translate
the interface to the appropriate language for your users.
- Its versatility: through its single configuration file, ELOG can be made
to display an infinity of variants of the weblog concept. There are options
for what to display, how to display it, what commands are available and to whom,
access control, etc. Moreover, a single server can host several weblogs, and
each weblog can be totally different from the rest.
its versatility : through its single configuration file, ELOG can be made to display an infinity of variants of the weblog concept. There are options for what to display, how to
display it, what commands are available and to whom, access control, etc. Moreover, a single server can host several weblogs, and each weblog can be totally different from the
rest.
%changelog %changelog
* Tue Jun 18 2002 Stefan Ritt <stefan.ritt@psi.ch> * Tue Jun 18 2002 Stefan Ritt <stefan.ritt@psi.ch>
- Put elogd.init into TAR file - Put elogd.init into TAR file, add logbooks directory, put elogd in sbin/
* Tue Jun 18 2002 Serge Droz <serge.droz@psi.ch> * Tue Jun 18 2002 Serge Droz <serge.droz@psi.ch>
- Update to 2.0.0 - Update to 2.0.0
* Mon Jun 3 2002 Serge Droz <serge.droz@psi.ch> * Mon Jun 3 2002 Serge Droz <serge.droz@psi.ch>
@ -40,32 +49,39 @@ ELOG is part of a family of applications known as weblogs. Their general purpose
%prep %prep
%setup -n elog-2.0.0 %setup -q
%build %build
make make
perl -p -i -e "s#\@PREFIX\@#%{prefix}#g" elogd.init perl -p -i -e "s#\@PREFIX\@#%{prefix}#g" elogd.init
%install %install
mkdir -p $RPM_BUILD_ROOT%{prefix}/elog mkdir -p $RPM_BUILD_ROOT%{prefix}/elog
mkdir -p $RPM_BUILD_ROOT%{prefix}/sbin
mkdir -p $RPM_BUILD_ROOT%{prefix}/bin mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m 0755 elogd $RPM_BUILD_ROOT%{prefix}/bin install -m 0755 elogd $RPM_BUILD_ROOT%{prefix}/sbin
install -m 0755 elog $RPM_BUILD_ROOT%{prefix}/bin install -m 0755 elog $RPM_BUILD_ROOT%{prefix}/bin
install -m 0755 elconv $RPM_BUILD_ROOT%{prefix}/bin install -m 0755 elconv $RPM_BUILD_ROOT%{prefix}/bin
install -m 0644 eloghelp* $RPM_BUILD_ROOT%{prefix}/elog install -m 0644 eloghelp* $RPM_BUILD_ROOT%{prefix}/elog
install -m 0644 eloglang* $RPM_BUILD_ROOT%{prefix}/elog install -m 0644 eloglang* $RPM_BUILD_ROOT%{prefix}/elog
cp -r themes $RPM_BUILD_ROOT%{prefix}/elog cp -r themes $RPM_BUILD_ROOT%{prefix}/elog
cp -r logbooks $RPM_BUILD_ROOT%{prefix}/elog
install -m 0644 elogd.cfg $RPM_BUILD_ROOT%{prefix}/elog install -m 0644 elogd.cfg $RPM_BUILD_ROOT%{prefix}/elog
install -m 0755 elogd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/elogd install -m 0755 elogd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/elogd
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README.txt COPYING doc %doc README.txt COPYING doc
%prefix/bin/* %prefix/bin/*
%prefix/sbin/elogd
%prefix/elog/eloghelp* %prefix/elog/eloghelp*
%prefix/elog/eloglang* %prefix/elog/eloglang*
%prefix/elog/themes %prefix/elog/themes
%prefix/elog/logbooks
%config(noreplace) %prefix/elog/elogd.cfg %config(noreplace) %prefix/elog/elogd.cfg
/etc/rc.d/init.d/elogd /etc/rc.d/init.d/elogd