post script: fix for calling tmpfiles_create macro [release 1.4.7-2mamba;Fri Dec 06 2024]
This commit is contained in:
parent
f4b28e972d
commit
d3cac962e0
24
colord.spec
24
colord.spec
@ -2,7 +2,7 @@
|
||||
%define colord_gid 65441
|
||||
Name: colord
|
||||
Version: 1.4.7
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: A system service that makes it easy to manage, install and generate color profiles
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -22,8 +22,11 @@ BuildRequires: libsqlite-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
BuildRequires: libudev-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: docbook5-xsl
|
||||
BuildRequires: vala-tools
|
||||
BuildRequires: argyllcms
|
||||
Provides: user(colord)
|
||||
Provides: group(colord)
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
@ -64,10 +67,6 @@ This package includes the %{name} API documentation.
|
||||
%build
|
||||
%meson
|
||||
|
||||
#\
|
||||
# -Denable-vala=true \
|
||||
# -Denable-sane=true
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
@ -85,13 +84,11 @@ if [ $1 -ge 1 ]; then
|
||||
/usr/sbin/groupadd colord -g %{colord_gid} &>/dev/null
|
||||
/usr/sbin/useradd -u %{colord_uid} -c 'Colord user' -d /dev/null \
|
||||
-s /bin/false colord -g %{colord_gid} 2>/dev/null
|
||||
systemctl -q daemon-reload
|
||||
systemd-tmpfiles --create colord.conf
|
||||
fi
|
||||
:
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%tmpfiles_create colord.conf
|
||||
:
|
||||
|
||||
%preun
|
||||
@ -102,14 +99,8 @@ if [ $1 -eq 0 ]; then
|
||||
fi
|
||||
:
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
#%{_sysconfdir}/colord.conf
|
||||
#%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ColorManager.conf
|
||||
#%{_sysconfdir}/dbus-1/system.d/org.freedesktop.colord-sane.conf
|
||||
%{_bindir}/cd-create-profile
|
||||
%{_bindir}/cd-fix-profile
|
||||
%{_bindir}/cd-iccdump
|
||||
@ -168,13 +159,11 @@ fi
|
||||
%{_includedir}/colord-1/colord/*.h
|
||||
%dir %{_includedir}/colord-1/colorhug
|
||||
%{_includedir}/colord-1/colorhug/*.h
|
||||
#%{_datadir}/vala/vapi/colord.vapi
|
||||
%{_libdir}/libcolord.so
|
||||
%{_libdir}/libcolorhug.so
|
||||
%{_libdir}/lib*private.so
|
||||
%{_datadir}/gir-1.0/Colorhug-1.0.gir
|
||||
%{_datadir}/gir-1.0/Colord-1.0.gir
|
||||
#%{_datadir}/vala/vapi/colord.vapi
|
||||
%{_libdir}/pkgconfig/colorhug.pc
|
||||
%{_libdir}/pkgconfig/colord.pc
|
||||
#%doc ChangeLog NEWS TODO
|
||||
@ -185,6 +174,9 @@ fi
|
||||
%{_datadir}/gtk-doc/html/%{name}/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.7-2mamba
|
||||
- post script: fix for calling tmpfiles_create macro
|
||||
|
||||
* Mon Jan 22 2024 Automatic Build System <autodist@openmamba.org> 1.4.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user