initial commit of file from CVS for timeobjects on Fri 14 Jul 22:33:51 BST 2023
This commit is contained in:
parent
404672a471
commit
85f9780ba0
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.rpm
|
||||
*.log
|
||||
*spec-20*
|
21
Makefile
Normal file
21
Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Makefile for source rpm: timeobjects
|
||||
# $Id: Makefile,v 1.1 2016/06/16 14:58:54 unnilennium Exp $
|
||||
NAME := timeobjects
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
10
README.md
10
README.md
@ -1,3 +1,11 @@
|
||||
# timeobjects
|
||||
|
||||
3rd Party (Maintained by Koozali) git repo for timeobjects smeserver
|
||||
3rd Party (Maintained by Koozali) git repo for timeobjects smeserver
|
||||
|
||||
## Description
|
||||
|
||||
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||
*Once it has been checked, then this comment will be deleted*
|
||||
<br />
|
||||
|
||||
Timeobjects is a software package that helps organizations manage their time data. It provides features such as time tracking, reporting, personalization, automation, and project scheduling. Timeobjects helps organizations save time and money by streamlining their time management processes. It also helps to ensure compliance with labour laws, provides accurate time tracking information, and helps to improve efficiency and productivity.
|
||||
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
||||
sme10
|
BIN
timeobjects-2.1.2.tgz
(Stored with Git LFS)
Normal file
BIN
timeobjects-2.1.2.tgz
(Stored with Git LFS)
Normal file
Binary file not shown.
135
timeobjects.spec
Normal file
135
timeobjects.spec
Normal file
@ -0,0 +1,135 @@
|
||||
%define peardir /usr/share/pear
|
||||
%define xmldir /var/lib/pear
|
||||
%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
|
||||
%{!?__pear: %global __pear %{_bindir}/pear}
|
||||
%global pear_name timeobjects
|
||||
%global pear_channel pear.horde.org
|
||||
%define name timeobjects
|
||||
%define version 2.1.2
|
||||
%define release 3
|
||||
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
Summary: PEAR: Horde timeobjects application
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Libraries
|
||||
Source0: http://pear.horde.org/get/timeobjects-%{version}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
|
||||
URL: http://pear.horde.org/package/timeobjects
|
||||
BuildRequires: php-pear(PEAR) >= 1.4.7
|
||||
BuildRequires: php-channel(pear.horde.org)
|
||||
Requires: php-horde-Horde-Role >= 1.0.0
|
||||
Requires: php-horde-Horde-Core >= 2.0.0
|
||||
Requires: php-horde-Horde-Core < 3.0.0alpha1
|
||||
Requires: php-horde-Horde-Date >= 2.0.0
|
||||
Requires: php-horde-Horde-Date < 3.0.0alpha1
|
||||
Requires: php-horde-Horde-Exception >= 2.0.0
|
||||
Requires: php-horde-Horde-Exception < 3.0.0alpha1
|
||||
Requires: php-horde-Horde-Url >= 2.0.0
|
||||
Requires: php-horde-Horde-Url < 3.0.0alpha1
|
||||
Requires: php-horde-Horde-Util >= 2.0.0
|
||||
Requires: php-horde-Horde-Util < 3.0.0alpha1
|
||||
Requires: php-pear(PEAR) >= 1.7.0
|
||||
Requires: php-channel(pear.horde.org)
|
||||
BuildArch: noarch
|
||||
BuildRequires: php-horde-Horde-Role
|
||||
BuildRequires: php-channel-horde
|
||||
Requires: php-channel-horde
|
||||
BuildRequires: gettext
|
||||
Provides: %{name} = %{version}
|
||||
|
||||
%description
|
||||
The timeobjects application doesn't have an interface but provides streams
|
||||
of events to any applications that can consume them, notably the Horde
|
||||
calendar application. It contains drivers for facebook events and weather
|
||||
forecasts and can easily be extended by custom drivers.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
cd %{pear_name}-%{version}
|
||||
|
||||
# Don't install .po and .pot files
|
||||
# Remove checksum for .mo, as we regenerate them
|
||||
sed -e '/%{pear_name}.po/d' \
|
||||
-e '/Horde_Other.po/d' \
|
||||
-e '/%{pear_name}.mo/s/md5sum="[^"]*"//' \
|
||||
../package.xml >%{name}.xml
|
||||
touch -r ../package.xml %{name}.xml
|
||||
|
||||
|
||||
%build
|
||||
cd %{pear_name}-%{version}
|
||||
|
||||
# Regenerate the locales
|
||||
for po in $(find locale -name \*.po)
|
||||
do
|
||||
msgfmt $po -o $(dirname $po)/$(basename $po .po).mo
|
||||
done
|
||||
|
||||
|
||||
%install
|
||||
cd %{pear_name}-%{version}
|
||||
%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
|
||||
|
||||
# Clean up unnecessary files
|
||||
rm -rf %{buildroot}%{pear_metadir}/.??*
|
||||
|
||||
# Install XML package description
|
||||
mkdir -p %{buildroot}%{pear_xmldir}
|
||||
install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
|
||||
|
||||
# Locales
|
||||
for loc in locale/{??,??_??}
|
||||
do
|
||||
lang=$(basename $loc)
|
||||
test -d %{buildroot}%{pear_datadir}/%{pear_name}/$loc \
|
||||
&& echo "%%lang(${lang%_*}) %{pear_datadir}/%{pear_name}/$loc"
|
||||
done | tee ../%{pear_name}.lang
|
||||
|
||||
|
||||
|
||||
%post
|
||||
%{__pear} install --nodeps --soft --force --register-only \
|
||||
%{pear_xmldir}/%{name}.xml >/dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
%{__pear} uninstall --nodeps --ignore-errors --register-only \
|
||||
%{pear_channel}/%{pear_name} >/dev/null || :
|
||||
fi
|
||||
|
||||
|
||||
%files -f %{pear_name}.lang
|
||||
%defattr(-,root,root)
|
||||
%doc %{pear_hordedir}
|
||||
%{pear_xmldir}/timeobjects.xml
|
||||
%doc %{pear_docdir}/%{pear_name}
|
||||
|
||||
%changelog
|
||||
* Fri Jul 14 2023 BogusDateBot
|
||||
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||
by assuming the date is correct and changing the weekday.
|
||||
|
||||
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.1.2-3.sme
|
||||
- new spec file to build in SME buildsys
|
||||
- inspired from Remi Collet php-horde-Service-Weather
|
||||
- [SME: 9601]
|
||||
- add gettext as buildrequires (bump 3)
|
||||
|
||||
* Tue Apr 5 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.1.2-1
|
||||
- Update to 2.1.2
|
||||
|
||||
* Sun Feb 7 2016 John H. Bennett III <bennettj@johnbennettservices.com> - 2.1.1-1
|
||||
- Update to 2.1.1
|
||||
|
||||
* Tue May 13 2014 John H. Bennett III <bennettj@johnbennettservices.com> - 2.1.0-1
|
||||
- Update to 2.1.0
|
||||
|
||||
* Fri Jun 21 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.0.4-1
|
||||
- Update to 2.0.4
|
||||
|
||||
* Tue Jun 4 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 2.0.3-1
|
||||
- Initial release for SME Server
|
||||
- Original build from pear make-rpm-spec
|
||||
|
Loading…
Reference in New Issue
Block a user