mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spec: fix spec file some more
This commit is contained in:
parent
d8067da158
commit
f91467b50e
1 changed files with 20 additions and 3 deletions
23
pinos.spec
23
pinos.spec
|
|
@ -36,7 +36,13 @@ BuildRequires: intltool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xmltoman
|
BuildRequires: xmltoman
|
||||||
BuildRequires: tcp_wrappers-devel
|
BuildRequires: tcp_wrappers-devel
|
||||||
BuildRequires: gstreamer1-devel >= 1.4.5
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
||||||
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32
|
||||||
|
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.5.0
|
||||||
|
BuildRequires: pkgconfig(gstreamer-base-1.0) >= 1.5.0
|
||||||
|
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.5.0
|
||||||
|
BuildRequires: pkgconfig(gstreamer-net-1.0) >= 1.5.0
|
||||||
|
BuildRequires: pkgconfig(gstreamer-allocators-1.0) >= 1.5.0
|
||||||
BuildRequires: systemd-devel >= 184
|
BuildRequires: systemd-devel >= 184
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
|
@ -117,12 +123,17 @@ make check \
|
||||||
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
getent group pinos >/dev/null || groupadd -r pinos
|
||||||
|
getent passwd pinos >/dev/null || \
|
||||||
|
useradd -r -g pinos -d /var/run/pinos -s /sbin/nologin -c "Pinos System Daemon" pinos
|
||||||
|
exit 0
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README LICENSE GPL LGPL
|
%license LICENSE GPL LGPL
|
||||||
|
%doc README
|
||||||
%{_sysconfdir}/xdg/autostart/pinos.desktop
|
%{_sysconfdir}/xdg/autostart/pinos.desktop
|
||||||
## already owned by -libs, see also https://bugzilla.redhat.com/show_bug.cgi?id=909690
|
## already owned by -libs, see also https://bugzilla.redhat.com/show_bug.cgi?id=909690
|
||||||
#dir %{_sysconfdir}/pinos/
|
#dir %{_sysconfdir}/pinos/
|
||||||
|
|
@ -134,7 +145,8 @@ make check \
|
||||||
%{_mandir}/man1/pinos.1*
|
%{_mandir}/man1/pinos.1*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%doc README LICENSE GPL LGPL
|
%license LICENSE GPL LGPL
|
||||||
|
%doc README
|
||||||
#%dir %{_sysconfdir}/pinos/
|
#%dir %{_sysconfdir}/pinos/
|
||||||
#%dir %{_libdir}/pinos/
|
#%dir %{_libdir}/pinos/
|
||||||
|
|
||||||
|
|
@ -147,5 +159,10 @@ make check \
|
||||||
%{_mandir}/man1/pinos-monitor.1*
|
%{_mandir}/man1/pinos-monitor.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 9 2015 Wim Taymans <wtaymans@redhat.com> - 0.1.0-2
|
||||||
|
- Fix BuildRequires to use pkgconfig, add all dependencies found in configure.ac
|
||||||
|
- Add user and groups if needed
|
||||||
|
- Add license to %%licence
|
||||||
|
|
||||||
* Tue Sep 1 2015 Wim Taymans <wtaymans@redhat.com> - 0.1.0-1
|
* Tue Sep 1 2015 Wim Taymans <wtaymans@redhat.com> - 0.1.0-1
|
||||||
- First version
|
- First version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue