SHA256
1
0
forked from pool/attr

Accepting request 87878 from Base:System

Add static devel package

OBS-URL: https://build.opensuse.org/request/show/87878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/attr?expand=0&rev=25
This commit is contained in:
Lars Vogdt 2011-10-16 10:40:44 +00:00 committed by Git OBS Bridge
commit 139b572df4
2 changed files with 21 additions and 1 deletions

View File

@ -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

View File

@ -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*