Browse Source

Re-format and update packaging info

Fix dependencies, use spaces instead of tabs in .spec file, rename
`imapdomo.spec` to `template.spec`, rename `imapdomo.install` to
`install`, remove unnecessary `override_dh_auto_install`, add URL to
.spec, update Summary, clean up.
Alois Mahdal 7 years ago
parent
commit
99e73c6017
6 changed files with 54 additions and 57 deletions
  1. 12
    9
      mkit.ini
  2. 6
    5
      packaging/debian/control
  3. 0
    0
      packaging/debian/install
  4. 0
    4
      packaging/debian/rules
  5. 0
    39
      packaging/imapdomo.spec
  6. 36
    0
      packaging/template.spec

+ 12
- 9
mkit.ini View File

@@ -1,20 +1,21 @@
1
-#mkit version=0.0.14
2
-
3 1
 [project]
4 2
     version     = 0.0.3
5 3
     name        = imapdomo
6 4
     pkgname     = imapdomo
5
+    maintainer  = Alois Mahdal <netvor+imapdomo@vornet.cz>
6
+    vcs_browser = https://githib.com/AloisMahdal/imapdomo
7 7
     tagline     = imapfilter convenience wrapper
8 8
     relsrc      = master
9 9
 
10 10
 [dist]
11
-    tarball = LICENSE
12
-    tarball = Makefile
13
-    tarball = README.md
14
-    tarball = mkit.ini
15
-    tarball = src
16
-    tarball = utils
17
-    rpmstuff = packaging/imapdomo.spec
11
+    tarball  = LICENSE
12
+    tarball  = Makefile
13
+    tarball  = README.md
14
+    tarball  = mkit.ini
15
+    tarball  = packaging
16
+    tarball  = src
17
+    tarball  = utils
18
+    rpmstuff = packaging/template.spec
18 19
     debstuff = packaging/debian
19 20
 
20 21
 [ENV]
@@ -38,3 +39,5 @@
38 39
     bin     = src/imapdomo
39 40
     share   = src/main.lua
40 41
     share   = src/common.lua
42
+
43
+#mkit version=0.0.24

+ 6
- 5
packaging/debian/control View File

@@ -1,17 +1,18 @@
1 1
 Source: __MKIT_PROJ_PKGNAME__
2
-Maintainer: Alois Mahdal <netvor@vornet.cz>
3
-Vcs-Browser: http://github.com/AloisMahdal/imapdomo
2
+Maintainer: __MKIT_PROJ_MAINTAINER__
3
+Vcs-Browser: __MKIT_PROJ_VCS_BROWSER__
4 4
 Section: misc
5 5
 Priority: extra
6 6
 Standards-Version: 3.9.2
7
-Build-Depends: debhelper (>= 9)
7
+Build-Depends:
8
+ debhelper (>= 9),
8 9
 
9 10
 Package: __MKIT_PROJ_PKGNAME__
10 11
 Architecture: all
11 12
 Depends:
12
- bash,
13 13
  imapfilter,
14
- shellfu-bash,
14
+ shellfu (>= 0.10),
15
+ shellfu (<< 0.11),
15 16
  shellfu-bash-pretty,
16 17
 Description: __MKIT_PROJ_TAGLINE__
17 18
  imapdomo is simple convenience wrapper around imapfilter that

packaging/debian/imapdomo.install → packaging/debian/install View File


+ 0
- 4
packaging/debian/rules View File

@@ -7,7 +7,3 @@
7 7
 override_dh_auto_install:
8 8
 
9 9
 	make install DESTDIR=debian/tmp
10
-
11
-override_dh_usrlocal:
12
-
13
-	@true

+ 0
- 39
packaging/imapdomo.spec View File

@@ -1,39 +0,0 @@
1
-Name:		__MKIT_PROJ_PKGNAME__
2
-Version:	__MKIT_PROJ_VERSION__
3
-Release:	1%{?dist}
4
-Summary:	__MKIT_PROJ_PKGNAME__ - __MKIT_PROJ_TAGLINE__
5
-
6
-License:	LGPLv2
7
-Source0:	%{name}-%{version}.tar.gz
8
-
9
-BuildArch:	noarch
10
-BuildRequires:	coreutils git
11
-Requires:	imapfilter
12
-Requires:	shellfu-bash
13
-Requires:	shellfu-bash-pretty
14
-
15
-%description
16
-imapdomo is simple convenience wrapper around imapfilter that
17
-adds few more Lua functions and suggests some system to way how you can
18
-organize your mail filtering and/or migrations, etc.
19
-
20
-%prep
21
-%setup -q
22
-
23
-
24
-%build
25
-# %%configure
26
-make %{?_smp_mflags}
27
-
28
-%install
29
-%make_install
30
-
31
-%files
32
-%dir /usr/share/imapdomo
33
-/usr/bin/imapdomo
34
-/usr/share/imapdomo/common.lua
35
-/usr/share/imapdomo/main.lua
36
-
37
-%changelog
38
-
39
-# specfile built with MKit __MKIT_SELF_VERSION__

+ 36
- 0
packaging/template.spec View File

@@ -0,0 +1,36 @@
1
+Name:           __MKIT_PROJ_PKGNAME__
2
+Version:        __MKIT_PROJ_VERSION__
3
+Release:        1%{?dist}
4
+Summary:        __MKIT_PROJ_NAME__ - __MKIT_PROJ_TAGLINE__
5
+URL:            __MKIT_PROJ_VCS_BROWSER__
6
+License:        GPLv2
7
+Source0:        %{name}-%{version}.tar.gz
8
+BuildArch:      noarch
9
+
10
+Requires:       imapfilter
11
+Requires:       shellfu >= 0.10, shellfu < 0.11
12
+Requires:       shellfu-bash-pretty
13
+
14
+%description
15
+imapdomo is simple convenience wrapper around imapfilter that
16
+adds few more Lua functions and suggests some system to way how you can
17
+organize your mail filtering and/or migrations, etc.
18
+
19
+%prep
20
+%setup -q
21
+
22
+%build
23
+make %{?_smp_mflags}
24
+
25
+%install
26
+%make_install
27
+
28
+%files
29
+%dir %{_datadir}/%{name}
30
+%{_bindir}/%{name}
31
+%{_datadir}/%{name}/common.lua
32
+%{_datadir}/%{name}/main.lua
33
+
34
+%changelog
35
+
36
+# specfile built with MKit __MKIT_SELF_VERSION__