mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 07:31:03 +08:00
e1d07b61ca
Solution: now that tar_scm supports @PARENT_TAG@ as a revision to automatically fetch the most recent tag on the default branch, use it to simplify everything https://github.com/openSUSE/obs-service-tar_scm/pull/359
100 lines
3.6 KiB
Plaintext
100 lines
3.6 KiB
Plaintext
<services>
|
|
<service name="tar_scm">
|
|
<param name="url">https://github.com/zeromq/libzmq</param>
|
|
<param name="scm">git</param>
|
|
<param name="revision">@PARENT_TAG@</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>
|
|
|