File: _service.backup

package info (click to toggle)
libpostscriptbarcode 20200401-1.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,920 kB
  • sloc: ansic: 563; makefile: 304; perl: 277; xml: 243; sh: 107; lisp: 92; java: 73; python: 45; ruby: 21
file content (59 lines) | stat: -rw-r--r-- 2,168 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<services>
 
  <!--
       This is the _service file for the OBS packaging [1] of Barcode Writer in Pure PostScript [2].

       The BWIPP repository contains upstream examples of packaging for RPM, DEB and PKGBUILD distributions 
       which aim to be compatible with the Open Build Service and provide guidance to packagers in
       the hope of providing consistency across distributions.
       
       [1] https://build.opensuse.org/package/show/home:terryburton:postscriptbarcode/libpostscriptbarcode
       [2] https://github.com/bwipp/postscriptbarcode
  -->
  
  <!-- Checkout directly from GitHub master which provides versioning. -->
  <service name="tar_scm">
    <param name="scm">git</param>
    <param name="url">https://github.com/bwipp/postscriptbarcode.git</param>
    <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@~nightly</param>
  </service>

  <!-- RPM-based builds -->
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/open-build-service/postscriptbarcode.spec</param>
    <param name="outfilename">postscriptbarcode.spec</param>
  </service>

  <!-- PKGBUILD-based builds -->
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/arch-linux/PKGBUILD</param>
    <param name="outfilename">PKGBUILD</param>
  </service>

  <!-- DEB-based builds -->
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/open-build-service/postscriptbarcode.dsc</param>
    <param name="outfilename">postscriptbarcode.dsc</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/open-build-service/debian.debtransform</param>
    <param name="outfilename">debian.debtransform</param>
  </service>
  <service name="extract_file">
    <param name="archive">*.tar</param>
    <param name="files">*/debian/changelog</param>
    <param name="outfilename">debian.changelog</param>
  </service>

  <service name="recompress">
    <param name="compression">gz</param>
    <param name="file">*.tar</param>
  </service>

  <service name="set_version" />

</services>