瀏覽代碼

Improve packaging and project meta-data

Alois Mahdal 7 年之前
父節點
當前提交
6894789ce7
共有 6 個檔案被更改,包括 24 行新增24 行删除
  1. 1
    1
      Makefile
  2. 1
    1
      README.md
  3. 15
    13
      mkit.ini
  4. 2
    2
      packaging/debian/changelog
  5. 5
    5
      packaging/debian/control
  6. 0
    2
      packaging/template.spec

+ 1
- 1
Makefile 查看文件

1
-# saturnin - Spirit of your toolbox
1
+# Saturnin - Spirit of your toolbox
2
 # See LICENSE file for copyright and license details.
2
 # See LICENSE file for copyright and license details.
3
 
3
 
4
 MKIT_DIR=utils/mkit
4
 MKIT_DIR=utils/mkit

+ 1
- 1
README.md 查看文件

1
-SATURNIN
1
+Saturnin
2
 ========
2
 ========
3
 
3
 
4
 Spirit of your toolbox
4
 Spirit of your toolbox

+ 15
- 13
mkit.ini 查看文件

1
-#mkit version=0.0.14
2
-
3
 [project]
1
 [project]
4
     version     = 0.4.4
2
     version     = 0.4.4
5
     codename    = DoktorV
3
     codename    = DoktorV
6
     name        = Saturnin
4
     name        = Saturnin
7
     tagline     = Spirit of your toolbox
5
     tagline     = Spirit of your toolbox
8
     pkgname     = shellfu-bash-saturnin
6
     pkgname     = shellfu-bash-saturnin
7
+    maintainer  = Alois Mahdal <netvor+saturnin@vornet.cz>
8
+    vcs_browser = https://github.com/AloisMahdal/shellfu-bash-saturnin
9
     relsrc      = master
9
     relsrc      = master
10
     reldst      = last
10
     reldst      = last
11
 
11
 
12
 [dist]
12
 [dist]
13
-    tarball = LICENSE
14
-    tarball = Makefile
15
-    tarball = README.md
16
-    tarball = mkit.ini
17
-    tarball = packaging
18
-    tarball = src
19
-    tarball = tests
20
-    tarball = utils
13
+    tarball  = LICENSE
14
+    tarball  = Makefile
15
+    tarball  = README.md
16
+    tarball  = mkit.ini
17
+    tarball  = packaging
18
+    tarball  = src
19
+    tarball  = tests
20
+    tarball  = utils
21
     rpmstuff = packaging/template.spec
21
     rpmstuff = packaging/template.spec
22
     debstuff = packaging/debian
22
     debstuff = packaging/debian
23
 
23
 
25
     PREFIX = /usr/local
25
     PREFIX = /usr/local
26
 
26
 
27
 [roots]
27
 [roots]
28
-    doc     = [ENV:PREFIX]/share/doc/shellfu-bash-saturnin
29
-    sfmod   = [ENV:PREFIX]/share/shellfu/include-bash
28
+    doc   = [ENV:PREFIX]/share/doc/shellfu-bash-saturnin
29
+    sfmod = [ENV:PREFIX]/share/shellfu/include-bash
30
 
30
 
31
 [files]
31
 [files]
32
-    doc = README.md
32
+    doc   = README.md
33
     sfmod = src/saturnin.sh
33
     sfmod = src/saturnin.sh
34
+
35
+#mkit version=0.0.24

+ 2
- 2
packaging/debian/changelog 查看文件

1
-shellfu-bash-saturnin (__MKIT_PROJ_VERSION__-1) UNRELEASED; urgency=medium
1
+__MKIT_PROJ_PKGNAME__ (__MKIT_PROJ_VERSION__-1) UNRELEASED; urgency=medium
2
 
2
 
3
   * Initial release. (Closes: #XXXXXX)
3
   * Initial release. (Closes: #XXXXXX)
4
 
4
 
5
- -- Alois Mahdal <netvor@vornet.cz>  Sat, 27 Feb 2016 01:38:03 +0100
5
+ -- __MKIT_PROJ_MAINTAINER__  Sat, 27 Feb 2016 01:38:03 +0100

+ 5
- 5
packaging/debian/control 查看文件

1
-Source: shellfu-bash-saturnin
2
-Maintainer: Alois Mahdal <netvor@vornet.cz>
3
-Vcs-Browser: http://git.vornet.cz/cgit/shellfu-bash-saturnin.git/
1
+Source: __MKIT_PROJ_PKGNAME__
2
+Maintainer: __MKIT_PROJ_MAINTAINER__
3
+Vcs-Browser: __MKIT_PROJ_VCS_BROWSER__
4
 Section: misc
4
 Section: misc
5
 Priority: extra
5
 Priority: extra
6
 Standards-Version: 3.9.2
6
 Standards-Version: 3.9.2
7
 Build-Depends: debhelper (>= 9)
7
 Build-Depends: debhelper (>= 9)
8
 
8
 
9
-Package: shellfu-bash-saturnin
9
+Package: __MKIT_PROJ_PKGNAME__
10
 Architecture: all
10
 Architecture: all
11
 Depends: bash, shellfu-bash, shellfu-bash-core, shellfu-bash-extras
11
 Depends: bash, shellfu-bash, shellfu-bash-core, shellfu-bash-extras
12
-Description: __MKIT_PROJ_TAGLINE__
12
+Description: __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
13
  saturnin is Shellfu library that helps you easily build toolkit from
13
  saturnin is Shellfu library that helps you easily build toolkit from
14
  various scripts that you may have lying around.  Instead of having a
14
  various scripts that you may have lying around.  Instead of having a
15
  herd of untamed undocumented and hard-to-share scripts, with help of
15
  herd of untamed undocumented and hard-to-share scripts, with help of

+ 0
- 2
packaging/template.spec 查看文件

22
 %prep
22
 %prep
23
 %setup -q
23
 %setup -q
24
 
24
 
25
-
26
 %build
25
 %build
27
-# %%configure
28
 make %{?_smp_mflags} PREFIX=/usr
26
 make %{?_smp_mflags} PREFIX=/usr
29
 
27
 
30
 %install
28
 %install