Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
horde3-mnemo
horde3-mnemo.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File horde3-mnemo.spec of Package horde3-mnemo
# # spec file for package horde3-mnemo # # 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 _mnemodir %{_hordedir}/mnemo Name: horde3-mnemo Version: 2.2.4 Release: 2 Summary: The Horde notes and memos application License: Horde Apache-like License Group: Productivity/Networking/Other Url: http://www.horde.org/mnemo Source0: mnemo-h3-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: horde3 >= 3.3.0 BuildRequires: apache2-devel horde3 %if 0%{?sles_version} != 10 BuildRequires: fdupes %endif %description Mnemo is the Horde notes and memos application. It lets users keep free-text notes and other bits of information which doesn't fit as a contact, a todo item, an event, etc. It is very similar in functionality to the Palm Memo application. %prep %setup -qn mnemo-h3-%{version} %build %if %suse_version >= 1010 sed -i 's|/usr/bin/php|%{_bindir}/php5|g' scripts/import_vnotes.php sed -i 's|/usr/bin/php|%{_bindir}/php5|g' scripts/import_text_note.php sed -i 's|/usr/bin/php|%{_bindir}/php5|g' scripts/upgrades/convert_datatree_shares_to_sql.php %endif pushd config/ for i in *.dist; do %__mv $i ${i%.dist}; done popd %install %__mkdir_p %{buildroot}%{_mnemodir} %__cp -r ./* %{buildroot}%{_mnemodir} %__rm -rf %{buildroot}%{_mnemodir}/{docs,README,LICENSE} %if 0%{?sles_version} != 10 %fdupes %buildroot%{_mnemodir} %endif %find_lang mnemo %clean %__rm -rf %{buildroot} %files -f mnemo.lang %defattr(-, root, root) %doc docs README LICENSE %dir %{_mnemodir} %{_mnemodir}/*.php %{_mnemodir}/js %{_mnemodir}/lib %dir %{_mnemodir}/locale %{_mnemodir}/locale/en_US %{_mnemodir}/po %{_mnemodir}/note %{_mnemodir}/notes %{_mnemodir}/notepads %{_mnemodir}/scripts %{_mnemodir}/templates %{_mnemodir}/themes %attr(0750, wwwrun, www) %dir %{_mnemodir}/config %attr(0640, wwwrun, www) %config(noreplace) %{_mnemodir}/config/* %attr(0640, wwwrun, www) %config(noreplace) %{_mnemodir}/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