Skip to content

Commit 1d6b480

Browse files
committed
Separate nFPM config files
1 parent 5c9e49f commit 1d6b480

File tree

3 files changed

+158
-41
lines changed

3 files changed

+158
-41
lines changed
Lines changed: 12 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ section: "default"
99
priority: "extra"
1010
replaces:
1111
- libfprint
12+
provides:
13+
- libfprint
14+
- libfprint-2.so
15+
16+
depends:
17+
- libgudev
18+
- libgusb
19+
- nss
20+
- openssl
21+
- pixman
1222
maintainer: "Alexander Meiler <[email protected]>, Matthieu CHARETTE <[email protected]>"
1323
description: |
1424
This is a community implemented driver for Goodix TLS devices on Linux.
@@ -52,49 +62,10 @@ contents:
5262
- src: ./build/meson-private/libfprint-2.pc
5363
dst: /usr/lib64/pkgconfig/libfprint-2.pc
5464

55-
- src: ./build/libfprint/libfprint-2.so.2.0.0
65+
- src: /usr/lib64/libfprint-2.so.2.0.0
5666
dst: /usr/lib64/libfprint-2.so.2
5767
type: symlink
5868

59-
- src: ./build/libfprint/libfprint-2.so.2.0.0
69+
- src: /usr/lib64/libfprint-2.so.2.0.0
6070
dst: /usr/lib64/libfprint-2.so
6171
type: symlink
62-
63-
overrides:
64-
deb:
65-
provides:
66-
- libfprint
67-
- libfprint-2.so
68-
- libfprint-2-2
69-
depends:
70-
- libc6
71-
- libglib2.0-0
72-
- libgudev-1.0-0
73-
- libgusb2
74-
- libnss3
75-
- openssl
76-
- libpixman-1-0
77-
rpm:
78-
provides:
79-
- libfprint
80-
- libfprint(aarch-64)
81-
- libfprint-2.so.2()(64bit)
82-
- libfprint-2.so.2(LIBFPRINT_2.0.0)(64bit)
83-
84-
depends:
85-
- libgudev
86-
- libgusb
87-
- nss
88-
- openssl
89-
- pixman
90-
archlinux:
91-
provides:
92-
- libfprint
93-
- libfprint-2.so
94-
95-
depends:
96-
- libgudev
97-
- libgusb
98-
- nss
99-
- openssl
100-
- pixman

nfpm_deb_sample.yaml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# check https://nfpm.goreleaser.com/configuration for detailed usage
2+
#
3+
name: "libfprint"
4+
arch: "amd64"
5+
platform: "linux"
6+
version: "1.94.4"
7+
prerelease: goodixtls-COMMITID
8+
section: "default"
9+
priority: "extra"
10+
replaces:
11+
- libfprint-2-2
12+
provides:
13+
- libfprint
14+
- libfprint-2.so
15+
- libfprint-2-2
16+
depends:
17+
- libc6
18+
- libglib2.0-0
19+
- libgudev-1.0-0
20+
- libgusb2
21+
- libnss3
22+
- openssl
23+
- libpixman-1-0
24+
maintainer: "Alexander Meiler <[email protected]>, Matthieu CHARETTE <[email protected]>"
25+
description: |
26+
This is a community implemented driver for Goodix TLS devices on Linux.
27+
vendor: "Goodix Fingerprint Linux Development"
28+
homepage: "https://github.com/goodix-fp-linux-dev"
29+
license: "GNU LGPL 2.1"
30+
contents:
31+
- src: ./build/libfprint/fp-enums.h
32+
dst: /usr/include/libfprint-2/fp-enums.h
33+
34+
- src: ./build/libfprint/libfprint-2.so.2.0.0
35+
dst: /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0
36+
37+
- src: ./build/libfprint/70-libfprint-2.rules
38+
dst: /usr/lib/udev/rules.d/70-libfprint-2.rules
39+
40+
- src: ./build/libfprint/FPrint-2.0.gir
41+
dst: /usr/share/gir-1.0/FPrint-2.0.gir
42+
43+
- src: ./build/libfprint/FPrint-2.0.typelib
44+
dst: /usr/lib/x86_64-linux-gnu/girepository-1.0/FPrint-2.0.typelib
45+
46+
- src: ./libfprint/fprint.h
47+
dst: /usr/include/libfprint-2/fprint.h
48+
49+
- src: ./libfprint/fp-context.h
50+
dst: /usr/include/libfprint-2/fp-context.h
51+
52+
- src: ./libfprint/fp-device.h
53+
dst: /usr/include/libfprint-2/fp-device.h
54+
55+
- src: ./libfprint/fp-image-device.h
56+
dst: /usr/include/libfprint-2/fp-image-device.h
57+
58+
- src: ./libfprint/fp-image.h
59+
dst: /usr/include/libfprint-2/fp-image.h
60+
61+
- src: ./libfprint/fp-print.h
62+
dst: /usr/include/libfprint-2/fp-print.h
63+
64+
- src: ./build/meson-private/libfprint-2.pc
65+
dst: /usr/lib/x86_64-linux-gnu/pkgconfig/libfprint-2.pc
66+
67+
- src: /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0
68+
dst: /usr/lib/x86_64-linux-gnu/libfprint-2.so.2
69+
type: symlink
70+
71+
- src: /usr/lib/x86_64-linux-gnu/libfprint-2.so.2.0.0
72+
dst: /usr/lib/x86_64-linux-gnu/libfprint-2.so
73+
type: symlink

nfpm_rpm_sample.yaml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# check https://nfpm.goreleaser.com/configuration for detailed usage
2+
#
3+
name: "libfprint"
4+
arch: "amd64"
5+
platform: "linux"
6+
version: "1.94.4"
7+
prerelease: goodixtls-COMMITID
8+
section: "default"
9+
priority: "extra"
10+
replaces:
11+
- libfprint
12+
provides:
13+
- libfprint
14+
- libfprint(aarch-64)
15+
- libfprint-2.so.2()(64bit)
16+
- libfprint-2.so.2(LIBFPRINT_2.0.0)(64bit)
17+
18+
depends:
19+
- libgudev
20+
- libgusb
21+
- nss
22+
- openssl
23+
- pixman
24+
maintainer: "Alexander Meiler <[email protected]>, Matthieu CHARETTE <[email protected]>"
25+
description: |
26+
This is a community implemented driver for Goodix TLS devices on Linux.
27+
vendor: "Goodix Fingerprint Linux Development"
28+
homepage: "https://github.com/goodix-fp-linux-dev"
29+
license: "GNU LGPL 2.1"
30+
contents:
31+
- src: ./build/libfprint/fp-enums.h
32+
dst: /usr/include/libfprint-2/fp-enums.h
33+
34+
- src: ./build/libfprint/libfprint-2.so.2.0.0
35+
dst: /usr/lib64/libfprint-2.so.2.0.0
36+
37+
- src: ./build/libfprint/70-libfprint-2.rules
38+
dst: /usr/lib/udev/rules.d/70-libfprint-2.rules
39+
40+
- src: ./build/libfprint/FPrint-2.0.gir
41+
dst: /usr/share/gir-1.0/FPrint-2.0.gir
42+
43+
- src: ./build/libfprint/FPrint-2.0.typelib
44+
dst: /usr/lib64/girepository-1.0/FPrint-2.0.typelib
45+
46+
- src: ./libfprint/fprint.h
47+
dst: /usr/include/libfprint-2/fprint.h
48+
49+
- src: ./libfprint/fp-context.h
50+
dst: /usr/include/libfprint-2/fp-context.h
51+
52+
- src: ./libfprint/fp-device.h
53+
dst: /usr/include/libfprint-2/fp-device.h
54+
55+
- src: ./libfprint/fp-image-device.h
56+
dst: /usr/include/libfprint-2/fp-image-device.h
57+
58+
- src: ./libfprint/fp-image.h
59+
dst: /usr/include/libfprint-2/fp-image.h
60+
61+
- src: ./libfprint/fp-print.h
62+
dst: /usr/include/libfprint-2/fp-print.h
63+
64+
- src: ./build/meson-private/libfprint-2.pc
65+
dst: /usr/lib64/pkgconfig/libfprint-2.pc
66+
67+
- src: /usr/lib64/libfprint-2.so.2.0.0
68+
dst: /usr/lib64/libfprint-2.so.2
69+
type: symlink
70+
71+
- src: /usr/lib64/libfprint-2.so.2.0.0
72+
dst: /usr/lib64/libfprint-2.so
73+
type: symlink

0 commit comments

Comments
 (0)