Skip to content

Commit

Permalink
Generate rpm and deb packages
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 27, 2018
1 parent 195da64 commit b67a98f
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ archive:
- 'LICENSE-MIT'
- 'README.md'
- 'GeoIP.conf'
- 'GeoIP.conf.md'
- 'geoipupdate.md'
format_overrides:
- goos: windows
format: zip
Expand Down Expand Up @@ -55,3 +53,25 @@ builds:
post: 'make data OS=Windows_NT BUILDDIR=dist/windows_amd64'
checksum:
name_template: 'checksums.txt'
nfpm:
vendor: 'MaxMind, Inc.'
homepage: https://www.maxmind.com/
maintainer: 'MaxMind, Inc. <[email protected]>'
description: Program to perform automatic updates of GeoIP2 and GeoIP Legacy binary databases.
license: Apache 2.0 or MIT
formats:
- deb
- rpm
bindir: /usr/bin
empty_folders:
- /usr/share/GeoIP
files:
'CHANGELOG.md': '/usr/share/doc/geoipupdate/CHANGELOG.md'
'LICENSE-APACHE': '/usr/share/doc/geoipupdate/LICENSE-APACHE'
'LICENSE-MIT': '/usr/share/doc/geoipupdate/LICENSE-MIT'
'README.md': '/usr/share/doc/geoipupdate/README.md'
'GeoIP.conf': '/usr/share/doc/geoipupdate/GeoIP.conf'
'GeoIP.conf.md': '/usr/share/doc/geoipupdate/GeoIP.conf.md'
'geoipupdate.md': '/usr/share/doc/geoipupdate/geoipupdate.md'
config_files:
'GeoIP.conf': '/etc/GeoIP.conf'

0 comments on commit b67a98f

Please sign in to comment.