initial commit of file from CVS for php-pear-HTTP_WebDAV_Server on Fri 14 Jul 16:11:36 BST 2023

This commit is contained in:
Brian Read 2023-07-14 16:11:36 +01:00
parent 42f88b9c62
commit 2a688a0f8d
7 changed files with 136 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tgz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

BIN
HTTP_WebDAV_Server-1.0.0RC8.tgz (Stored with Git LFS) Normal file

Binary file not shown.

98
HTTP_WebDAV_Server.spec Normal file
View File

@ -0,0 +1,98 @@
%define peardir %(pear config-get php_dir 2> /dev/null || echo %{_datadir}/pear)
%define xmldir /var/lib/pear
%global pear_name HTTP_WebDAV_Server
%define name php-pear-HTTP_WebDAV_Server
%define version 1.0.0RC8
%define release 3
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Summary: WebDAV Server Baseclass
License: New BSD License
Group: Development/Libraries
Source0: http://pear.php.net/get/HTTP_WebDAV_Server-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
URL: http://pear.php.net/package/HTTP_WebDAV_Server
BuildRequires: php-pear(PEAR) >= 1.4.7
Provides: php-pear(%{pear_name}) = %{version}
#BuildRequires: PEAR::PEAR >= 1.4.7
BuildArch: noarch
%description
RFC2518 compliant helper class for WebDAV server implementation.
%prep
%setup -c -T
pear -v -c pearrc \
-d php_dir=%{peardir} \
-d doc_dir=/docs \
-d bin_dir=%{_bindir} \
-d data_dir=%{peardir}/data \
-d test_dir=%{peardir}/tests \
-d ext_dir=%{_libdir} \
-s
%build
%install
rm -rf %{buildroot}
pear -c pearrc install --nodeps --packagingroot %{buildroot} %{SOURCE0}
# Clean up unnecessary files
rm pearrc
rm -rf %{buildroot}/%{peardir}/.filemap
rm -rf %{buildroot}/%{peardir}/.lock
rm -rf %{buildroot}/%{peardir}/.registry
rm -rf %{buildroot}%{peardir}/.channels
rm -rf %{buildroot}/%{xmldir}/.filemap
rm -rf %{buildroot}/%{xmldir}/.lock
rm -rf %{buildroot}/%{xmldir}/.registry
rm -rf %{buildroot}/%{xmldir}/.channels
if [[ -f %{buildroot}%{xmldir}/.depdb ]] ;then
rm -rf %{buildroot}%{xmldir}/.depdb
fi
if [[ -f %{buildroot}{xmldir}/.depdblock ]] ;then
rm -rf %{buildroot}%{xmldir}/.depdblock
fi
mv %{buildroot}/docs .
# Install XML package description
mkdir -p %{buildroot}%{xmldir}
tar -xzf %{SOURCE0} package.xml
cp -p package.xml %{buildroot}%{xmldir}/HTTP_WebDAV_Server.xml
%clean
rm -rf %{buildroot}
%post
pear install --nodeps --soft --force --register-only %{xmldir}/HTTP_WebDAV_Server.xml >/dev/null || :
%postun
if [ "$1" -eq "0" ]; then
pear uninstall --nodeps --ignore-errors --register-only pear.php.net/HTTP_WebDAV_Server >/dev/null || :
fi
%files
%defattr(-,root,root)
%doc docs/HTTP_WebDAV_Server/*
%{peardir}/*
%{xmldir}/HTTP_WebDAV_Server.xml
%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.
* Thu Jun 16 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0RC8-3.sme
- importing to buildsys pear packages for Horde [SME: 9600]
* Mon Jun 24 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 1.0.0RC8-2
- updated spec file requires section, and left original info remarked.
* Mon Jun 24 2013 John H. Bennett III <bennettj@johnbennettservices.com> - 1.0.0RC8-1
- Original build from pear-make-rpm-spec.

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
# Makefile for source rpm: php-pear-HTTP_WebDAV_Server
# $Id: Makefile,v 1.1 2016/06/16 14:25:10 unnilennium Exp $
NAME := php-pear-HTTP_WebDAV_Server
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)

View File

@ -1,3 +1,11 @@
# php-pear-HTTP_WebDAV_Server # php-pear-HTTP_WebDAV_Server
3rd Party (Maintained by Koozali) git repo for php-pear-HTTP_WebDAV_Server smeserver 3rd Party (Maintained by Koozali) git repo for php-pear-HTTP_WebDAV_Server 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 />
HTTP_WebDAV_Server is a software package that provides a web-based file management system for sharing and storing files across multiple platforms. It allows users to create, modify, and delete files and folders, create custom access rights, and manage file access rights. It also enables users to securely access files from anywhere with an internet connection.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10