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..ff0efdb 100644 --- a/attr.spec +++ b/attr.spec @@ -77,6 +77,18 @@ 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 static library of libattr which is needed to develop +statically linked programs which make use of extended attributes. + %prep %setup -q %patch0 -p1 @@ -92,7 +104,6 @@ CFLAGS="$RPM_OPT_FLAGS" \ --sbindir=/bin \ --libdir=/%{_lib} \ --libexecdir=/%{_libdir} \ - --disable-static \ --with-pic %{__make} %{?_smp_mflags} @@ -153,6 +164,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*