Refresh RPM packaging
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 17 Feb 2013 20:10:17 +0000 (12:10 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 18 Mar 2013 22:33:17 +0000 (15:33 -0700)
commitf3757573a677e8662e268f0bb8e5ffe750013088
treea0001b1a30360d4b85f5b5e2a7229697eae6704f
parent9b2af9a097c119b818bd584eb89ca51ba475c7f2
Refresh RPM packaging

Refresh the existing RPM packaging to conform to the 'Fedora
Packaging Guidelines'.  This includes adopting the kmods2
packaging standard which is used fod kmods distributed by
rpmfusion for Fedora/RHEL.

  http://fedoraproject.org/wiki/Packaging:Guidelines
  http://rpmfusion.org/Packaging/KernelModules/Kmods2

While the spec files have been entirely rewritten from a
user perspective the only major changes are:

* The Fedora packages now have a build dependency on the
  rpmfusion repositories.  The generic kmod packages also
  have a new dependency on kmodtool-1.22 but it is bundled
  with the source rpm so no additional packages are needed.

* The kernel binary module packages have been renamed from
  zfs-modules-* to kmod-zfs-* as specificed by kmods2.

* The is now a common kmod-zfs-devel-* package in addition
  to the per-kernel devel packages.  The common package
  contains the development headers while the per-kernel
  package contains kernel specific build products.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1341
26 files changed:
.gitignore
Makefile.am
config/deb.am
config/rpm.am
config/tgz.am
config/zfs-build.m4
config/zfs-meta.m4
configure.ac
dkms.conf.in [deleted file]
rpm/Makefile.am [new file with mode: 0644]
rpm/fedora/.gitignore [new file with mode: 0644]
rpm/fedora/Makefile.am [new file with mode: 0644]
rpm/fedora/zfs-dkms.spec.in [new symlink]
rpm/fedora/zfs-kmod.spec.in [new file with mode: 0644]
rpm/fedora/zfs.spec.in [new symlink]
rpm/generic/.gitignore [new file with mode: 0644]
rpm/generic/Makefile.am [new file with mode: 0644]
rpm/generic/zfs-dkms.spec.in [new file with mode: 0644]
rpm/generic/zfs-kmod.spec.in [new file with mode: 0644]
rpm/generic/zfs.spec.in [new file with mode: 0644]
scripts/Makefile.am
scripts/dkms.mkconf [new file with mode: 0755]
scripts/dkms.postinst [moved from dkms.postinst with 100% similarity]
scripts/kmodtool [new file with mode: 0755]
zfs-modules.spec.in [deleted file]
zfs.spec.in [deleted file]