mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 09:47:56 +08:00
Problem: no OBS service file
Solution: add one similar to the one generated by zproject
This commit is contained in:
parent
ce75606430
commit
6822252f49
84
packaging/obs/_service
Normal file
84
packaging/obs/_service
Normal file
@ -0,0 +1,84 @@
|
||||
<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="exclude">.git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">zeromq</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="recompress" mode="buildtime">
|
||||
<param name="file">zeromq-*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version">
|
||||
<param name="basename">zeromq</param>
|
||||
</service>
|
||||
</services>
|
||||
|
Loading…
x
Reference in New Issue
Block a user