From 715a1989989589a74391fdf476f5296cccbe7f86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bart=C5=82omiej=20Zimo=C5=84?= Date: Sat, 24 May 2008 20:17:58 +0000 Subject: [PATCH] - documentation is realy heavy about 45 MB - moved from devel to docs subpackage - CEGUI loads plugins (not shared libs) only with .so ending (before smc can't run without CEGUI-devel installed) - .so files moved to base package - rel. 2 Changed files: CEGUI.spec -> 1.14 --- CEGUI.spec | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/CEGUI.spec b/CEGUI.spec index b75bdf4..9e92c9c 100644 --- a/CEGUI.spec +++ b/CEGUI.spec @@ -12,7 +12,7 @@ Summary: CEGUI - a free library providing windowing and widgets Summary(pl.UTF-8): CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety Name: CEGUI Version: 0.6.0 -Release: 1 +Release: 2 License: LGPL v2.1+ (with MIT parts) Group: Libraries Source0: http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}.tar.gz @@ -78,10 +78,23 @@ Requires: libstdc++-devel Requires: pcre-devel >= 5.0 %description devel -CEGUI headers and documentation. +CEGUI headers. %description devel -l pl.UTF-8 -Pliki nagłówkowe i dokumentacja do CEGUI. +Pliki nagłówkowe CEGUI. + +%package docs +Summary: Documentation files for CEGUI +Summary(pl.UTF-8): Pliki dokumentacji CEGUI +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description docs +CEGUI documentation. + +%description docs -l pl.UTF-8 +Dokumentacja CEGUI. + %prep %setup -q -b 1 @@ -120,11 +133,18 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS ChangeLog README %attr(755,root,root) %{_libdir}/libCEGUI*.so.*.*.* +%attr(755,root,root) %{_libdir}/libCEGUI*.so.* +%attr(755,root,root) %{_libdir}/libCEGUI*.so + +%files docs +%doc documentation +%dir %{_datadir}/%{name} +%dir %{_datadir}/%{name}/XMLRefSchema +%{_datadir}/%{name}/XMLRefSchema/*.xsd +%{_datadir}/%{name}/XMLRefSchema/Readme.txt %files devel %defattr(644,root,root,755) -%doc documentation -%attr(755,root,root) %{_libdir}/libCEGUI*.so %{_libdir}/libCEGUI*.la %{_includedir}/%{name} %{_pkgconfigdir}/CEGUI.pc -- 2.44.0