Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
horde3-nag
horde3-nag.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File horde3-nag.spec of Package horde3-nag
# # spec file for package horde3-nag # # Copyright (c) 2011 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/ # # norootforbuild %define _hordedir %(%{_sbindir}/apxs2 -q datadir)/htdocs/horde %define _nagdir %{_hordedir}/nag %define _pversion 2.3.7 Name: horde3-nag Version: 2.3.7 Release: 1 Summary: Nag is the Horde task list application License: GPLv2 Group: Productivity/Networking/Other Url: http://www.horde.org/nag Source0: ftp://ftp.horde.org/pub/nag/nag-h3-%{version}.tar.gz Source1: http://www.gnu.org/licenses/gpl-2.0.txt BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: nag = %{version} Obsoletes: nag < %{version} Requires: horde3 >= 3.3.0 Requires: php5-pear-DB BuildRequires: apache2-devel horde3 %description Nag is the Horde task list application. It stores todo items, things due later this week, etc. It is very similar in functionality to the Palm ToDo application. %prep %setup -qn nag-h3-%{_pversion} %build if test -e /usr/bin/php5; then pushd scripts/ sed -i 's|/usr/bin/php|%{_bindir}/php5|g' {upgrades/create_missing_add_histories_sql.php,upgrades/2004-09-13_add_uid_field.php,upgrades/2006-04-18_add_creator_and_assignee_fields.php,import_vtodos.php} popd fi pushd config/ for i in *.dist; do %__mv $i ${i%.dist}; done popd %install %__mkdir_p %{buildroot}%{_nagdir} %__cp -r ./* %{buildroot}%{_nagdir} %__rm -rf %{buildroot}%{_nagdir}/{docs,README,COPYING} %__cp %{SOURCE1} %{buildroot}/%{_nagdir}/COPYING %find_lang nag %clean %__rm -rf %{buildroot} %files -f nag.lang %defattr(-, root, root) %doc docs README %{_nagdir}/COPYING %dir %{_nagdir} %{_nagdir}/*.php %{_nagdir}/js %{_nagdir}/lib %dir %{_nagdir}/locale %dir %{_nagdir}/locale/*/LC_MESSAGES %dir %{_nagdir}/locale/*/ %{_nagdir}/locale/*/help.xml %{_nagdir}/po %{_nagdir}/scripts %{_nagdir}/templates %{_nagdir}/tasks %{_nagdir}/tasklists %{_nagdir}/themes %attr(0750, wwwrun, www) %dir %{_nagdir}/config %attr(0640, wwwrun, www) %config(noreplace) %{_nagdir}/config/* %attr(0640, wwwrun, www) %config(noreplace) %{_nagdir}/config/.htaccess %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