From ba598b488bdacf395d57d8b71346c8112bf1e1dd1fa8f54e94b9791bf4fc3d68 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 14 Oct 2011 15:11:09 +0000 Subject: [PATCH] Accepting request 87865 from home:a_faerber:branches:Base:System Add libattr-devel-static package for use with statically built QEMU. Despite a warning the new package actually contains libattr.a. OBS-URL: https://build.opensuse.org/request/show/87865 OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=20 --- attr.changes | 5 +++++ attr.spec | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/attr.changes b/attr.changes index 13263bc..0cc4e1c 100644 --- a/attr.changes +++ b/attr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Oct 14 12:12:20 UTC 2011 - afaerber@suse.com + +- Add libattr-devel-static package + ------------------------------------------------------------------- Fri Sep 16 18:35:52 UTC 2011 - jengelh@medozas.de diff --git a/attr.spec b/attr.spec index 3464a37..6ca7c2b 100644 --- a/attr.spec +++ b/attr.spec @@ -77,6 +77,20 @@ 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 is also provided. +%package -n libattr-devel-static +License: GPLv2+ ; LGPLv2.1+ +Summary: Include Files and Libraries mandatory for Development +AutoReqProv: on +Group: Development/Libraries/C and C++ +Provides: libattr-devel:%{_libdir}/libattr.a +Requires: libattr-devel = %version + +%description -n libattr-devel-static +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 is also provided. + %prep %setup -q %patch0 -p1 @@ -92,7 +106,6 @@ CFLAGS="$RPM_OPT_FLAGS" \ --sbindir=/bin \ --libdir=/%{_lib} \ --libexecdir=/%{_libdir} \ - --disable-static \ --with-pic %{__make} %{?_smp_mflags} @@ -153,6 +166,10 @@ chmod 755 $RPM_BUILD_ROOT/%{_lib}/libattr.so.1* %doc %attr(644,root,root) %{_mandir}/man3/attr_removef.3.gz* %doc %attr(644,root,root) %{_mandir}/man3/attr_setf.3.gz* +%files -n libattr-devel-static +%defattr(-,root,root) +%{_libdir}/libattr.a + %files -n %lname %defattr (-,root,root) /%{_lib}/libattr.so.1*