Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:php:applications
horde5-whups
horde5-whups.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File horde5-whups.spec of Package horde5-whups
# # spec file for package horde5-whups # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear) %define xmldir /var/lib/pear %define hordedir /usr/share/php5/PEAR/www/horde Summary: Whups: A Ticket Tracker for Horde 5 License: BSD-2-Clause Group: Productivity/Networking/Web/Utilities Name: horde5-whups Version: 3.0.1 Release: 0 Url: http://pear.horde.org/package/whups Source0: whups-%{version}.tgz #Source0: http://pear.horde.org/get/whups-%{version}.tgz Source1: whups.conf BuildRequires: horde5 >= 5.0.2 BuildRequires: php >= 5.3.0 BuildRequires: php-pear >= 1.9.4 BuildRequires: php5-pear-Horde_Role >= 1.0.1 Requires: horde5 >= 5.0.2 Requires: php >= 5.3.0 Requires: php-pear >= 1.9.4 Requires: php5-pear-Horde_Auth >= 2.0.0 Requires: php5-pear-Horde_Autoloader >= 2.0.0 Requires: php5-pear-Horde_Compress >= 2.0.0 Requires: php5-pear-Horde_Core >= 2.1.0 Requires: php5-pear-Horde_Date >= 2.0.0 Requires: php5-pear-Horde_Db >= 2.0.0 Requires: php5-pear-Horde_Exception >= 2.0.0 Requires: php5-pear-Horde_Form >= 2.0.0 Requires: php5-pear-Horde_Group >= 2.0.0 Requires: php5-pear-Horde_Mail >= 2.0.0 Requires: php5-pear-Horde_Mime >= 2.0.0 Requires: php5-pear-Horde_Mime_Viewer >= 2.0.0 Requires: php5-pear-Horde_Notification >= 2.0.0 Requires: php5-pear-Horde_Perms >= 2.0.0 Requires: php5-pear-Horde_Prefs >= 2.0.0 Requires: php5-pear-Horde_Role >= 1.0.1 Requires: php5-pear-Horde_Scheduler >= 2.0.0 Requires: php5-pear-Horde_Share >= 2.0.0 Requires: php5-pear-Horde_Support >= 2.0.0 Requires: php5-pear-Horde_Text_Filter >= 2.0.0 Requires: php5-pear-Horde_Util >= 2.0.0 Requires: php5-pear-Horde_Vfs >= 2.0.0 Requires: php5-pear-Horde_View >= 2.0.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: php-gettext Requires: php-json BuildRequires: fdupes BuildRequires: php5-pear-channel-horde Requires: php5-pear-channel-horde BuildArch: noarch Conflicts: horde4 Conflicts: horde6 %description Whups is a Horde ticket-tracking application. It is very flexible in design, and can be used for help-desk requests, tracking software development, and anything else that needs to track a set of requests and their status. %prep %setup -c -T %build pear -v -c pearrc \ -d php_dir=%{peardir} \ -d doc_dir=%{_docdir}/%{name} \ -d bin_dir=%{_bindir} \ -d data_dir=%{peardir}/data \ -d test_dir=%{peardir}/tests \ -d ext_dir=%{_libdir} \ -d horde_dir=%{hordedir} \ -s %install pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0} ## configs written by the web configurator should go to etc %{__mkdir_p} %{buildroot}%{_sysconfdir}/horde/ %{__mv} %{buildroot}%{hordedir}/whups/config %{buildroot}%{_sysconfdir}/horde/whups %{__ln_s} /etc/horde/whups %{buildroot}%{hordedir}/whups/config ## we provide an own apache config and delete the htaccess files %{__install} -m 0660 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/horde/apache-snippets.d/whups.conf %{__rm} %{buildroot}%{hordedir}/whups/query/.htaccess %{__rm} %{buildroot}%{hordedir}/whups/lib/.htaccess %{__rm} %{buildroot}%{hordedir}/whups/queue/.htaccess %{__rm} %{buildroot}%{hordedir}/whups/templates/.htaccess %{__rm} %{buildroot}%{hordedir}/whups/locale/.htaccess %{__rm} %{buildroot}%{hordedir}/whups/ticket/.htaccess %{__rm} %{buildroot}%{_sysconfdir}/horde/whups/.htaccess %fdupes %{buildroot}%{hordedir}/whups %find_lang whups # Clean up unnecessary files rm pearrc rm %{buildroot}%{_bindir}/whups-svn-hook-conf.php.dist rm %{buildroot}%{_bindir}/whups-git-hook-conf.php.dist rm %{buildroot}%{peardir}/.filemap rm %{buildroot}%{peardir}/.lock rm -rf %{buildroot}%{peardir}/.registry rm -rf %{buildroot}%{peardir}/.channels rm %{buildroot}%{peardir}/.depdb rm %{buildroot}%{peardir}/.depdblock # Install XML package description mkdir -p %{buildroot}%{xmldir} tar -xzf %{SOURCE0} package.xml cp -p package.xml %{buildroot}%{xmldir}/whups.xml %clean rm -rf %{buildroot} %post pear install --nodeps --soft --force --register-only %{xmldir}/whups.xml %postun if [ "$1" -eq "0" ]; then pear uninstall --nodeps --ignore-errors --register-only pear.horde.org/whups fi %files -f whups.lang %defattr(-,root,root) %doc %{_docdir}/%{name} %{peardir}/* %{xmldir}/whups.xml %{hordedir}/whups %{hordedir}/whups/config %{_bindir}/whups-bugzilla-import %{_bindir}/whups-convert-datatree-shares-to-sql %{_bindir}/whups-convert-sql-shares-to-sqlng %{_bindir}/whups-convert-to-utf8 %{_bindir}/whups-git-hook %{_bindir}/whups-mail-filter %{_bindir}/whups-obliterate %{_bindir}/whups-reminders %{_bindir}/whups-svn-hook %config %{_sysconfdir}/horde/apache-snippets.d/whups.conf %attr(0750,wwwrun,www) %dir %{_sysconfdir}/horde/whups %attr(0640,wwwrun,www) %config(noreplace) %{_sysconfdir}/horde/whups/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor