- added devel and static subpackages
authorwrobell <wrobell@pld-linux.org>
Fri, 24 Aug 2001 10:49:53 +0000 (10:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fixed file section
- fixed install section
- adapterized
- stb.

Changed files:
    flek.spec -> 1.3

flek.spec

index 034d3e1..1f8697b 100644 (file)
--- 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
This page took 0.06569 seconds and 4 git commands to generate.