_service 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <services>
  2. <service name="obs_scm">
  3. <param name="scm">git</param>
  4. <param name="url">https://gitlab.com/openconnect/openconnect.git</param>
  5. <param name="revision">master</param>
  6. <param name="version">_auto_</param>
  7. <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@+g%h</param>
  8. <param name="versionrewrite-pattern">v(.*)</param>
  9. <param name="versionrewrite-replacement">\1</param>
  10. <param name="exclude">.git</param>
  11. <param name="changesgenerate">enable</param>
  12. <param name="filename">openconnect</param>
  13. <param name="extract">.obs/openconnect.dsc</param>
  14. <param name="extract">.obs/openconnect.spec</param>
  15. </service>
  16. <!-- recreate the tarball, as it's expected by debian build tools -->
  17. <service name="tar" mode="buildtime"/>
  18. <!-- extract debian packaging -->
  19. <service name="extract_file" mode="buildtime">
  20. <param name="archive">*.tar</param>
  21. <param name="files">*/.obs/openconnect.dsc</param>
  22. <param name="outfilename">openconnect.dsc</param>
  23. </service>
  24. <service name="extract_file" mode="buildtime">
  25. <param name="archive">*.tar</param>
  26. <param name="files">*/.obs/debian/changelog</param>
  27. <param name="outfilename">debian.changelog</param>
  28. </service>
  29. <service name="extract_file" mode="buildtime">
  30. <param name="archive">*.tar</param>
  31. <param name="files">*/.obs/debian/control</param>
  32. <param name="outfilename">debian.control</param>
  33. </service>
  34. <service name="extract_file" mode="buildtime">
  35. <param name="archive">*.tar</param>
  36. <param name="files">*/.obs/debian/copyright</param>
  37. <param name="outfilename">debian.copyright</param>
  38. </service>
  39. <service name="extract_file" mode="buildtime">
  40. <param name="archive">*.tar</param>
  41. <param name="files">*/.obs/debian/rules</param>
  42. <param name="outfilename">debian.rules</param>
  43. </service>
  44. <service name="extract_file" mode="buildtime">
  45. <param name="archive">*.tar</param>
  46. <param name="files">*/.obs/debian/libopenconnect-dev.install</param>
  47. <param name="outfilename">debian.libopenconnect-dev.install</param>
  48. </service>
  49. <service name="extract_file" mode="buildtime">
  50. <param name="archive">*.tar</param>
  51. <param name="files">*/.obs/debian/libopenconnect5.install</param>
  52. <param name="outfilename">debian.libopenconnect5.install</param>
  53. </service>
  54. <service name="extract_file" mode="buildtime">
  55. <param name="archive">*.tar</param>
  56. <param name="files">*/.obs/debian/openconnect.install</param>
  57. <param name="outfilename">debian.openconnect.install</param>
  58. </service>
  59. <service name="set_version" mode="buildtime">
  60. <param name="basename">openconnect</param>
  61. </service>
  62. <service name="recompress" mode="buildtime">
  63. <param name="file">*.tar</param>
  64. <param name="compression">gz</param>
  65. </service>
  66. </services>