Accepting request 633477 from home:Andreas_Schwab:Factory
- Add libattr-devel-static subpackage OBS-URL: https://build.opensuse.org/request/show/633477 OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=47
This commit is contained in:
parent
cdc294a203
commit
99f30b2377
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 5 13:12:14 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
- Add libattr-devel-static subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 25 18:33:52 UTC 2018 - jengelh@inai.de
|
Sat Aug 25 18:33:52 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
16
attr.spec
16
attr.spec
@ -62,13 +62,23 @@ programs which make use of extended attributes. For Linux programs, the
|
|||||||
documented system call API is the recommended interface, but an SGI
|
documented system call API is the recommended interface, but an SGI
|
||||||
IRIX compatibility interface is also provided.
|
IRIX compatibility interface is also provided.
|
||||||
|
|
||||||
|
%package -n libattr-devel-static
|
||||||
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--enable-static \
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -100,6 +110,10 @@ make %{?_smp_mflags} check
|
|||||||
%{_libdir}/libattr.so
|
%{_libdir}/libattr.so
|
||||||
%{_mandir}/man3/*.3%{?ext_man}
|
%{_mandir}/man3/*.3%{?ext_man}
|
||||||
|
|
||||||
|
%files -n libattr-devel-static
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libattr.a
|
||||||
|
|
||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%license doc/COPYING*
|
%license doc/COPYING*
|
||||||
%{_libdir}/libattr.so.1*
|
%{_libdir}/libattr.so.1*
|
||||||
|
Loading…
Reference in New Issue
Block a user