mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-29 08:39:42 +08:00
83c042ccda
Solution: install it if available. Download it from its repo as part of the OBS source run. Debian and Ubuntu always ship zmq.hpp in libzmq-dev, so do the same. In the RPM world it is in its own separate package, so don't do the same for RPM.
99 lines
3.5 KiB
Plaintext
99 lines
3.5 KiB
Plaintext
<services>
|
|
<service name="tar_scm">
|
|
<param name="url">https://github.com/zeromq/libzmq</param>
|
|
<param name="scm">git</param>
|
|
<param name="versionformat">@PARENT_TAG@+git%cd</param>
|
|
<param name="versionrewrite-pattern">v(.*)</param>
|
|
<param name="versionrewrite-replacement">\1</param>
|
|
<param name="exclude">.git</param>
|
|
<param name="changesgenerate">enable</param>
|
|
<param name="filename">zeromq</param>
|
|
</service>
|
|
|
|
<!-- embed zmq.hpp like Debian and Ubuntu do -->
|
|
<service name="download_url">
|
|
<param name="protocol">https</param>
|
|
<param name="host">github.com</param>
|
|
<param name="path">zeromq/cppzmq/archive/master.zip</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*master.zip</param>
|
|
<param name="files">*/zmq.hpp</param>
|
|
<param name="outfilename">debian.zmq.hpp</param>
|
|
</service>
|
|
|
|
<!-- extract redhat packaging -->
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/redhat/zeromq.spec</param>
|
|
<param name="outfilename">zeromq.spec</param>
|
|
</service>
|
|
|
|
<!-- extract debian packaging -->
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/zeromq.dsc.obs</param>
|
|
<param name="outfilename">zeromq.dsc</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/changelog</param>
|
|
<param name="outfilename">debian.changelog</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/compat</param>
|
|
<param name="outfilename">debian.compat</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/control</param>
|
|
<param name="outfilename">debian.control</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/copyright</param>
|
|
<param name="outfilename">debian.copyright</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/source/format</param>
|
|
<param name="outfilename">debian.format</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/rules</param>
|
|
<param name="outfilename">debian.rules</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/libzmq3-dev.install</param>
|
|
<param name="outfilename">debian.libzmq3-dev.install</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/libzmq3-dev.manpages</param>
|
|
<param name="outfilename">debian.libzmq3-dev.manpages</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/libzmq5.docs</param>
|
|
<param name="outfilename">debian.libzmq5.docs</param>
|
|
</service>
|
|
<service name="extract_file">
|
|
<param name="archive">*.tar</param>
|
|
<param name="files">*/packaging/debian/libzmq5.install</param>
|
|
<param name="outfilename">debian.libzmq5.install</param>
|
|
</service>
|
|
|
|
<service name="set_version">
|
|
<param name="basename">zeromq</param>
|
|
</service>
|
|
|
|
<service name="recompress">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">gz</param>
|
|
</service>
|
|
</services>
|
|
|