From: wrobell Date: Fri, 24 Aug 2001 10:49:53 +0000 (+0000) Subject: - added devel and static subpackages X-Git-Tag: flek-0_2-2~7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fflek.git;a=commitdiff_plain;h=0203974d315fea55eab27c1d0af37614d2a3061f - added devel and static subpackages - fixed file section - fixed install section - adapterized - stb. Changed files: flek.spec -> 1.3 --- diff --git a/flek.spec b/flek.spec index 034d3e1..1f8697b 100644 --- a/flek.spec +++ b/flek.spec @@ -31,13 +31,43 @@ intend to become a self contained desktop environment and we don't plan on duplicating the work of either Gnome or KDE in this regard. Aren't there enough IRC clients? ;-) +%package devel +Summary: Flek header files and development documentation +Group: X11/Development/Libraries +Group(de): X11/Entwicklung/Libraries +Group(es): X11/Desarrollo/Bibliotecas +Group(fr): X11/Development/Librairies +Group(pl): X11/Programowanie/Biblioteki +Group(pt_BR): X11/Desenvolvimento/Bibliotecas +Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name} = %{version} + +%description devel +Flek header files and development documentation. + +%package static +Summary: Flek static libraries +Group: X11/Development/Libraries +Group(de): X11/Entwicklung/Libraries +Group(es): X11/Desarrollo/Bibliotecas +Group(fr): X11/Development/Librairies +Group(pl): X11/Programowanie/Biblioteki +Group(pt_BR): X11/Desenvolvimento/Bibliotecas +Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ +Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ +Requires: %{name} = %{version} + +%description static +Flek static libraries. + %prep %setup -q -n %{name}-%{version}.agenda %build aclocal autoconf -%configure +%configure --with-fltk=%{_prefix} %{__make} src @@ -45,12 +75,30 @@ autoconf rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT +%{__make} install \ + libdir=$RPM_BUILD_ROOT%{_libdir} \ + includedir=$RPM_BUILD_ROOT%{_includedir} \ + bindir=$RPM_BUILD_ROOT%{_bindir} + +symlinks -cs $RPM_BUILD_ROOT%{_libdir} -gzip -9nf README +gzip -9nf README Changelog %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%doc *.gz +%attr(755,root,root) %{_libdir}/lib*.so.* + +%files devel +%defattr(644,root,root,755) +%doc docs +%{_includedir}/Flek +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/lib*.so + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a