From b0c3f6141e83b01bf900d3fb28827fcb2c3f078908078ee5b1389493c84831f2 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 27 Oct 2006 00:50:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:php:applications/roundcubemail?expand=0&rev=2 --- roundcubemail.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 roundcubemail.spec diff --git a/roundcubemail.spec b/roundcubemail.spec new file mode 100644 index 0000000..cef61f4 --- /dev/null +++ b/roundcubemail.spec @@ -0,0 +1,57 @@ +Name: roundcubemail +BuildRequires: apache2-devel libapr-util1-devel pcre-devel +Version: 0.1beta2 +Release: 0 +Requires: mod_php_any +Requires: php-gettext +Requires: php-iconv +Requires: php-mbstring +Requires: php-openssl +Requires: php-session +Autoreqprov: on +Group: Productivity/Networking/Email/Clients +License: GNU General Public License (GPL) +URL: http://www.roundcube.net/ +Summary: a web-mailer written in php4 +Packager: Peter Nixon +Vendor: Suntel Communications +Distribution: SUSE Linux +%define sqm_path /srv/www/htdocs/roundcube +%define b_sqm_path $RPM_BUILD_ROOT/%{sqm_path} +%define sqm_doc /%{_defaultdocdir}/roundcube +%define b_sqm_doc $RPM_BUILD_ROOT/%{sqm_doc} +Source0: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArchitectures: noarch + +%description +RoundCube Webmail is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking. RoundCube Webmail is written in PHP and requires the MySQL database. The user interface is fully skinnable using XHTML and CSS 2. + +%debug_package +%prep +%setup -q + +%build + +%install +install -d -m 0755 %{b_sqm_path} +cp -a * %{b_sqm_path}/ +cp -a config/db.inc.php.dist %{b_sqm_path}/config/db.inc.php +cp -a config/main.inc.php.dist %{b_sqm_path}/config/main.inc.php + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc %attr(- root root) CHANGELOG INSTALL UPGRADING LICENSE README +%dir %{sqm_path} +%dir %{sqm_path}/config +%config(noreplace) /srv/www/htdocs/roundcube/config/.htaccess +%config(noreplace) /srv/www/htdocs/roundcube/config/db.inc.php +%config(noreplace) /srv/www/htdocs/roundcube/config/main.inc.php +/srv/www/htdocs/roundcube/config/db.inc.php.dist +/srv/www/htdocs/roundcube/config/main.inc.php.dist +%{sqm_path}/[^c]* + +%changelog