rpms/mrbs/F-11 mrbs-httpd.conf, NONE, 1.1 mrbs.spec, NONE, 1.1 sources, 1.1, 1.2

Xavier Bachelot xavierb at fedoraproject.org
Sun Apr 11 20:27:55 UTC 2010


Author: xavierb

Update of /cvs/pkgs/rpms/mrbs/F-11
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv15030/F-11

Modified Files:
	sources 
Added Files:
	mrbs-httpd.conf mrbs.spec 
Log Message:
import into F-11 F-12 F-13 EL-5 branches


--- NEW FILE mrbs-httpd.conf ---
Alias /mrbs /usr/share/mrbs/

<Directory /usr/share/mrbs/>
   order deny,allow
   deny from all
   allow from 127.0.0.1
</Directory>


--- NEW FILE mrbs.spec ---
Name:           mrbs
Version:        1.4.3
Release:        1%{?dist}
Summary:        Meeting Room Booking System

Group:          Applications/System
License:        GPLv2
URL:            http://mrbs.sourceforge.net
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1:        mrbs-httpd.conf
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

Requires:       php >= 5.1.0
Requires:       php-imap
Requires:       php-ldap
Requires:       php-mysql
Requires:       php-pgsql
Requires:       php-pear-Crypt-Blowfish
Requires:       php-pear-Mail
Requires:       php-pear-Net-SMTP
Requires:       php-pear-Net-Socket


%description
The Meeting Room Booking System (MRBS) is a PHP-based application for
booking meeting rooms.


%prep
%setup -q
# Fix encoding
for i in INSTALL NEWS AUTHENTICATION ; do {
    iconv -f iso8859-1 -t utf-8 $i > $i.utf8 && \
    touch -r $i $i.utf8 && \
    mv -f $i.utf8 $i; };
done;


# Clean up included pear modules
pushd web
rm -rf Blowfish* Mail* Net PEAR.php
popd

# remove exec perms on the perl scripts
chmod a-x *.pl


%build
## Nothing to build ##


%install
rm -rf $RPM_BUILD_ROOT

# Install the code
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mrbs
cp -a web/* $RPM_BUILD_ROOT/%{_datadir}/mrbs/


# Move the conf to the proper place
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/mrbs
mv $RPM_BUILD_ROOT/%{_datadir}/mrbs/config.inc.php \
    $RPM_BUILD_ROOT/%{_sysconfdir}/mrbs/
ln -s ../../..%{_sysconfdir}/mrbs/config.inc.php \
    $RPM_BUILD_ROOT/%{_datadir}/mrbs/config.inc.php

# Apache conf
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d
install -m 0644 %{SOURCE1} \
    $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/mrbs.conf


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHENTICATION ChangeLog COPYING INSTALL LANGUAGE NEWS README
%doc README.nwauth README.sqlapi UPGRADE
%doc *.sql *.pl *.php crypt_passwd.example smb_auth.c
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mrbs.conf
%config(noreplace) %{_sysconfdir}/mrbs/config.inc.php
%{_datadir}/mrbs


%changelog
* Mon Mar 01 2010 Xavier Bachelot <xavier at bachelot.org> 1.4.3-1
- Update to 1.4.3.

* Thu Jul 16 2009 Xavier Bachelot <xavier at bachelot.org> 1.4.2-1
- Update to 1.4.2.
- Preserve timestamp on encoding conversion.

* Tue Mar 31 2009 Xavier Bachelot <xavier at bachelot.org> 1.4.1-2
- Add more BR:.

* Sun Feb 22 2009 Xavier Bachelot <xavier at bachelot.org> 1.4.1-1
- Update to 1.4.1.
- Change BR: following this BR: rename.

* Fri Jan 23 2009 Xavier Bachelot <xavier at bachelot.org> 1.4-1
- Initial build.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mrbs/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	11 Apr 2010 19:22:02 -0000	1.1
+++ sources	11 Apr 2010 20:27:55 -0000	1.2
@@ -0,0 +1 @@
+80c23f2ee7fe54d0cc2668cdc1217b7a  mrbs-1.4.3.tar.gz



More information about the scm-commits mailing list