## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: nextcloud Version: 25.0.13 Release: 3 Summary: Private file sync and share server License: AGPLv3+ and MIT and BSD and ASL 2.0 and WTFPL and CC-BY-SA and GPLv3+ and Adobe URL: http://nextcloud.com Source0: https://download.nextcloud.com/server/releases/%{name}-%{version}.tar.bz2 # basic nextcloud config.php, nextcloud's # initial setup will fill out other settings appropriately Source1: %{name}-config.php # Systemd timer for background jobs Source2: %{name}-systemd-timer.service Source3: %{name}-systemd-timer.timer # httpd config files Source100: %{name}-httpd.conf Source101: %{name}-access-httpd.conf.avail Source102: %{name}-auth-any.inc Source103: %{name}-auth-local.inc Source104: %{name}-auth-none.inc Source105: %{name}-defaults.inc # nginx/php-fpm config files Source200: %{name}-default-nginx.conf Source201: %{name}-conf-nginx.conf Source202: %{name}-php-fpm.conf # packaging notes and doc Source300: %{name}-README.fedora Source301: %{name}-mysql.txt Source302: %{name}-postgresql.txt Source303: %{name}-MIGRATION.fedora # Remove updater version check, we know that updates across more than one # version are possible Patch0: 0000-disable-update-version-check.patch # Change occ shebang to /usr/bin/php Patch1: 0001-mangle-shebang.patch # Remove php 8.2 check Patch2: 0002-Remove-php-8.2-check.patch BuildArch: noarch # For the systemd macros %if 0%{?fedora} > 29 BuildRequires: systemd-rpm-macros %else BuildRequires: systemd %endif # expand pear macros on install BuildRequires: php-pear # Require one webserver and database backend Requires: %{name}-webserver = %{version}-%{release} Requires: %{name}-database = %{version}-%{release} # Require php CLI for occ command Requires: php-cli # Core PHP libs/extensions required by OC core Requires: php-curl Requires: php-dom Requires: php-exif Requires: php-fileinfo Requires: php-gd Requires: php-iconv Requires: php-json Requires: php-ldap Requires: php-mbstring Requires: php-openssl Requires: php-pcre Requires: php-pdo Requires: php-session Requires: php-simplexml Requires: php-xmlwriter Requires: php-spl Requires: php-zip Requires: php-filter Requires: php-ldap Requires: php-smbclient Requires: php-gmp Requires: php-process Requires: php-pecl-imagick Requires: php-pecl-memcached Requires: php-pecl-apcu Requires: php-pecl-redis5 # For systemd support during install/uninstall %{?systemd_requires} # the CA cert bundle is linked to from the config dir Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt # Bundled composer libraries # many of these can be unbundled Provides: bundled(php-composer(amphp/amp)) = 2.6.2 Provides: bundled(php-composer(amphp/byte-stream)) = 1.8.1 Provides: bundled(php-composer(amphp/parallel)) = 1.4.1 Provides: bundled(php-composer(amphp/parser)) = 1.0.0 Provides: bundled(php-composer(amphp/process)) = 1.1.4 Provides: bundled(php-composer(amphp/serialization)) = 1.0.0 Provides: bundled(php-composer(amphp/sync)) = 1.4.2 Provides: bundled(php-composer(darsyn/ip)) = 4.1.0 Provides: bundled(php-composer(league/flysystem)) = 2.5.0 Provides: bundled(php-composer(league/mime-type-detection)) = 1.11.0 Provides: bundled(php-composer(psr/log)) = 1.1.4 Provides: bundled(php-composer(rubix/ml)) = 20 Provides: bundled(php-composer(rubix/tensor)) = 2.2.3 Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.26.0 Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.26.0 Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.26.0 Provides: bundled(php-composer(composer/semver)) = 3.2.5 Provides: bundled(php-composer(composer/xdebug-handler)) = 2.0.2 Provides: bundled(php-composer(doctrine/annotations)) = 1.13.2 Provides: bundled(php-composer(doctrine/lexer)) = 1.2.1 Provides: bundled(php-composer(friendsofphp/php-cs-fixer)) = 2.19.2 Provides: bundled(php-composer(nextcloud/coding-standard)) = 0.5.0 Provides: bundled(php-composer(php-cs-fixer/diff)) = 1.3.1 Provides: bundled(php-composer(psr/cache)) = 1.0.1 Provides: bundled(php-composer(psr/container)) = 1.1.1 Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 Provides: bundled(php-composer(psr/log)) = 1.1.4 Provides: bundled(php-composer(symfony/console)) = 5.3.7 Provides: bundled(php-composer(symfony/deprecation-contracts)) = 2.4.0 Provides: bundled(php-composer(symfony/event-dispatcher)) = 5.3.7 Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = 2.4.0 Provides: bundled(php-composer(symfony/filesystem)) = 5.3.4 Provides: bundled(php-composer(symfony/finder)) = 5.3.7 Provides: bundled(php-composer(symfony/options-resolver)) = 5.3.7 Provides: bundled(php-composer(symfony/polyfill-ctype)) = 1.23.0 Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = 1.23.1 Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.23.0 Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.23.1 Provides: bundled(php-composer(symfony/polyfill-php70)) = 1.20.0 Provides: bundled(php-composer(symfony/polyfill-php72)) = 1.23.0 Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.23.0 Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.23.1 Provides: bundled(php-composer(symfony/process)) = 5.3.7 Provides: bundled(php-composer(symfony/service-contracts)) = 2.4.0 Provides: bundled(php-composer(symfony/stopwatch)) = 5.3.4 Provides: bundled(php-composer(symfony/string)) = 5.3.7 Provides: bundled(php-composer(christian-riesen/base32)) = 1.6.0 Provides: bundled(php-composer(rullzer/easytotp)) = 0.1.4 Provides: bundled(php-composer(icewind/smb)) = 3.5.2 Provides: bundled(php-composer(icewind/streams)) = 0.7.4 Provides: bundled(php-composer(aws/aws-crt-php)) = 1.0.2 Provides: bundled(php-composer(aws/aws-sdk-php)) = 3.242.1 Provides: bundled(php-composer(bantu/ini-get-wrapper)) = 1.0.1 Provides: bundled(php-composer(beberlei/assert)) = 3.3.1 Provides: bundled(php-composer(brick/math)) = 0.9.2 Provides: bundled(php-composer(christophwurst/id3parser)) = 0.1.4 Provides: bundled(php-composer(composer/package-versions-deprecated)) = 1.11.99.4 Provides: bundled(php-composer(cweagans/composer-patches)) = 1.7.1 Provides: bundled(php-composer(deepdiver/zipstreamer)) = 2.0.0 Provides: bundled(php-composer(deepdiver1975/tarstreamer)) = 2.0.0 Provides: bundled(php-composer(doctrine/cache)) = 2.1.1 Provides: bundled(php-composer(doctrine/dbal)) = 3.1.4 Provides: bundled(php-composer(doctrine/deprecations)) = 0.5.3 Provides: bundled(php-composer(doctrine/event-manager)) = 1.1.1 Provides: bundled(php-composer(doctrine/lexer)) = 1.2.3 Provides: bundled(php-composer(egulias/email-validator)) = 3.1.1 Provides: bundled(php-composer(fgrosse/phpasn1)) = 2.3.0 Provides: bundled(php-composer(fusonic/linq)) = 1.1.0 Provides: bundled(php-composer(fusonic/opengraph)) = 2.2.0 Provides: bundled(php-composer(giggsey/libphonenumber-for-php)) = 8.12.38 Provides: bundled(php-composer(giggsey/locale)) = 2.1 Provides: bundled(php-composer(guzzlehttp/guzzle)) = 7.5.0 Provides: bundled(php-composer(guzzlehttp/promises)) = 1.5.2 Provides: bundled(php-composer(guzzlehttp/psr7)) = 2.4.3 Provides: bundled(php-composer(guzzlehttp/uri-template)) = 0.2.0 Provides: bundled(php-composer(icewind/searchdav)) = 3.0.1 Provides: bundled(php-composer(icewind/streams)) = 0.7.5 Provides: bundled(php-composer(justinrainbow/json-schema)) = 5.2.10 Provides: bundled(php-composer(laravel/serializable-closure)) = 1.2.0 Provides: bundled(php-composer(league/uri)) = 6.4.0 Provides: bundled(php-composer(league/uri-interfaces)) = 2.2.0 Provides: bundled(php-composer(mexitek/phpcolors)) = 1.0.4 Provides: bundled(php-composer(microsoft/azure-storage-blob)) = 1.5.4 Provides: bundled(php-composer(microsoft/azure-storage-common)) = 1.5.2 Provides: bundled(php-composer(mlocati/ip-lib)) = 1.18.0 Provides: bundled(php-composer(mtdowling/jmespath.php)) = 2.6.1 Provides: bundled(php-composer(nextcloud/lognormalizer)) = 1.0.0 Provides: bundled(php-composer(nikic/php-parser)) = 4.10.5 Provides: bundled(php-composer(opis/closure)) = 3.6.3 Provides: bundled(php-composer(pear/archive_tar)) = 1.4.14 Provides: bundled(php-composer(pear/console_getopt)) = 1.4.3 Provides: bundled(php-composer(pear/pear-core-minimal)) = 1.10.10 Provides: bundled(php-composer(pear/pear_exception)) = 1.0.2 Provides: bundled(php-composer(php-ds/php-ds)) = 1.3.0 Provides: bundled(php-composer(php-http/guzzle7-adapter)) = 1.0.0 Provides: bundled(php-composer(php-http/httplug)) = 2.2.0 Provides: bundled(php-composer(php-http/promise)) = 1.1.0 Provides: bundled(php-composer(php-opencloud/openstack)) = 3.1.0 Provides: bundled(php-composer(phpseclib/phpseclib)) = 2.0.38 Provides: bundled(php-composer(pimple/pimple)) = 3.5.0 Provides: bundled(php-composer(psr/container)) = 1.1.1 Provides: bundled(php-composer(psr/event-dispatcher)) = 1.0.0 Provides: bundled(php-composer(psr/http-client)) = 1.0.1 Provides: bundled(php-composer(psr/http-factory)) = 1.0.1 Provides: bundled(php-composer(psr/http-message)) = 1.0.1 Provides: bundled(php-composer(psr/log)) = 1.1.4 Provides: bundled(php-composer(punic/punic)) = 1.6.5 Provides: bundled(php-composer(ralouphie/getallheaders)) = 3.0.3 Provides: bundled(php-composer(ramsey/collection)) = 1.1.3 Provides: bundled(php-composer(ramsey/uuid)) = 4.1.1 Provides: bundled(php-composer(sabre/dav)) = 4.4.0 Provides: bundled(php-composer(sabre/event)) = 5.1.4 Provides: bundled(php-composer(sabre/http)) = 5.1.5 Provides: bundled(php-composer(sabre/uri)) = 2.2.2 Provides: bundled(php-composer(sabre/vobject)) = 4.4.2 Provides: bundled(php-composer(sabre/xml)) = 2.2.5 Provides: bundled(php-composer(scssphp/scssphp)) = 1.8.1 Provides: bundled(php-composer(spomky-labs/base64url)) = 2.0.4 Provides: bundled(php-composer(spomky-labs/cbor-php)) = 2.0.1 Provides: bundled(php-composer(stecman/symfony-console-completion)) = 0.11.0 Provides: bundled(php-composer(swiftmailer/swiftmailer)) = 6.3.0 Provides: bundled(php-composer(symfony/console)) = 4.4.30 Provides: bundled(php-composer(symfony/css-selector)) = 5.4.11 Provides: bundled(php-composer(symfony/deprecation-contracts)) = 2.5.2 Provides: bundled(php-composer(symfony/dom-crawler)) = 5.4.11 Provides: bundled(php-composer(symfony/event-dispatcher)) = 4.4.30 Provides: bundled(php-composer(symfony/event-dispatcher-contracts)) = 1.1.9 Provides: bundled(php-composer(symfony/http-foundation)) = 5.4.10 Provides: bundled(php-composer(symfony/polyfill-ctype)) = 1.23.0 Provides: bundled(php-composer(symfony/polyfill-iconv)) = 1.27.0 Provides: bundled(php-composer(symfony/polyfill-intl-grapheme)) = 1.23.1 Provides: bundled(php-composer(symfony/polyfill-intl-idn)) = 1.27.0 Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.27.0 Provides: bundled(php-composer(symfony/polyfill-mbstring)) = 1.27.0 Provides: bundled(php-composer(symfony/polyfill-php72)) = 1.27.0 Provides: bundled(php-composer(symfony/polyfill-php73)) = 1.23.0 Provides: bundled(php-composer(symfony/polyfill-php80)) = 1.26.0 Provides: bundled(php-composer(symfony/process)) = 4.4.30 Provides: bundled(php-composer(symfony/routing)) = 4.4.30 Provides: bundled(php-composer(symfony/service-contracts)) = 2.4.0 Provides: bundled(php-composer(symfony/translation)) = 4.4.41 Provides: bundled(php-composer(symfony/translation-contracts)) = 2.4.0 Provides: bundled(php-composer(thecodingmachine/safe)) = 1.3.3 Provides: bundled(php-composer(web-auth/cose-lib)) = 3.3.9 Provides: bundled(php-composer(web-auth/metadata-service)) = 3.3.9 Provides: bundled(php-composer(web-auth/webauthn-lib)) = 3.3.9 Provides: bundled(php-composer(doctrine/lexer)) = 1.2.1 Provides: bundled(php-composer(symfony/polyfill-intl-idn)) = 1.22.1 Provides: bundled(php-composer(symfony/polyfill-intl-normalizer)) = 1.22.1 Provides: bundled(php-composer(symfony/polyfill-php72)) = 1.22.1 # OpenIconic icons bundled via sabre-dav Provides: bundled(openiconic-fonts) = 1.0.0 # jscolor bundled via themeing app Provides: bundled(jscolor) = 2.0.4 # jquery-ui-multiselect bundled via user_ldap app Provides: bundled(jquery-ui-multiselect) = 0.3.1 # zxcvbn bundled via core Provides: bundled(zxcvbn) = 4.4.2 %description NextCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. NextCloud is extendable via a simple but powerful API for applications and plugins. %package httpd Summary: Httpd integration for NextCloud Provides: %{name}-webserver = %{version}-%{release} Requires: %{name} = %{version}-%{release} # PHP dependencies Requires: php-fpm httpd %description httpd %{summary}. %package nginx Summary: Nginx integration for NextCloud Provides: %{name}-webserver = %{version}-%{release} Requires: %{name} = %{version}-%{release} # PHP dependencies Requires: php-fpm nginx %description nginx %{summary}. %package mysql Summary: MySQL database support for NextCloud Provides: %{name}-database = %{version}-%{release} Requires: %{name} = %{version}-%{release} # From getSupportedDatabases, mysql => pdo, mysql Requires: php-mysqlnd %description mysql This package ensures the necessary dependencies are in place for NextCloud to work with MySQL / MariaDB databases. It does not require a MySQL / MariaDB server to be installed, as you may well wish to use a remote database server. If you want the database to be on the same system as NextCloud itself, you must also install and enable a MySQL / MariaDB server package. See README.mysql for more details. %package postgresql Summary: PostgreSQL database support for NextCloud Provides: %{name}-database = %{version}-%{release} Requires: %{name} = %{version}-%{release} # From getSupportedDatabases, pgsql => function, pg_connect Requires: php-pgsql %description postgresql This package ensures the necessary dependencies are in place for NextCloud to work with a PostgreSQL database. It does not require the PostgreSQL server package to be installed, as you may well wish to use a remote database server. If you want the database to be on the same system as NextCloud itself, you must also install and enable the PostgreSQL server package. See README.postgresql for more details. %package sqlite Summary: SQLite 3 database support for NextCloud Provides: %{name}-database = %{version}-%{release} Requires: %{name} = %{version}-%{release} # From getSupportedDatabases, pgsql => class, SQLite3 %description sqlite This package ensures the necessary dependencies are in place for NextCloud to work with an SQLite 3 database stored on the local system. %prep %autosetup -n %{name} -p1 # patch backup files and .git stuff find . -name \*.orig -type f -exec rm {} \; -print find . -name .gitignore -type f -exec rm {} \; -print find . -name .github -type d -prune -exec rm -r {} \; -print # prepare package doc cp %{SOURCE300} README.fedora cp %{SOURCE301} README.mysql cp %{SOURCE302} README.postgresql cp %{SOURCE303} MIGRATION.fedora # Locate license files and put them sensibly in place # get rid of all composer licenses find -wholename "*/composer/LICENSE" -exec mv {} composer-LICENSE \; %build # Nothing to build %install install -dm 755 %{buildroot}%{_datadir}/%{name} # create nextcloud datadir mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/data # create writable app dir for appstore mkdir -p %{buildroot}%{_localstatedir}/lib/%{name}/apps # create nextcloud sysconfdir mkdir -p %{buildroot}%{_sysconfdir}/%{name} # install content for d in $(find . -mindepth 1 -maxdepth 1 -type d | grep -v config); do cp -a "$d" %{buildroot}%{_datadir}/%{name} done for f in {*.php,*.html,robots.txt}; do install -pm 644 "$f" %{buildroot}%{_datadir}/%{name} done # occ should be executable install -pm 755 occ %{buildroot}%{_datadir}/%{name} # symlink config dir ln -sf %{_sysconfdir}/%{name} %{buildroot}%{_datadir}/%{name}/config # nextcloud looks for ca-bundle.crt in config dir ln -sf %{_sysconfdir}/pki/tls/certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/%{name}/ca-bundle.crt # set default config install -pm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{name}/config.php # httpd config install -Dpm 644 %{SOURCE100} \ %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}.conf install -Dpm 644 %{SOURCE101} \ %{buildroot}%{_sysconfdir}/httpd/conf.d/%{name}-access.conf.avail install -Dpm 644 %{SOURCE102} %{SOURCE103} %{SOURCE104} %{SOURCE105} \ %{buildroot}%{_sysconfdir}/httpd/conf.d/ # nginx config install -Dpm 644 %{SOURCE200} \ %{buildroot}%{_sysconfdir}/nginx/default.d/%{name}.conf install -Dpm 644 %{SOURCE201} \ %{buildroot}%{_sysconfdir}/nginx/conf.d/%{name}.conf # php-fpm config install -Dpm 644 %{SOURCE202} \ %{buildroot}%{_sysconfdir}/php-fpm.d/%{name}.conf # Install the systemd timer install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/nextcloud-cron.service install -Dpm 644 %{SOURCE3} %{buildroot}%{_unitdir}/nextcloud-cron.timer %post httpd /usr/bin/systemctl reload httpd.service > /dev/null 2>&1 || : /usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : %postun httpd if [ $1 -eq 0 ]; then /usr/bin/systemctl reload httpd.service > /dev/null 2>&1 || : /usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : fi %post nginx /usr/bin/systemctl reload nginx.service > /dev/null 2>&1 || : /usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : %postun nginx if [ $1 -eq 0 ]; then /usr/bin/systemctl reload nginx.service > /dev/null 2>&1 || : /usr/bin/systemctl reload php-fpm.service > /dev/null 2>&1 || : fi %files %doc AUTHORS README.fedora MIGRATION.fedora config/config.sample.php # TODO: fix duplicate file names # find . -name '*LICENCE*' -o -name '*LICENSE*' -o -name '*COPYING*' | awk '{print "%license " $1}' | sed 's#\./##g' | sort | uniq %license 3rdparty/aws/aws-crt-php/LICENSE %license 3rdparty/aws/aws-sdk-php/LICENSE %license 3rdparty/aws/aws-sdk-php/THIRD-PARTY-LICENSES %license 3rdparty/bantu/ini-get-wrapper/LICENSE %license 3rdparty/beberlei/assert/LICENSE %license 3rdparty/brick/math/LICENSE %license 3rdparty/christophwurst/id3parser/LICENSE %license 3rdparty/composer/package-versions-deprecated/LICENSE %license 3rdparty/cweagans/composer-patches/LICENSE.md %license 3rdparty/deepdiver1975/tarstreamer/LICENSE %license 3rdparty/deepdiver/zipstreamer/COPYING %license 3rdparty/doctrine/cache/LICENSE %license 3rdparty/doctrine/dbal/LICENSE %license 3rdparty/doctrine/event-manager/LICENSE %license 3rdparty/egulias/email-validator/LICENSE %license 3rdparty/fgrosse/phpasn1/LICENSE %license 3rdparty/fusonic/linq/LICENSE %license 3rdparty/fusonic/opengraph/LICENSE %license 3rdparty/giggsey/libphonenumber-for-php/LICENSE %license 3rdparty/giggsey/locale/LICENSE %license 3rdparty/guzzlehttp/guzzle/LICENSE %license 3rdparty/guzzlehttp/promises/LICENSE %license 3rdparty/guzzlehttp/psr7/LICENSE %license 3rdparty/guzzlehttp/uri-template/LICENSE.md %license 3rdparty/icewind/searchdav/LICENSE %license 3rdparty/justinrainbow/json-schema/LICENSE %license 3rdparty/laravel/serializable-closure/LICENSE.md %license 3rdparty/league/uri-interfaces/LICENSE %license 3rdparty/league/uri/LICENSE %license 3rdparty/LICENSE %license 3rdparty/mexitek/phpcolors/LICENSE %license 3rdparty/microsoft/azure-storage-blob/LICENSE %license 3rdparty/microsoft/azure-storage-common/LICENSE %license 3rdparty/mlocati/ip-lib/LICENSE.txt %license 3rdparty/mtdowling/jmespath.php/LICENSE %license 3rdparty/nextcloud/lognormalizer/COPYING %license 3rdparty/nikic/php-parser/LICENSE %license 3rdparty/opis/closure/LICENSE %license 3rdparty/pear/console_getopt/LICENSE %license 3rdparty/pear/pear_exception/LICENSE %license 3rdparty/php-ds/php-ds/LICENSE %license 3rdparty/php-http/guzzle7-adapter/LICENSE %license 3rdparty/php-http/httplug/LICENSE %license 3rdparty/php-http/promise/LICENSE %license 3rdparty/php-opencloud/openstack/LICENSE %license 3rdparty/phpseclib/phpseclib/LICENSE %license 3rdparty/psr/container/LICENSE %license 3rdparty/psr/event-dispatcher/LICENSE %license 3rdparty/psr/http-client/LICENSE %license 3rdparty/psr/http-factory/LICENSE %license 3rdparty/psr/http-message/LICENSE %license 3rdparty/psr/log/LICENSE %license 3rdparty/punic/punic/LICENSE.txt %license 3rdparty/punic/punic/UNICODE-LICENSE.txt %license 3rdparty/ralouphie/getallheaders/LICENSE %license 3rdparty/ramsey/collection/LICENSE %license 3rdparty/ramsey/uuid/LICENSE %license 3rdparty/sabre/dav/lib/DAV/Browser/assets/openiconic/ICON-LICENSE %license 3rdparty/sabre/dav/LICENSE %license 3rdparty/sabre/event/LICENSE %license 3rdparty/sabre/http/LICENSE %license 3rdparty/sabre/uri/LICENSE %license 3rdparty/sabre/vobject/LICENSE %license 3rdparty/sabre/xml/LICENSE %license 3rdparty/scssphp/scssphp/LICENSE.md %license 3rdparty/spomky-labs/base64url/LICENSE %license 3rdparty/spomky-labs/cbor-php/LICENSE %license 3rdparty/stecman/symfony-console-completion/LICENCE %license 3rdparty/symfony/console/LICENSE %license 3rdparty/symfony/css-selector/LICENSE %license 3rdparty/symfony/deprecation-contracts/LICENSE %license 3rdparty/symfony/dom-crawler/LICENSE %license 3rdparty/symfony/event-dispatcher-contracts/LICENSE %license 3rdparty/symfony/event-dispatcher/LICENSE %license 3rdparty/symfony/http-foundation/LICENSE %license 3rdparty/symfony/polyfill-ctype/LICENSE %license 3rdparty/symfony/polyfill-iconv/LICENSE %license 3rdparty/symfony/polyfill-intl-grapheme/LICENSE %license 3rdparty/symfony/polyfill-intl-idn/LICENSE %license 3rdparty/symfony/polyfill-intl-normalizer/LICENSE %license 3rdparty/symfony/polyfill-mbstring/LICENSE %license 3rdparty/symfony/polyfill-php72/LICENSE %license 3rdparty/symfony/polyfill-php73/LICENSE %license 3rdparty/symfony/polyfill-php80/LICENSE %license 3rdparty/symfony/process/LICENSE %license 3rdparty/symfony/routing/LICENSE %license 3rdparty/symfony/service-contracts/LICENSE %license 3rdparty/symfony/translation-contracts/LICENSE %license 3rdparty/symfony/translation/LICENSE %license 3rdparty/thecodingmachine/safe/LICENSE %license 3rdparty/web-auth/cose-lib/LICENSE %license 3rdparty/web-auth/metadata-service/LICENSE %license 3rdparty/web-auth/webauthn-lib/LICENSE %license apps/activity/js/activity-adminSettings.js.LICENSE.txt %license apps/activity/js/activity-dashboard.js.LICENSE.txt %license apps/activity/js/activity-personalSettings.js.LICENSE.txt %license apps/activity/js/activity-sidebar.js.LICENSE.txt %license apps/bruteforcesettings/js/bruteforcesettings-main.js.LICENSE.txt %license apps/bruteforcesettings/LICENSE %license apps/circles/LICENSE %license apps/cloud_federation_api/LICENSE %license apps/dav/img/LICENSES.md %license apps/files_external/3rdparty/icewind/smb/LICENSE.txt %license apps/files_external/3rdparty/icewind/streams/LICENCE %license apps/files_pdfviewer/COPYING %license apps/files_pdfviewer/js/files_pdfviewer-main.js.LICENSE.txt %license apps/files_pdfviewer/js/files_pdfviewer-public.js.LICENSE.txt %license apps/files_pdfviewer/js/files_pdfviewer-workersrc.js.LICENSE.txt %license apps/files_pdfviewer/js/pdfjs/LICENSE %license apps/files_pdfviewer/js/pdfjs/web/cmaps/LICENSE %license apps/files_pdfviewer/js/pdfjs/web/standard_fonts/LICENSE_FOXIT %license apps/files_pdfviewer/js/pdfjs/web/standard_fonts/LICENSE_LIBERATION %license apps/files_rightclick/COPYING %license apps/files_rightclick/LICENSE %license apps/firstrunwizard/js/firstrunwizard-main.js.LICENSE.txt %license apps/logreader/js/logreader-main.js.LICENSE.txt %license apps/nextcloud_announcements/COPYING %license apps/notifications/COPYING %license apps/notifications/js/notifications-admin-settings.js.LICENSE.txt %license apps/notifications/js/notifications-main.js.LICENSE.txt %license apps/notifications/js/notifications-settings.js.LICENSE.txt %license apps/password_policy/js/password_policy-settings.js.LICENSE.txt %license apps/password_policy/LICENSE %license apps/photos/COPYING %license apps/photos/js/photos-main.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_AccountBoxMultipleOutline_vue-src_components_FaceCover_vue.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_AlertCircle_vue-node_modules_vue-material-design-icons-ea65fb.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_ImagePlus_vue-src_components_Collection_CollectionCont-f9bef8.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-2ca5cc.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-36962a.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-4e283b.js.LICENSE.txt %license apps/photos/js/photos-node_modules_vue-material-design-icons_PackageVariant_vue-node_modules_vue-material-design-ic-c67b29.js.LICENSE.txt %license apps/photos/js/photos-public.js.LICENSE.txt %license apps/photos/js/photos-src_components_FilesPicker_vue.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_AbortControllerMixin_js-node_modules_vue-material-design-icons_FolderMultipleImage-67cc20.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_mixins_FilesSelectionMixin_js-src_components_File_vue--80ca54.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_views_Albums_vue.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_views_Faces_vue.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_FetchAlbumsMixin_js-src_components_Albums_AlbumForm_vue.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_FetchFilesMixin_js.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_FetchFilesMixin_js-node_modules_vue-material-design-icons_ImagePlus_vue-src_compon-c78281.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_FetchFilesMixin_js-src_components_Collection_CollectionContent_vue.js.LICENSE.txt %license apps/photos/js/photos-src_mixins_FilesByMonthMixin_js-src_components_Actions_ActionDownload_vue-src_components_Acti-14f64d.js.LICENSE.txt %license apps/photos/js/photos-src_services_Albums_js-src_components_HeaderNavigation_vue.js.LICENSE.txt %license apps/photos/js/photos-src_views_AlbumContent_vue.js.LICENSE.txt %license apps/photos/js/photos-src_views_Folders_vue.js.LICENSE.txt %license apps/photos/js/photos-src_views_SharedAlbums_vue.js.LICENSE.txt %license apps/photos/js/photos-src_views_Tags_vue.js.LICENSE.txt %license apps/photos/js/photos-src_views_Timeline_vue.js.LICENSE.txt %license apps/photos/js/photos-vendors-node_modules_nextcloud_files_dist_index_mjs.js.LICENSE.txt %license apps/photos/js/photos-vendors-node_modules_nextcloud_upload_dist_index_esm_js.js.LICENSE.txt %license apps/photos/js/photos-vendors-node_modules_vue-virtual-grid_dist_vue-virtual-grid_es_js.js.LICENSE.txt %license apps/privacy/COPYING %license apps/privacy/js/privacy-main.js.LICENSE.txt %license apps/recommendations/js/files_recommendation-dashboard.js.LICENSE.txt %license apps/recommendations/js/files_recommendation-main.js.LICENSE.txt %license apps/recommendations/LICENSE %license apps/related_resources/js/related_resources.js.LICENSE.txt %license apps/related_resources/js/vendors-node_modules_nextcloud_vue_dist_Components_NcRelatedResourcesPanel_js.related_resources.js.LICENSE.txt %license apps/related_resources/LICENSE %license apps/serverinfo/COPYING %license apps/survey_client/COPYING %license apps/suspicious_login/COPYING %license apps/suspicious_login/js/settings.js.LICENSE.txt %license apps/suspicious_login/vendor/amphp/amp/LICENSE %license apps/suspicious_login/vendor/amphp/byte-stream/LICENSE %license apps/suspicious_login/vendor/amphp/parallel/LICENSE %license apps/suspicious_login/vendor/amphp/parser/LICENSE %license apps/suspicious_login/vendor/amphp/process/LICENSE %license apps/suspicious_login/vendor/amphp/serialization/LICENSE %license apps/suspicious_login/vendor/amphp/sync/LICENSE %license apps/suspicious_login/vendor/darsyn/ip/LICENSE.md %license apps/suspicious_login/vendor/league/flysystem/LICENSE %license apps/suspicious_login/vendor/league/mime-type-detection/LICENSE %license apps/suspicious_login/vendor/psr/log/LICENSE %license apps/suspicious_login/vendor/rubix/ml/LICENSE %license apps/suspicious_login/vendor/rubix/tensor/lib/JAMA/LICENCE.md %license apps/suspicious_login/vendor/rubix/tensor/LICENSE %license apps/suspicious_login/vendor/symfony/polyfill-mbstring/LICENSE %license apps/suspicious_login/vendor/symfony/polyfill-php73/LICENSE %license apps/suspicious_login/vendor/symfony/polyfill-php80/LICENSE %license apps/text/COPYING %license apps/text/js/editor.js.LICENSE.txt %license apps/text/js/editor-rich.js.LICENSE.txt %license apps/text/js/text-files.js.LICENSE.txt %license apps/text/js/text-public.js.LICENSE.txt %license apps/text/js/text-text.js.LICENSE.txt %license apps/text/js/text-viewer.js.LICENSE.txt %license apps/text/js/vendors.js.LICENSE.txt %license apps/theming/js/3rdparty/jscolor/LICENSE.txt %license apps/twofactor_totp/COPYING %license apps/twofactor_totp/js/twofactor_totp-main-login-setup.js.LICENSE.txt %license apps/twofactor_totp/js/twofactor_totp-main-settings.js.LICENSE.txt %license apps/twofactor_totp/vendor/christian-riesen/base32/LICENSE %license apps/twofactor_totp/vendor/rullzer/easytotp/LICENSE %license apps/user_ldap/js/vendor/ui-multiselect/MIT-LICENSE %license apps/viewer/COPYING %license apps/viewer/js/viewer-main.js.LICENSE.txt %license composer-LICENSE %license COPYING %license core/fonts/LICENSE_OFL.txt %license core/vendor/zxcvbn/LICENSE.txt %license dist/comments-comments-app.js.LICENSE.txt %license dist/comments-comments.js.LICENSE.txt %license dist/comments-comments-tab.js.LICENSE.txt %license dist/core-common.js.LICENSE.txt %license dist/core-files_client.js.LICENSE.txt %license dist/core-files_fileinfo.js.LICENSE.txt %license dist/core-install.js.LICENSE.txt %license dist/core-login.js.LICENSE.txt %license dist/core-main.js.LICENSE.txt %license dist/core-profile.js.LICENSE.txt %license dist/core-recommendedapps.js.LICENSE.txt %license dist/core-systemtags.js.LICENSE.txt %license dist/core-unified-search.js.LICENSE.txt %license dist/dashboard-main.js.LICENSE.txt %license dist/dav-settings-personal-availability.js.LICENSE.txt %license dist/federatedfilesharing-vue-settings-admin.js.LICENSE.txt %license dist/files-main.js.LICENSE.txt %license dist/files-personal-settings.js.LICENSE.txt %license dist/files_sharing-additionalScripts.js.LICENSE.txt %license dist/files_sharing-files_sharing_tab.js.LICENSE.txt %license dist/files_sharing-main.js.LICENSE.txt %license dist/files_sharing-personal-settings.js.LICENSE.txt %license dist/files-sidebar.js.LICENSE.txt %license dist/files_trashbin-files_trashbin.js.LICENSE.txt %license dist/files_versions-files_versions.js.LICENSE.txt %license dist/oauth2-oauth2.js.LICENSE.txt %license dist/settings-users-8351.js.LICENSE.txt %license dist/settings-vue-settings-admin-basic-settings.js.LICENSE.txt %license dist/settings-vue-settings-admin-delegation.js.LICENSE.txt %license dist/settings-vue-settings-admin-security.js.LICENSE.txt %license dist/settings-vue-settings-apps-users-management.js.LICENSE.txt %license dist/settings-vue-settings-nextcloud-pdf.js.LICENSE.txt %license dist/settings-vue-settings-personal-info.js.LICENSE.txt %license dist/settings-vue-settings-personal-password.js.LICENSE.txt %license dist/settings-vue-settings-personal-security.js.LICENSE.txt %license dist/settings-vue-settings-personal-webauthn.js.LICENSE.txt %license dist/sharebymail-vue-settings-admin-sharebymail.js.LICENSE.txt %license dist/systemtags-systemtags.js.LICENSE.txt %license dist/theming-theming-settings.js.LICENSE.txt %license dist/twofactor_backupcodes-settings.js.LICENSE.txt %license dist/updatenotification-updatenotification.js.LICENSE.txt %license dist/user_status-dashboard.js.LICENSE.txt %license dist/user_status-menu.js.LICENSE.txt %license dist/weather_status-weather-status.js.LICENSE.txt %license dist/workflowengine-workflowengine.js.LICENSE.txt %dir %attr(-,apache,apache) %{_sysconfdir}/%{name} # contains sensitive data (dbpassword, passwordsalt) %config(noreplace) %attr(0600,apache,apache) %{_sysconfdir}/%{name}/config.php # need the symlink in confdir but it's not config %{_sysconfdir}/%{name}/ca-bundle.crt %{_datadir}/%{name} %dir %attr(0755,apache,apache) %{_localstatedir}/lib/%{name} # user data must not be world readable %dir %attr(0750,apache,apache) %{_localstatedir}/lib/%{name}/data %attr(-,apache,apache) %{_localstatedir}/lib/%{name}/apps %{_unitdir}/nextcloud-cron.service %{_unitdir}/nextcloud-cron.timer %files httpd %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %{_sysconfdir}/httpd/conf.d/%{name}-access.conf.avail %{_sysconfdir}/httpd/conf.d/%{name}*.inc %config(noreplace) %{_sysconfdir}/php-fpm.d/%{name}.conf %files nginx %config(noreplace) %{_sysconfdir}/nginx/default.d/%{name}.conf %config(noreplace) %{_sysconfdir}/nginx/conf.d/%{name}.conf %config(noreplace) %{_sysconfdir}/php-fpm.d/%{name}.conf %files mysql %doc README.mysql %files postgresql %doc README.postgresql %files sqlite %changelog * Wed Feb 28 2024 Damian Wrobel - 25.0.13-3 - Rebuilt for new Fedora * Wed Feb 07 2024 Damian Wrobel - 25.0.13-2 - Add patch for dropping php 8.2 check * Fri Jan 19 2024 Damian Wrobel - 25.0.13-1 - Update to 25.0.13 * Tue Feb 21 2023 Iván Chavero - 25.0.3-1 - Update to 25.0.3 * Thu Jan 19 2023 Fedora Release Engineering - 25.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Nov 27 2022 Iván Chavero - 25.0.1-1 - Update for 25.0.1 * Mon Sep 26 2022 Avi Alkalay - 24.0.5-1 - update to 24.0.5 * Mon Sep 26 2022 Avi Alkalay - 24.0.3-4 - Set PHP output_buffering to false to kill nextcloud setup warnings * Mon Sep 26 2022 Avi Alkalay - 24.0.3-3 - Add new .well-known redirects * Fri Sep 23 2022 Avi Alkalay - 24.0.3-2 - use FPM’s specific configuration * Sat Jul 30 2022 Iván Chavero - 24.0.3-1 - Update to 24.0.3 * Fri Jul 22 2022 Fedora Release Engineering - 22.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 22.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Aug 05 2021 Christopher Engelhard - 22.1.0-1 - Update to 22.1.0 * Thu Jul 22 2021 Fedora Release Engineering - 22.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jul 6 2021 Christopher Engelhard - 22.0.0-1 - Update to 22.0.0 * Wed Jun 30 2021 Christopher Engelhard - 21.0.2-1 - Update to 21.0.2, fixes RHBZ 1977202 / CVE-2021-22915 - Include php-fpm config in httpd subpackage - Set php memory limit to 512MB (RHBZ 1933529) - Add Referrer-policy no-referrer to nginx config (RHBZ 1933530) * Wed Feb 24 2021 Christopher Engelhard - 21.0.0-2 - Drop dependency on php-imap. Fixes RHBZ #1933023 * Wed Feb 24 2021 Christopher Engelhard - 21.0.0-1 - Update to 21.0.0 * Sat Feb 20 2021 Christopher Engelhard - 20.0.7-1 - Update to 20.0.7 * Tue Jan 26 2021 Fedora Release Engineering - 20.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Jan 16 2021 Christopher Engelhard - 20.0.5-1 - Update to 20.0.5 * Mon Dec 28 2020 Christopher Engelhard - 20.0.4-2 - Remove duplicate dependencies on database drivers - Remove syslinux related stuff, as these are included in the syslinux policy - Add Provides: for bundled libraries * Thu Dec 17 2020 Christopher Engelhard - 20.0.4-1 - Update to 20.0.4 * Thu Dec 10 2020 Christopher Engelhard - 20.0.3-1 - Update to 20.0.3 * Thu Nov 19 2020 Christopher Engelhard - 20.0.2-1 - Update to 20.0.2 * Sat Nov 14 2020 Christopher Engelhard - 20.0.2-0.1.rc1 - Update to 20.0.2RC1 * Wed Nov 11 2020 Christopher Engelhard - 20.0.1-3 - Remove CentOS/RHEL 7 support from spec file * Tue Nov 10 2020 Christopher Engelhard - 20.0.1-2 - Add dependencies on php-cli (for occ) and php-process (for posix) - Remove unneeded BR on php-cli - Add patch to allow updates across more than one major version * Mon Oct 26 2020 Christopher Engelhard - 20.0.1-1 - Update to Nextcloud 20.0.1 * Sun Oct 11 2020 Christopher Engelhard - 20.0.0-1 - Update to Nextcloud 20.0.0 * Tue Jul 28 2020 Fedora Release Engineering - 19.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun Jun 28 2020 Ivan Chavero - 19.0.0-1 - Update to Nextcloud 19.0.0 - Update licenses * Thu Apr 30 2020 Ivan Chavero - 18.0.4-1 - Update to Nextcloud 18.0.4 * Sat Feb 08 2020 Ivan Chavero - 18.0.0-1 - Refactor spec file - Update to Nextcoud 18.0.0 * Wed Jan 29 2020 Fedora Release Engineering - 10.0.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 10.0.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 10.0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Jan 9 2019 Remi Collet - 10.0.4-6 - drop dependency on php-password-compat #1658730 - allow php-smbclient 1.0.0 #1663672 - allow doctrine/dbal 2.x * Fri Jul 13 2018 Fedora Release Engineering - 10.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 10.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 10.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Mar 25 2017 Shawn Iwinski - 10.0.4-2 - Add max versions to dependencies to limit each to 1 major version - Update some dependencies to use php-composer(*) instead of package names - Prepare for php-composer(google/apiclient) version 2 and new version 1 package * Tue Feb 28 2017 James Hogarth - 10.0.4-1 - update to 10.0.4 - Add migration from owncloud documentation - Add systemd timer for background jobs * Wed Feb 08 2017 James Hogarth - 10.0.3-1 - update to 10.0.3 * Thu Oct 06 2016 James Hogarth - 10.0.1-1 - update to 10.0.1 * Mon Aug 01 2016 James Hogarth - 9.0.53-5 - Use lua to have a common srpm between epel7 and fedora * Fri Jul 29 2016 James Hogarth - 9.0.53-4 - Don't unbundle javascript on EPEL7 due to versioning issues * Fri Jul 29 2016 James Hogarth - 9.0.53-3 - Unbundle javascript libraries from core where possible * Tue Jul 26 2016 James Hogarth - 9.0.53-2 - Update the autoloader to use the path from the approved package * Tue Jul 19 2016 James Hogarth - 9.0.53-1 - New release 9.0.53 * Thu Jul 14 2016 James Hogarth - 9.0.52-1 - Initial nextcloud build