From 562a3e8e19eae922e978bee72cae75f4dafc0e77 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 26 May 2015 15:26:08 +0200 Subject: Add libax25-static package for statically linked applications. Signed-off-by: Ralf Baechle --- libax25.spec.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'libax25.spec.in') diff --git a/libax25.spec.in b/libax25.spec.in index c0a7d8c..d2a90bf 100644 --- a/libax25.spec.in +++ b/libax25.spec.in @@ -25,12 +25,21 @@ Requires: %{name} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package static +Summary: Static library files for %{name} +Group: Development/Libraries +Requires: %{name}-static = %{version}-%{release} + +%description static +The %{name}-static package contains the libax25 and libax25io libraries +for static linking. You only need these for static linking applications. + %prep %setup -q -n %{name}-@VERSION@ %build -%configure --disable-static +%configure make %{?_smp_mflags} %install @@ -61,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/* %{_libdir}/*.so +%files static +%defattr(-,root,root,-) +%{_libdir}/*.a + %changelog * Sat Jun 27 2009 Ralf Baechle - Initial version -- cgit v1.2.3