Remove unecessary files

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
pull/1/head
Lukas Reschke 7 years ago
parent 12a873d51d
commit 17ac662286
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1

@ -1,26 +0,0 @@
## Submitting issues
If you have questions about how to install or use ownCloud, please direct these to the [mailing list][mailinglist] or our [forum][forum]. We are also available on [IRC][irc].
### Short version
* The [**issue template can be found here**][template]. Please always use the issue template when reporting issues.
### Guidelines
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to one of the repositories, click "issues" and type any word in the top search/command bar.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on [search syntax within github](https://help.github.com/articles/searching-issues)
* This repository ([documents](https://github.com/owncloud/contacts/issues)) is *only* for issues within the ownCloud documents code.
* __SECURITY__: Report any potential security bug to security@owncloud.com following our [security policy](https://owncloud.org/security/) instead of filing an issue in our bug tracker
* Report the issue using our [template][template], it includes all the information we need to track down the issue.
Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues.
[template]: https://raw.github.com/owncloud/core/master/issue_template.md
[mailinglist]: https://mailman.owncloud.org/mailman/listinfo/owncloud
[forum]: https://forum.owncloud.org/
[irc]: https://webchat.freenode.net/?channels=owncloud&uio=d4
### Contribute Code and translations
Please check [core's contribution guidelines](https://github.com/owncloud/core/blob/master/CONTRIBUTING.md) for further information about contributing code and translations.

@ -1,39 +0,0 @@
VERSION=$(shell grep '<version>' appinfo/info.xml | sed -e 's/^.*<version>\(.*\)<\/version>.*$$/\1/')
.PHONY: dist
dist: owncloud-collabora-online.spec appinfo/info.xml
rm -rf owncloud-collabora-online-$(VERSION)
mkdir owncloud-collabora-online-$(VERSION)
tar cf - *.php \
appinfo \
assets \
controller \
css \
img \
js \
l10n \
lib \
templates \
| ( cd owncloud-collabora-online-$(VERSION) && tar xf - )
tar cfz owncloud-collabora-online-$(VERSION).tar.gz owncloud-collabora-online-$(VERSION)
rm -rf owncloud-collabora-online-$(VERSION)
app: appinfo/info.xml
rm -rf richdocuments
mkdir richdocuments
tar cf - *.php \
appinfo \
assets \
controller \
css \
img \
js \
l10n \
lib \
templates \
| ( cd richdocuments && tar xf - )
zip -r richdocuments.zip richdocuments
rm -rf richdocuments
owncloud-collabora-online.spec: owncloud-collabora-online.spec.in appinfo/info.xml
sed -e 's/@PACKAGE_VERSION@/$(VERSION)/g' <owncloud-collabora-online.spec.in >owncloud-collabora-online.spec

@ -1,61 +0,0 @@
#
# spec file for package owncloud-collabora-online
#
# Copyright (c) 2015 Collabora
#
# 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.
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
Name: owncloud-collabora-online
Version: @PACKAGE_VERSION@
Release: 0
Vendor: Collabora
Summary: Collabora CloudSuite plugin for ownCloud
License: MPL
Source0: owncloud-collabora-online-@PACKAGE_VERSION@.tar.gz
BuildArch: noarch
Requires: owncloud
Requires: php5-apcu
Provides: owncloud-ccs = 1.0.7
Obsoletes: owncloud-ccs <= 1.0.7
%description
%prep
%setup -q
%build
%check
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/srv/www/htdocs/owncloud/apps/richdocuments
tar cf - . | (cd %{buildroot}/srv/www/htdocs/owncloud/apps/richdocuments && tar xf -)
%files
/srv/www/htdocs/owncloud/apps/richdocuments
%post
IP=`/sbin/ifconfig | awk '/inet addr/{print substr($2,6)}' | grep -v 127.0.0.1 | head -1`
chown -R wwwrun:www /srv/www/htdocs/owncloud/apps
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ upgrade" wwwrun
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ config:system:set --value='\OC\Memcache\APCu' memcache.local" wwwrun
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ app:enable richdocuments" wwwrun
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ config:app:set --value='http://$IP:9980' richdocuments wopi_url" wwwrun
su -s /bin/bash -c "php /srv/www/htdocs/owncloud/occ maintenance:mode --off" wwwrun
systemctl restart apache2.service
%changelog
* Thu Oct 22 2015 Andras Timar
- Initial RPM release
Loading…
Cancel
Save