diff options
author | Nathan Scott <nathans@sgi.com> | 2002-02-25 22:41:02 +0000 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2002-02-25 22:41:02 +0000 |
commit | de366b9e522ee084a318aaca25c3dd916b5114db (patch) | |
tree | 1c5e6e9a58a4906abb733e413d7a9a11cfd1c8ee /build/rpm/attr.spec.in | |
parent | 27204a8361ff975ddf3a60b95cc24f4e5ec7bed8 (diff) | |
download | attr-de366b9e522ee084a318aaca25c3dd916b5114db.tar.gz |
Merge of xfs-cmds-2.4.18:slinx:112273a by nathans.
sync up with patch from AndreasG, mainly creates libattr.rpm/deb.
Diffstat (limited to 'build/rpm/attr.spec.in')
-rw-r--r-- | build/rpm/attr.spec.in | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/build/rpm/attr.spec.in b/build/rpm/attr.spec.in index e14e7cc..1d94f62 100644 --- a/build/rpm/attr.spec.in +++ b/build/rpm/attr.spec.in @@ -19,13 +19,22 @@ objects, in particular getfattr(1) and setfattr(1). An attr(1) command is also provided which is largely compatible with the SGI IRIX tool of the same name. -%package devel +%package -n libattr +Summary: Dynamic library for extended attribute support. +Group: Development/Libraries +Prereq: /sbin/ldconfig + +%description -n libattr +This package contains the libattr.so dynamic library which contains +the extended attribute system calls and library functions. + +%package -n attr-devel Summary: Extended attribute static libraries and headers. Group: Development/Libraries -Requires: @pkg_name@ >= 2.0.0 +Requires: libattr -%description devel -attr-devel contains the libraries and header files needed to +%description -n attr-devel +This package contains the libraries and header files needed to develop programs which make use of extended attributes. For Linux programs, the documented system call API is the recommended interface, but an SGI IRIX compatibility interface @@ -59,9 +68,11 @@ fi DIST_ROOT="$RPM_BUILD_ROOT" DIST_INSTALL=`pwd`/install.manifest DIST_INSTALL_DEV=`pwd`/install-dev.manifest -export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV +DIST_INSTALL_LIB=`pwd`/install-lib.manifest +export DIST_ROOT DIST_INSTALL DIST_INSTALL_DEV DIST_INSTALL_LIB @make@ install DIST_MANIFEST="$DIST_INSTALL" @make@ install-dev DIST_MANIFEST="$DIST_INSTALL_DEV" +@make@ install-lib DIST_MANIFEST="$DIST_INSTALL_LIB" files() { sort | uniq | awk ' @@ -82,15 +93,18 @@ $1 == "l" { if (match ($3, "@pkg_man_dir@") || match ($3, "@pkg_doc_dir@")) set +x files < "$DIST_INSTALL" > files.rpm files < "$DIST_INSTALL_DEV" > filesdevel.rpm +files < "$DIST_INSTALL_LIB" > fileslib.rpm set -x %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig +%post -n libattr -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libattr -p /sbin/ldconfig %files -f files.rpm -%files devel -f filesdevel.rpm +%files -n attr-devel -f filesdevel.rpm + +%files -n libattr -f fileslib.rpm |