Re: New mpd available

Kim Bisgaard <[email protected]> Tue, 23 Jul 2013 13:51:03 +0200
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============2473045075473852786==
Content-Type: multipart/alternative;
 boundary="------------040307030109090404070006"

This is a multi-part message in MIME format.
--------------040307030109090404070006
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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/%7Epcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm>
>
>
> http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm 
> <http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm>
>
>
>
> -- 
> Paulo Roma Cavalcanti
> LCG - UFRJ
>
>
> _______________________________________________
> atrpms-devel mailing list
> [email protected]
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel


--------------040307030109090404070006
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#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<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2013-07-10 14:30, Paulo Cavalcanti
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAMgUmn=0H7ccB9NrxndYCJ5dseR+nMPSWnU2PDmG4Z0rYwHwaA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Context-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="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 moz-do-not-send="true"
href="http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm">http://people.atrpms.net/~pcavalcanti/srpms/mpd-0.17.4-25.el6.src.rpm</a><br>
                  <br>
                  <br>
                  <a moz-do-not-send="true"
href="http://people.atrpms.net/%7Epcavalcanti/srpms/mpd-0.17.4-27.fc17.src.rpm">http://people.atrpms.net/~pcavalcanti/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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
atrpms-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://lists.atrpms.net/mailman/listinfo/atrpms-devel">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>

--------------040307030109090404070006--


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