Commit 6bf8fe0a authored by Alexey Shabalin's avatar Alexey Shabalin

0.18.14-alt1

- 0.18.14 - fix init script - add systemd unit files - add tmpfiles conf
parent fb315e7f
tar: v@version@:.
diff: v@version@:. alt:. name=@name@-@version@-@release@.patch
copy: *.conf *.in *.logrotate
copy: *.conf *.in *.logrotate *.tmpfile
object 8bfdb4ed0c09a576aacbbe01e93b2673360cf817
type commit
tag release-0.18.11
tagger Max Kellermann <max@duempel.org> 1399912174 +0200
release v0.18.11
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJTcPbuAAoJECNuiljG20US+LsQAI5LcUiQ2AxfDdXfEkIW+ryQ
U5htp4RAAizVFEAdgzdDOoHBVefkvwij6G9ND9WAbJRsUOZs62XwlnOFaB/uQPhd
VvoNIQLmuUNxltF1itaCTJ0UJkXi6ObVExpwMScGI242uUmoNnxwsWxDxyy2s4bn
On/OwT64zTOsPTjkYGdfGncwx4dhQc2KJvGGD6y/lMhxUnn3NoKG/VOgleN4ALcL
KQ0SFQOFbUHJcvMXYdMzhe426d7GiHzFVIfdU16yJz47/xHDmaM+VVJQCOF68rrw
kyb2POxR4VXhPMfIleF2RiCopvDGSvQfUE3jhQjKBgZE2NeFeI/5N6JcWbZgFJ/J
4ez3DcjSD1Oeoz6gzaq1QybCku4EZTvPa6Kbb5/84JNKmVdb/JowGF0L18bwTbGv
y5D5HN3zTdmBXwsiDnTNDtuwaSejvIDTN1k4AkdQ9mLMIMT+13NHLBs1rDE2JnlG
3xhXrIvwhUBdE1A4uFj8duzk11EWzNI+ltJBRnG8uEzAJxpv5Khiwmj2GciS6s5r
wp1YUIUA0BhrEgrtoTdE7x13lXkDrmydcJ5kA0kArJFQALliE7kivyg1gtrcNRj1
7fDRAb9QOxaJrrsJzM9f9pDaIttHRjRvurFtikD90oaRE1g+6ygeScmYJDPhPjvU
R6PxzvsMCn8kJFWq2ARg
=Ubmu
-----END PGP SIGNATURE-----
object eaf675dc92fbe0143fdc0e9c4234bd78a889decf
type commit
tag v0.18.14
tagger Max Kellermann <max@duempel.org> 1410455649 +0200
release v0.18.14
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJUEdhhAAoJECNuiljG20USwKkP/1MIm6J2ydXEP81RD/3llz6h
2t8EK94cEIdb6bA6goBI0Pipz7YAtmjgfnDRW90AvFcxNuVt87esxG82gVOiosvo
7LByehQ2kq/w0evILWy8X1eAvqIk/PvG6T/pZcPrrj7kHrZaIOXh0SVTZ5NLq7HC
drunwHQxgVntB/410h7BKEFbg1qWHPGxfTyf6qJsZPkHfr5QcgbHrYN7QCr1eUv9
mARx4Nxo9MXuiqOJOS7ck80V68nbnFdxjNXSflUkl94O0MfiPc741Snbe7qnHI91
I+BQYCBExKzoqFszuuRZQjxFpJalg4Y/9/stn6+dYemtC3WpreGHogweUBlPZ5if
wJRL/A/zHAY0xE/hohiEqY6pHZWmVolbumtp7LfNR7dejOetn0IPW+KnFnjYec21
qkJG/mq8fHStdQMTzp5NDoqh8VrPaBAAhjgP3suZY2wZ5xfbLXHk/HNKdQLvX8s3
Vv4wcDNsfbOJ/1ZTBo/nqceTkOyHrov5cDSotYnO1hs963vyk3LFwY2IRCgPdOR0
7o77JmKHZnzZSw60CIT6Mf1+rx38x++Rq3UGDYuH4B4L4VqXv2WrUp32w1VzHQVO
Dcd/dxwW/sB1SwMdi5J4tIBJCSn5mF7yvBPR0PB5NiZiX1YB6hEqmaXYfwLCqujo
xyWy8gPJbmYw6XJPmw6A
=3azu
-----END PGP SIGNATURE-----
c52697f8255b1a5647e69961808d2e685f3e055d alt
c52697f8255b1a5647e69961808d2e685f3e055d v0.18.11
c5ec6a1e92dadb85155ace36a3bf7f39d7c70d43 alt
edb25e2f1f73a7bebfc8bcd84a85e117b724da72 v0.18.14
......@@ -56,8 +56,8 @@
%define Name MPD
Name: mpd
Version: 0.18.11
Release: alt1.1
Version: 0.18.14
Release: alt1
Summary: Music Player Daemon (%Name) allows remote access for playing music and managing playlists
License: %gpl2plus
......@@ -70,6 +70,7 @@ Source1: %name.conf
Source2: %name.sys.conf.in
Source3: %name.init.in
Source4: %name.logrotate
Source5: %name.tmpfile
Patch: %name-%version-%release.patch
Packager: Alexey Rusakov <ktirf@altlinux.org>
......@@ -105,6 +106,7 @@ BuildRequires: zlib-devel gcc-c++
%{?_enable_sqlite:BuildRequires: libsqlite3-devel}
%{?_enable_fluidsynth:BuildRequires: libfluidsynth-devel}
%{?_enable_doc:BuildRequires: docbook-dtds doxygen xmlto >= 0.0.21-alt2}
BuildRequires: systemd-devel
%if %zeroconf == avahi
BuildRequires: libavahi-glib-devel
%endif
......@@ -206,6 +208,7 @@ sed -i 's/\[mad\]/[libmad]/' configure.ac
%{subst_enable fluidsynth} \
%{subst_enable wildmidi} \
%{subst_enable_to doc documentation} \
--with-systemdsystemunitdir=/lib/systemd/system \
--with-zeroconf=%zeroconf \
--docdir=%_docdir/%name-%version
%make_build
......@@ -215,16 +218,17 @@ bzip2 --best --keep --force NEWS
%install
%makeinstall_std protocoldir=%_docdir/%name-%version/html
ln -s html %buildroot%_docdir/%name-%version/protocol
install -d %buildroot{%_localstatedir/%name/playlists,{/var/run,%_logdir}/%name,%_sysconfdir,%_initdir}
install -d %buildroot{%_localstatedir/%name/playlists,{%_runtimedir,%_logdir}/%name,%_sysconfdir,%_initdir,%_tmpfilesdir}
install -m 0644 %SOURCE1 %buildroot%_sysconfdir/%name.conf
sed 's/@MPD_USER@/%mpd_user/g' %SOURCE2 > %buildroot%_sysconfdir/%name.sys.conf
chmod 640 %buildroot%_sysconfdir/%name.sys.conf
sed 's/@MPD_USER@/%mpd_user/g' %SOURCE3 > %buildroot%_initdir/%name
chmod 755 %buildroot%_initdir/%name
sed 's/@MPD_USER@/%mpd_user/g' %SOURCE5 > %buildroot%_tmpfilesdir/%name.conf
chmod 644 %buildroot%_tmpfilesdir/%name.conf
install -D -m 0644 %SOURCE4 %buildroot%_sysconfdir/logrotate.d/%name
bzip2 --best %buildroot%_docdir/%name-%version/NEWS
%pre
%_sbindir/groupadd -r -f %mpd_group &>/dev/null ||:
%_sbindir/useradd -r -n -M -s /dev/null -d %_localstatedir/%name -g %mpd_group \
......@@ -257,9 +261,11 @@ bzip2 --best %buildroot%_docdir/%name-%version/NEWS
%_man1dir/*
%_man5dir/*
%_initdir/*
%_unitdir/*
%_tmpfilesdir/*
%attr(775,root,%mpd_group) %dir %_localstatedir/%name
%attr(775,root,%mpd_group) %dir %_localstatedir/%name/playlists
%attr(775,root,%mpd_group) %dir /var/run/%name
%attr(775,root,%mpd_group) %dir %_runtimedir/%name
%attr(775,root,%mpd_group) %dir %_logdir/%name
......@@ -281,6 +287,12 @@ bzip2 --best %buildroot%_docdir/%name-%version/NEWS
%changelog
* Fri Sep 12 2014 Alexey Shabalin <shaba@altlinux.ru> 0.18.14-alt1
- 0.18.14
- fix init script
- add systemd unit files
- add tmpfiles conf
* Thu Sep 04 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.18.11-alt1.1
- Rebuilt with new audiofile
......
d /var/run/mpd 0775 root _mpd -
d /var/run/mpd 0775 root @MPD_USER@ -
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment