From 66c225e851c58946227e047321fbba1cc793532ef14daa8540a0204f6f5f8f9e Mon Sep 17 00:00:00 2001 From: Paolo Stivanin Date: Wed, 8 Jan 2025 10:08:22 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=202.4.1=20=20=20*=20Changes=20?= =?UTF-8?q?=20=20=20=20-=20Fix=20Dockerfile=20(#3335)=20-=20Update=20to=20?= =?UTF-8?q?2.4.0=20=20=20Rerun=20gerbera=20--create-config=3D"Boxlayout|Dy?= =?UTF-8?q?namicContainer"=20=20=20and=20merge=20changes=20to=20the=20boxl?= =?UTF-8?q?ayout=20and=20containers=20the=20get=20support=20for=20upnp=20s?= =?UTF-8?q?hortcut=20list=20feature.=20=20=20There=20are=20some=20notewort?= =?UTF-8?q?hy=20new=20features=20in=20this=20release:=20=20=20-=20the=20se?= =?UTF-8?q?arch=20page:=20Query=20your=20database=20with=20UPnP=20search?= =?UTF-8?q?=20statements=20in=20Web=20UI,=20=20=20-=20the=20dark=20mode=20?= =?UTF-8?q?for=20the=20Web=20UI,=20=20=20-=20access=20permissions=20for=20?= =?UTF-8?q?files:=20Restrict=20access=20to=20directories=20via=20client=20?= =?UTF-8?q?groups,=20=20=20-=20support=20for=20UPnP=20filters=20in=20reque?= =?UTF-8?q?sts,=20=20=20-=20support=20for=20UPnP=20CONTAINER=5FSHORTCUTS?= =?UTF-8?q?=20feature.=20=20=20*=20NEW=20Features=20=20=20=20=20-=20Config?= =?UTF-8?q?uration=20of=20ui=20handler=20to=20allow=20hosting=20of=20docs?= =?UTF-8?q?=20and=20doxygen=20output=20=20=20=20=20-=20Support=20for=20UPn?= =?UTF-8?q?P=20filters=20=20=20=20=20-=20Support=20for=20UPnP=20shortcuts?= =?UTF-8?q?=20=20=20=20=20-=20Search=20page=20in=20web=20UI=20=20=20=20=20?= =?UTF-8?q?-=20Command=20line=20options=20--create-config=20and=20--create?= =?UTF-8?q?-example-config=20support=20arguments=20=20=20=20=20-=20Provide?= =?UTF-8?q?=20packages=20for=20Ubuntu-24.10=20=20=20=20=20-=20Allow=20dele?= =?UTF-8?q?ting=20of=20client=20entries=20immediately=20=20=20*=20FIXES=20?= =?UTF-8?q?=20=20=20=20-=20Logic=20exceptions=20are=20reported=20=20=20=20?= =?UTF-8?q?=20-=20Handling=20of=20logging=20command=20line=20options=20=20?= =?UTF-8?q?=20=20=20-=20Handling=20of=20checkbox=20values=20on=20web=20ui?= =?UTF-8?q?=20=20=20=20=20-=20Access=20to=20cache=20option=20if=20thumbnai?= =?UTF-8?q?ler=20is=20disabled=20=20=20=20=20-=20Container=20creation=20in?= =?UTF-8?q?=20web=20ui=20=20=20=20=20-=20Handling=20of=20multi-valued=20ta?= =?UTF-8?q?gs=20in=20virtual=20paths=20=20=20=20=20-=20Increase=20of=20pup?= =?UTF-8?q?np=20threadpool=20size=20=20=20=20=20-=20Drop=20Build=20Support?= =?UTF-8?q?=20for=20Ubuntu=2023.04=20and=2023.10=20=20=20*=20Code=20Improv?= =?UTF-8?q?ements=20=20=20=20=20-=20Build=20without=20ffmpeg=20leaves=20op?= =?UTF-8?q?tion=20unset=20=20=20=20=20-=20Compatibility=20with=20ffmpeg=20?= =?UTF-8?q?>=206.0=20=20=20=20=20-=20Logging=20of=20build=20info=20with=20?= =?UTF-8?q?--compile-info=20=20=20=20=20-=20Update=20versions=20of=20libpu?= =?UTF-8?q?pnp=20(1.14.20),=20spdlog=20(1.15.0)=20=20=20=20=20-=20Update?= =?UTF-8?q?=20Build=20Environment=20=20=20=20=20-=20Update=20versions=20of?= =?UTF-8?q?=20js=20vendor=20files=20jquery-ui=20(v1.13.2=20->=20v1.14.1),?= =?UTF-8?q?=20js-cookie=20(v3.0.1=20->=20v3.0.5),=20@popperjs/core=20(v2.1?= =?UTF-8?q?1.6=20->=20v2.11.8)=20=20=20*=20Changes=20=20=20=20=20-=20Gerbe?= =?UTF-8?q?ra=202.4.0=20(#3330)=20=20=20=20=20-=20Fix=20Artist=20Image=20i?= =?UTF-8?q?n=20Virtual=20Layout=20(#3333)=20=20=20=20=20-=20Set=20correct?= =?UTF-8?q?=20image=20size=20for=20xx-large=20pictures=20(#3332)=20=20=20?= =?UTF-8?q?=20=20-=20Enhance=20xsd=20(#3329)=20=20=20=20=20-=20Validate=20?= =?UTF-8?q?XSD=20CI=20workflow=20(#3328)=20=20=20=20=20-=20Gerbera=20welco?= =?UTF-8?q?mes=202025=20(#3327)=20=20=20=20=20-=20Fix=20container=20filter?= =?UTF-8?q?s=20(#3325)=20=20=20=20=20-=20Handle=20int=20parse=20error=20in?= =?UTF-8?q?=20config=20(#3324)=20=20=20=20=20-=20Debian:=20pack=20postinst?= =?UTF-8?q?=20file=20(#3320)=20=20=20=20=20-=20Fix=20SIMPLE=5FDATE=20(#331?= =?UTF-8?q?8)=20=20=20=20=20-=20Mention=20systemd=20as=20optional=20packag?= =?UTF-8?q?e=20(#3317)=20=20=20=20=20-=20Web=20UI:=20Add=20dark=20mode=20(?= =?UTF-8?q?#3309)=20=20=20=20=20-=20Fix=20config2.xsd:=20The=20QName=20val?= =?UTF-8?q?ue=20upnp-properties=20does=20not=20resolve=20to=20=E2=80=A6=20?= =?UTF-8?q?(#3314)=20=20=20=20=20-=20Dynamic=20banner=20colour=20in=20Read?= =?UTF-8?q?me=20(#3308)=20=20=20=20=20-=20Update=20build=20for=20openSuSE?= =?UTF-8?q?=20(#3307)=20=20=20=20=20-=20Fix=20parsing=20enum=20config=20va?= =?UTF-8?q?lues=20(#3304)=20=20=20=20=20-=20Update=20docker=20settings=20(?= =?UTF-8?q?#3301)=20=20=20=20=20-=20Clients:=20Support=20deleting=20entrie?= =?UTF-8?q?s=20(#3299)=20=20=20=20=20-=20Debian:=20create=20changelog=20fi?= =?UTF-8?q?le=20(#3297)=20=20=20=20=20-=20Fix=20systemd=20detection=20(#32?= =?UTF-8?q?95)=20=20=20=20=20-=20ConfigGenerator:=20Export=20defaults=20fo?= =?UTF-8?q?r=20more=20entries=20(#3293)=20=20=20=20=20-=20UPnP=20filters:?= =?UTF-8?q?=20provided=20defaults=20for=20filter=20properties=20(#3292)=20?= =?UTF-8?q?=20=20=20=20-=20Scripting:=20Clean=20up=20property=20handling?= =?UTF-8?q?=20(#3290)=20=20=20=20=20-=20Update=20and=20refactor=20MySQL=20?= =?UTF-8?q?code=20(#3289)=20=20=20=20=20-=20Improve=20compile=20info=20con?= =?UTF-8?q?tents=20(#3286)=20=20=20=20=20-=20actions:=20clang-format=2018?= =?UTF-8?q?=20(#3257)=20=20=20=20=20-=20deps:=20Fix=20build=20with=20ffmpe?= =?UTF-8?q?g=206.1=20(#3256)=20=20=20=20=20-=20Fix=20CodeQL=20messages=20(?= =?UTF-8?q?#3285)=20=20=20=20=20-=20Config:=20Unify=20path=20handling=20(#?= =?UTF-8?q?3282)=20=20=20=20=20-=20Add=20workflow=20for=20Release=20Drafte?= =?UTF-8?q?r=20(#3277)=20=20=20=20=20-=20Test:=20Fix=20CMake=20commands=20?= =?UTF-8?q?(#3284)=20=20=20=20=20-=20Drop=20Build=20Support=20for=20Ubuntu?= =?UTF-8?q?=2023.04=20(#3283)=20=20=20=20=20-=20Web=20UI:=20Cleanup=20disp?= =?UTF-8?q?lay=20of=20item=20number=20(#3280)=20=20=20=20=20-=20Handle=20b?= =?UTF-8?q?roken=20ContainerImage=20(#3278)=20=20=20=20=20-=20Update=20Rel?= =?UTF-8?q?ease=20Template=20(#3276)=20=20=20=20=20-=20Drop=20Build=20Supp?= =?UTF-8?q?ort=20for=20Ubuntu=2023.10=20(#3275)=20=20=20=20=20-=20Update?= =?UTF-8?q?=20js=20vendor=20files=20(#3274)=20=20=20=20=20-=20Add=20variab?= =?UTF-8?q?les=20to=20docker=20images=20(#3267)=20=20=20=20=20-=20Fix=20Ha?= =?UTF-8?q?ndling=20command=20line=20options=20(#3273)=20=20=20=20=20-=20U?= =?UTF-8?q?PnP=20Shortcuts=20feature=20(#3261)=20=20=20=20=20-=20Access=20?= =?UTF-8?q?permissions=20for=20files=20by=20client=20(#3255)=20=20=20=20?= =?UTF-8?q?=20-=20Fix=20autoscan=20issue=20with=20empty=20filename=20(#325?= =?UTF-8?q?4)=20=20=20=20=20-=20Update=20Build=20Environment=20(#3252)=20?= =?UTF-8?q?=20=20=20=20-=20Resource=20directory=20configuration=20and=20cl?= =?UTF-8?q?eanup=20collection=20(#3251)=20=20=20=20=20-=20Bump=20cookie,?= =?UTF-8?q?=20express=20and=20socket.io=20in=20/gerbera-web=20(#3249)=20?= =?UTF-8?q?=20=20=20=20-=20Web=20UI:=20Fix=20detail=20display=20(#3247)=20?= =?UTF-8?q?=20=20=20=20-=20Increase=20size=20of=20pupnp=20threadpool=20(#3?= =?UTF-8?q?244)=20=20=20=20=20-=20Web=20UI:=20Add=20Search=20page=20(#3242?= =?UTF-8?q?)=20=20=20=20=20-=20Improve=20handling=20multivalue=20tags=20in?= =?UTF-8?q?=20virtual=20paths=20(#3241)=20=20=20=20=20-=20Fix=20creating?= =?UTF-8?q?=20containers=20in=20web=20ui=20(#3240)=20=20=20=20=20-=20UPnP:?= =?UTF-8?q?=20Add=20support=20for=20filters=20(#3233)=20=20=20=20=20-=20Fi?= =?UTF-8?q?x=20access=20to=20cache=20option=20if=20thumbnailer=20disabled?= =?UTF-8?q?=20(#3232)=20=20=20=20=20-=20Fix=20build=20without=20ffmpeg=20(?= =?UTF-8?q?#3231)=20=20=20=20=20-=20Fix=20handling=20of=20checkbox=20value?= =?UTF-8?q?s=20on=20web=20ui=20(#3229)=20=20=20=20=20-=20Config:=20UI=20ha?= =?UTF-8?q?ndler=20mimetypes=20and=20CSP=20(#3227)=20=20=20=20=20-=20Bump?= =?UTF-8?q?=20master=20(#3226)=20-=20Fix=20some=20errors=20in=20post=20sec?= =?UTF-8?q?tion=20from=20spec=20file.=20-=20Fix=20rights=20for=20config=20?= =?UTF-8?q?and=20log=20directories=20and=20files.=20-=20Fix=20wrong=20grou?= =?UTF-8?q?p=20in=20gerbera.sysusers.in=20-=20Move=20sqlite=20gerbera.db?= =?UTF-8?q?=20from=20/etc/gerbera=20to=20/var/lib/gerbera=20for=20new=20in?= =?UTF-8?q?stallations.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/gerbera?expand=0&rev=70 --- gerbera-2.3.0.tar.gz | 3 -- gerbera-2.4.1.tar.gz | 3 ++ gerbera.changes | 109 +++++++++++++++++++++++++++++++++++++++++++ gerbera.spec | 54 +++++++++++++-------- gerbera.sysusers.in | 3 +- 5 files changed, 148 insertions(+), 24 deletions(-) delete mode 100644 gerbera-2.3.0.tar.gz create mode 100644 gerbera-2.4.1.tar.gz diff --git a/gerbera-2.3.0.tar.gz b/gerbera-2.3.0.tar.gz deleted file mode 100644 index 73f9d7b..0000000 --- a/gerbera-2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c9f7956d9e94a9b8ded7de809ba8496ad1a2279b624ab121652dff2a28a1a69e -size 6255947 diff --git a/gerbera-2.4.1.tar.gz b/gerbera-2.4.1.tar.gz new file mode 100644 index 0000000..624af64 --- /dev/null +++ b/gerbera-2.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:563ee3941b0347a91f5a3e9fe151032bd0e26868bfe7b7c68a7c095f8b07677b +size 9594796 diff --git a/gerbera.changes b/gerbera.changes index 3b777c3..9bdcd52 100644 --- a/gerbera.changes +++ b/gerbera.changes @@ -1,3 +1,112 @@ +------------------------------------------------------------------- +Tue Jan 7 18:46:28 UTC 2025 - ecsos + +- Update to 2.4.1 + * Changes + - Fix Dockerfile (#3335) + +------------------------------------------------------------------- +Tue Jan 7 08:39:20 UTC 2025 - ecsos + +- Update to 2.4.0 + + Rerun gerbera --create-config="Boxlayout|DynamicContainer" + and merge changes to the boxlayout and containers the get support for upnp shortcut list feature. + + There are some noteworthy new features in this release: + - the search page: Query your database with UPnP search statements in Web UI, + - the dark mode for the Web UI, + - access permissions for files: Restrict access to directories via client groups, + - support for UPnP filters in requests, + - support for UPnP CONTAINER_SHORTCUTS feature. + + * NEW Features + - Configuration of ui handler to allow hosting of docs and doxygen output + - Support for UPnP filters + - Support for UPnP shortcuts + - Search page in web UI + - Command line options --create-config and --create-example-config support arguments + - Provide packages for Ubuntu-24.10 + - Allow deleting of client entries immediately + * FIXES + - Logic exceptions are reported + - Handling of logging command line options + - Handling of checkbox values on web ui + - Access to cache option if thumbnailer is disabled + - Container creation in web ui + - Handling of multi-valued tags in virtual paths + - Increase of pupnp threadpool size + - Drop Build Support for Ubuntu 23.04 and 23.10 + * Code Improvements + - Build without ffmpeg leaves option unset + - Compatibility with ffmpeg > 6.0 + - Logging of build info with --compile-info + - Update versions of libpupnp (1.14.20), spdlog (1.15.0) + - Update Build Environment + - Update versions of js vendor files jquery-ui (v1.13.2 -> v1.14.1), js-cookie (v3.0.1 -> v3.0.5), @popperjs/core (v2.11.6 -> v2.11.8) + * Changes + - Gerbera 2.4.0 (#3330) + - Fix Artist Image in Virtual Layout (#3333) + - Set correct image size for xx-large pictures (#3332) + - Enhance xsd (#3329) + - Validate XSD CI workflow (#3328) + - Gerbera welcomes 2025 (#3327) + - Fix container filters (#3325) + - Handle int parse error in config (#3324) + - Debian: pack postinst file (#3320) + - Fix SIMPLE_DATE (#3318) + - Mention systemd as optional package (#3317) + - Web UI: Add dark mode (#3309) + - Fix config2.xsd: The QName value upnp-properties does not resolve to … (#3314) + - Dynamic banner colour in Readme (#3308) + - Update build for openSuSE (#3307) + - Fix parsing enum config values (#3304) + - Update docker settings (#3301) + - Clients: Support deleting entries (#3299) + - Debian: create changelog file (#3297) + - Fix systemd detection (#3295) + - ConfigGenerator: Export defaults for more entries (#3293) + - UPnP filters: provided defaults for filter properties (#3292) + - Scripting: Clean up property handling (#3290) + - Update and refactor MySQL code (#3289) + - Improve compile info contents (#3286) + - actions: clang-format 18 (#3257) + - deps: Fix build with ffmpeg 6.1 (#3256) + - Fix CodeQL messages (#3285) + - Config: Unify path handling (#3282) + - Add workflow for Release Drafter (#3277) + - Test: Fix CMake commands (#3284) + - Drop Build Support for Ubuntu 23.04 (#3283) + - Web UI: Cleanup display of item number (#3280) + - Handle broken ContainerImage (#3278) + - Update Release Template (#3276) + - Drop Build Support for Ubuntu 23.10 (#3275) + - Update js vendor files (#3274) + - Add variables to docker images (#3267) + - Fix Handling command line options (#3273) + - UPnP Shortcuts feature (#3261) + - Access permissions for files by client (#3255) + - Fix autoscan issue with empty filename (#3254) + - Update Build Environment (#3252) + - Resource directory configuration and cleanup collection (#3251) + - Bump cookie, express and socket.io in /gerbera-web (#3249) + - Web UI: Fix detail display (#3247) + - Increase size of pupnp threadpool (#3244) + - Web UI: Add Search page (#3242) + - Improve handling multivalue tags in virtual paths (#3241) + - Fix creating containers in web ui (#3240) + - UPnP: Add support for filters (#3233) + - Fix access to cache option if thumbnailer disabled (#3232) + - Fix build without ffmpeg (#3231) + - Fix handling of checkbox values on web ui (#3229) + - Config: UI handler mimetypes and CSP (#3227) + - Bump master (#3226) + +- Fix some errors in post section from spec file. +- Fix rights for config and log directories and files. +- Fix wrong group in gerbera.sysusers.in +- Move sqlite gerbera.db from /etc/gerbera to /var/lib/gerbera for new installations. + ------------------------------------------------------------------- Mon Dec 30 07:40:57 UTC 2024 - Paolo Stivanin diff --git a/gerbera.spec b/gerbera.spec index 3db7d1c..4eafc68 100644 --- a/gerbera.spec +++ b/gerbera.spec @@ -1,7 +1,7 @@ # # spec file for package gerbera # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,7 +21,7 @@ %endif Name: gerbera -Version: 2.3.0 +Version: 2.4.1 Release: 0 Summary: UPnP Media Server License: GPL-2.0-only @@ -42,9 +42,9 @@ BuildRequires: file-devel BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: sysuser-tools -BuildRequires: pkgconfig(duktape) -BuildRequires: pkgconfig(exiv2) -BuildRequires: pkgconfig(fmt) +BuildRequires: pkgconfig(duktape) >= 2.6.0 +BuildRequires: pkgconfig(exiv2) >= 0.26 +BuildRequires: pkgconfig(fmt) >= 9.1.0 BuildRequires: pkgconfig(gmock) BuildRequires: pkgconfig(gmock_main) BuildRequires: pkgconfig(gtest) @@ -54,13 +54,13 @@ BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libebml) -BuildRequires: pkgconfig(libffmpegthumbnailer) -BuildRequires: pkgconfig(libmatroska) +BuildRequires: pkgconfig(libffmpegthumbnailer) >= 2.2.2 +BuildRequires: pkgconfig(libmatroska) >= 1.6.3 BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libupnp) >= 1.14.6 -BuildRequires: pkgconfig(pugixml) -BuildRequires: pkgconfig(spdlog) >= 1.8.1 -BuildRequires: pkgconfig(sqlite3) >= 3.7.11 +BuildRequires: pkgconfig(pugixml) >= 1.10 +BuildRequires: pkgconfig(spdlog) >= 1.11.0 +BuildRequires: pkgconfig(sqlite3) >= 3.35.5 BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(taglib) >= 1.12 BuildRequires: pkgconfig(uuid) @@ -108,8 +108,8 @@ rm -f web/.gitignore # server test hardcodes alpha strings sed -i -e '/test_server/d' test/CMakeLists.txt -sed -i -e 's/@USER@/gerbera/' %{SOURCE2} -sed -i -e 's/@GROUP@/gerbera/' %{SOURCE2} +#sed -i -e 's/@USER@/gerbera/' %%{SOURCE2} +#sed -i -e 's/@GROUP@/gerbera/' %%{SOURCE2} %build %cmake \ @@ -132,9 +132,10 @@ sed -i -e 's/@GROUP@/gerbera/' %{SOURCE2} %install %cmake_install -mkdir -p %{buildroot}%{_sysconfdir}/gerbera -touch %{buildroot}%{_sysconfdir}/gerbera/{gerbera.db,gerbera.html} -mkdir -p %{buildroot}%{_localstatedir}/log/gerbera +mkdir -p %{buildroot}%{_sysconfdir}/%{name} +touch %{buildroot}%{_sysconfdir}/%{name}/gerbera.html +mkdir -p %{buildroot}%{_localstatedir}/lib/%{name} +mkdir -p %{buildroot}%{_localstatedir}/log/%{name} touch %{buildroot}%{_localstatedir}/log/%{name} mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF' @@ -145,6 +146,12 @@ cat > %{buildroot}%{_sysconfdir}/logrotate.d/%{name} << 'EOF' missingok } EOF +cat > %{buildroot}%{_sysconfdir}/%{name}/_INFO_ << 'EOF' +gerbera.xml <- active configuration file +gerbera-example.xml <- example configuration with almost all options +gerbera-new.xml <- new configuration file after update of package +gerbera-diff.xml <- diff between gerbera.xml and gerbera-new.xml +EOF install -d %{buildroot}%{_sbindir} ln -s service %{buildroot}%{_sbindir}/rc%{name} @@ -171,14 +178,20 @@ install -D -m0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/nginx/vhosts.d/%{name}. %service_add_post %{name}.service # only do on install if [ "$1" -eq 1 ]; then + echo "o Create config.xml..." || : gerbera --create-config | sudo tee /etc/gerbera/config.xml || : - sed -i -e 's|/root/|/etc/gerbera|g' /etc/gerbera/config.xml + sed -i -e 's|/root/|/etc/gerbera|g' /etc/gerbera/config.xml || : + sed -i -e 's|gerbera.db|/var/lib/gerbera/gerbera.db|g' /etc/gerbera/config.xml || : fi # only do on upgrade if [ "$1" -gt 1 ]; then + echo "o Create config-diff.xml from own config to new config..." || : gerbera --create-config | sudo tee /etc/gerbera/config-new.xml || : - diff /etc/gerbera/config.xml /etc/gerbera/config-new.xml > config-diff.xml || : + sed -i -e 's|/root/|/etc/gerbera|g' /etc/gerbera/config-new.xml || : + sed -i -e 's|gerbera.db|/var/lib/gerbera/gerbera.db|g' /etc/gerbera/config-new.xml || : + diff /etc/gerbera/config.xml /etc/gerbera/config-new.xml > /etc/gerbera/config-diff.xml || : fi +echo "o Create new config-example.xml with almost all options..." || : gerbera --create-example-config | sudo tee /etc/gerbera/config-example.xml || : %preun @@ -190,9 +203,10 @@ gerbera --create-example-config | sudo tee /etc/gerbera/config-example.xml || : %files %license LICENSE.md %doc AUTHORS CONTRIBUTING.md ChangeLog.md README.SUSE -%attr(-,gerbera,gerbera)%dir %{_sysconfdir}/%{name}/ -%attr(-,gerbera,gerbera)%config(noreplace) %{_sysconfdir}/%{name}/* -%attr(-,gerbera,gerbera) %{_localstatedir}/log/%{name} +%dir %attr(0750,gerbera,gerbera) %{_sysconfdir}/%{name} +%attr(640,gerbera,gerbera)%config(noreplace) %{_sysconfdir}/%{name}/* +%dir %attr(0750,gerbera,gerbera) %{_localstatedir}/log/%{name} +%dir %attr(0750,gerbera,gerbera) %{_localstatedir}/lib/%{name} %dir %{_sysconfdir}/logrotate.d %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_bindir}/%{name} diff --git a/gerbera.sysusers.in b/gerbera.sysusers.in index 47e49f0..28334bf 100644 --- a/gerbera.sysusers.in +++ b/gerbera.sysusers.in @@ -1,2 +1,3 @@ u gerbera - "Gerbera daemon user" /var/lib/gerbera - -m gerbera video - - - +m gerbera gerbera - - - +m gerbera www - - -