diff options
author | jstebbins <[email protected]> | 2010-04-12 18:01:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-04-12 18:01:01 +0000 |
commit | 788762ec1d905d4783a62de27863ec8ebf66d284 (patch) | |
tree | 4fd54d66f2aa539677971ead01188bc52b31d73c /pkg/linux/module.defs | |
parent | 1a466338ea91528105f73681f85238be96670b2a (diff) |
LinGui: improved rpm building
Resulting rpms have fewer warnings and no errors according to rpmlint.
No need to pre-build binaries. Just configure and "make pkg.create.rpm"
Standard fedora rpms can be found in:
build/stage/rpm/RPMS and SRPMS
Binary packages are renamed according to handbrake naming convention in:
build/pkg
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3220 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/linux/module.defs')
-rw-r--r-- | pkg/linux/module.defs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/linux/module.defs b/pkg/linux/module.defs index 8b91f2d3d..93d686ced 100644 --- a/pkg/linux/module.defs +++ b/pkg/linux/module.defs @@ -1,5 +1,11 @@ PKG.deb.machine = `dpkg --print-architecture` PKG.rpm.machine = `rpm -E "%_target_cpu"` +PKG.release = 1 +PKG.rpm.dist = `rpm -E "%dist"` + +PKG.rpm.src.tar.bz2 = $(STAGE.out.src/)rpm/$(PKG.basename).tar.bz2 +STAGE.out.rpm.src/ = $(STAGE.out.src/)rpm/ + PKG.debian = $(PKG.in/)linux/debian PKG.cli.deb = $(PKG.out/)$(HB.name)-$(HB.version)-Ubuntu_CLI_$(BUILD.machine).deb PKG.gui.deb = $(PKG.out/)$(HB.name)-$(HB.version)-Ubuntu_GUI_$(BUILD.machine).deb @@ -7,6 +13,11 @@ PKG.gui.deb = $(PKG.out/)$(HB.name)-$(HB.version)-Ubuntu_GUI_$(BUILD.machine).de PKG.cli.tmp.deb = $(PKG.out/)handbrake-cli_$(HB.version)_$(PKG.deb.machine).deb PKG.gui.tmp.deb = $(PKG.out/)handbrake-gtk_$(HB.version)_$(PKG.deb.machine).deb +PKG.native.rpm.stamp = $(RPM.out/).rpm.stamp + +PKG.gui.native.rpm = $(RPM.out/)RPMS/$(PKG.rpm.machine)/$(HB.name)-gui-$(HB.version)-$(PKG.release)$(PKG.rpm.dist).$(PKG.rpm.machine).rpm +PKG.cli.native.rpm = $(RPM.out/)RPMS/$(PKG.rpm.machine)/$(HB.name)-cli-$(HB.version)-$(PKG.release)$(PKG.rpm.dist).$(PKG.rpm.machine).rpm + PKG.cli.rpm = $(PKG.out/)$(HB.name)-$(HB.version)-Fedora_CLI_$(BUILD.machine).rpm PKG.gui.rpm = $(PKG.out/)$(HB.name)-$(HB.version)-Fedora_GUI_$(BUILD.machine).rpm RPM.out = $(STAGE.out/)rpm |