Reformat 10 recipes

This commit is contained in:
Gareth Poole
2015-12-16 20:35:20 -05:00
committed by Gareth Poole
parent f6faf6e73a
commit 45b487e3f8
10 changed files with 130 additions and 147 deletions

View File

@@ -1,13 +1,15 @@
SUMMARY="A library for solving packages and reading repositories"
DESCRIPTION="A Library for solving packages and reading repositories."
LICENSE="BSD (3-clause)"
COPYRIGHT="2007-2013, Novell Inc."
HOMEPAGE="http://github.com/openSUSE/libsolv"
COPYRIGHT="2007-2013, Novell Inc."
LICENSE="BSD (3-clause)"
REVISION="1"
srcGitRev="da2650933f85f5a30d8146bfb22af53d2620d0c7"
SOURCE_URI="https://github.com/weinhold/libsolv/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="79aa7772bfe403f003e8063480ddc3d4f491b3f5d7b8cace610605fba3318150"
SOURCE_DIR="libsolv-$srcGitRev"
SOURCE_FILENAME="$portVersionedName.tar.gz"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64 ppc arm"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
@@ -21,6 +23,16 @@ REQUIRES="
lib:libexpat$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
libsolv${secondaryArchSuffix}_devel = $portVersion
devel:libsolv${secondaryArchSuffix} = $portVersion
devel:libsolvext${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libsolv${secondaryArchSuffix} == $portVersion base
"
BUILD_REQUIRES="
devel:libexpat$secondaryArchSuffix
devel:libz$secondaryArchSuffix
@@ -34,8 +46,6 @@ BUILD_PREREQUIRES="
cmd:sed
"
SOURCE_DIR="libsolv-$srcGitRev"
PATCH()
{
sed -i 's,${CMAKE_INSTALL_PREFIX}/bin',$binDir, CMakeLists.txt
@@ -73,14 +83,3 @@ INSTALL()
$dataDir \
$developDir
}
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
libsolv${secondaryArchSuffix}_devel = $portVersion
devel:libsolv${secondaryArchSuffix} = $portVersion
devel:libsolvext${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
libsolv${secondaryArchSuffix} == $portVersion base
"