summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2002-08-23 16:15:35 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit4332d1ff6ffbf7e7f9007ec7837363f4bcf01f3a (patch)
tree048be19e1dc4344aa25d59c11849df3e40ea2d31
parent7d7c16aa222ffbda9da81c100ca9219757c02bf6 (diff)
downloadsphinx2-4332d1ff6ffbf7e7f9007ec7837363f4bcf01f3a.zip
sphinx2-4332d1ff6ffbf7e7f9007ec7837363f4bcf01f3a.tar.gz
- new %%doc, use %%configure2_13sphinx2-0_3-1STABLERA-1_0
- added static subpackage and *.la files to -devel Changed files: sphinx2.spec -> 1.6
Notes
Notes: - new %doc, use %configure2_13 - added static subpackage and *.la files to -devel
-rw-r--r--sphinx2.spec25
1 files changed, 20 insertions, 5 deletions
diff --git a/sphinx2.spec b/sphinx2.spec
index 451c934..12110ba 100644
--- a/sphinx2.spec
+++ b/sphinx2.spec
@@ -33,11 +33,23 @@ Requires: %{name} = %{version}
%description devel -l pl
Pliki nagłówkowe %{name}.
+%package static
+Summary: Static sphinx2 libraries
+Summary(pl): Biblioteki statyczne sphinx2
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}
+
+%description static
+Static version of sphinx2 libraries.
+
+%description static -l pl
+Statyczne wersje bibliotek sphinx2.
+
%prep
%setup -q
%build
-%configure
+%configure2_13
%{__make}
%install
@@ -48,8 +60,6 @@ rm -rf $RPM_BUILD_ROOT
# hmm, name may conflict
rm -f $RPM_BUILD_ROOT%{_bindir}/batch.csh
-gzip -9nf README
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -58,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.gz doc
+%doc README doc
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/*.so.*.*
%{_datadir}/%{name}
@@ -66,4 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%{_includedir}/*
-%{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/*.la
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/*.a