Re: New mpd available

Paulo Cavalcanti <[email protected]> Thu, 25 Jul 2013 07:25:10 -0300
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <CAMgUmnnQPacLS4V0CLTmtLc1bZoEoa8uiv_yE_86M_E1w8M1hQ@mail.gmail.com>
--===============3215214299040037406==
Content-Type: multipart/alternative; boundary=089e01182610e2d73b04e253706e

--089e01182610e2d73b04e253706e
Content-Type: text/plain; charset=ISO-8859-1

Hi,

the version for F17 uses systemd, ant the other for rhel6, does not.

What version do you mean?




On Tue, Jul 23, 2013 at 8:51 AM, Kim Bisgaard
<[email protected]>wrote:

>  Hi Paulo,
>
> Could I persuade you to create the directory with the socket file in the
> package? This prevents the package to work on distributions with systemd.
>
> The spec-file-fu is something like the following:
> file mpd.tpmfilesd with this line:
> d /var/run/mpd 0755 mpd audio -
>
> Source10: mpd.tmpfilesd
>
> %if %{with systemd}
> #install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_tmpfilesdir}/mpd.conf
> install -p -D -m 644 %{SOURCE10} $RPM_BUILD_ROOT/etc/tmpfiles.d/mpd.conf
> %endif
>
> Regards,
> Kim
>
>
>
> On 2013-07-10 14:30, Paulo Cavalcanti wrote:
>
>   Hi, Axel
>
>  I have two versions. One for Fedora, which uses mpd.service,
>  and another for rhel6 with /etc/rc.d/init.d/mpd.
>
>  The fedora version is the same we had before, but the rhel6 will allow
>  an upgrade from the previous 0.16.7 we have at ATrpms.
>
>  Thanks.
>
>
> http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm
>
>
> http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm
>
>
>
> --
> Paulo Roma Cavalcanti
> LCG - UFRJ
>
>
> _______________________________________________
> atrpms-devel mailing [email protected]://lists.atrpms.net/mailman/listinfo/atrpms-devel
>
>
>
> _______________________________________________
> atrpms-devel mailing list
> [email protected]
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel
>



-- 
Paulo Roma Cavalcanti
DCC - UFRJ

--089e01182610e2d73b04e253706e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Hi,<br><br></div>the version for F17 uses system=
d, ant the other for rhel6, does not.<br><br></div>What version do you mean=
?<br><div><br><br></div></div><div class=3D"gmail_extra"><br><br><div class=
=3D"gmail_quote">
On Tue, Jul 23, 2013 at 8:51 AM, Kim Bisgaard <span dir=3D"ltr">&lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">kim+j2@alleroedd=
erne.adsl.dk</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    Hi Paulo,<br>
    <br>
    Could I persuade you to create the directory with the socket file in
    the package? This prevents the package to work on distributions with
    systemd.<br>
    <br>
    The spec-file-fu is something like the following:<br>
    file mpd.tpmfilesd with this line:<br>
    d /var/run/mpd 0755 mpd audio -<br>
    <br>
    Source10: mpd.tmpfilesd<br>
    <br>
    %if %{with systemd}<br>
    #install -p -D -m 644 %{SOURCE10}
    $RPM_BUILD_ROOT%{_tmpfilesdir}/mpd.conf<br>
    install -p -D -m 644 %{SOURCE10}
    $RPM_BUILD_ROOT/etc/tmpfiles.d/mpd.conf<br>
    %endif<br>
    <br>
    Regards,<br>
    Kim<div><div class=3D"h5"><br>
    <br>
    <br>
    <div>On 2013-07-10 14:30, Paulo Cavalcanti
      wrote:<br>
    </div>
    </div></div><blockquote type=3D"cite"><div><div class=3D"h5">
     =20
      <div dir=3D"ltr">
        <div>
          <div>
            <div>
              <div>Hi, Axel<br>
                <br>
              </div>
              I have two versions. One for Fedora, which uses
              mpd.service,<br>
            </div>
            and another for rhel6 with /etc/rc.d/init.d/mpd.<br>
            <br>
          </div>
          The fedora version is the same we had before, but the rhel6
          will allow<br>
        </div>
        an upgrade from the previous 0.16.7 we have at ATrpms.<br>
        <div>
          <div><br>
            <div>
              <div>
                <div>Thanks.<br>
                </div>
                <div><br>
                  <br>
                  <a href=3D"http://people.atrpms.net/%7Epcavalcanti/srpms/=
mpd-0.17.4-25.el6.src.rpm" target=3D"_blank">http://people.atrpms.net/~pcav=
alcanti/srpms/mpd-0.17.4-25.el6.src.rpm</a><br>
                  <br>
                  <br>
                  <a href=3D"http://people.atrpms.net/%7Epcavalcanti/srpms/=
mpd-0.17.4-27.fc17.src.rpm" target=3D"_blank">http://people.atrpms.net/~pca=
valcanti/srpms/mpd-0.17.4-27.fc17.src.rpm</a><br>
                  <br>
                  <br>
                  <br>
                  -- <br>
                  Paulo Roma Cavalcanti<br>
                  LCG - UFRJ
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
atrpms-devel mailing list
<a href=3D"mailto:[email protected]" target=3D"_blank">atrpms-devel@a=
trpms.net</a>
<a href=3D"http://lists.atrpms.net/mailman/listinfo/atrpms-devel" target=3D=
"_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a></pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
atrpms-devel mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"http://lists.atrpms.net/mailman/listinfo/atrpms-devel" target=3D=
"_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a><br></blo=
ckquote></div><br><br clear=3D"all"><br>-- <br>Paulo Roma Cavalcanti<br>DCC=
 - UFRJ
</div>

--089e01182610e2d73b04e253706e--


--===============3215214299040037406==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline