]> git.pld-linux.org Git - packages/flek.git/blobdiff - flek.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/flek.git] / flek.spec
index 1f8697bc5ed851d2b429aa2d0cf14598b6486c86..b686eb7dad218559f84850d0d1db072757b2a721 100644 (file)
--- a/flek.spec
+++ b/flek.spec
@@ -1,18 +1,13 @@
 Summary:       High level cross-platform "environment" libraries based on Fltk
+Summary(pl):   Wysykopoziomowe miêdzyplatformowe biblioteki "¶rodowiskowe" bazuj±ce na Fltk
 Name:          flek
 Version:       0.2
-Release:       1
+Release:       3
 License:       GPL
 Group:         X11/Libraries
-Group(de):     X11/Libraries
-Group(es):     X11/Bibliotecas
-Group(fr):     X11/Librairies
-Group(pl):     X11/Biblioteki
-Group(pt_BR):  X11/Bibliotecas
-Group(ru):     X11/âÉÂÌÉÏÔÅËÉ
-Group(uk):     X11/â¦Â̦ÏÔÅËÉ
 Source0:       ftp://flek.sourceforge.net/pub/%{name}/%{name}-%{version}.agenda.tar.gz
-URL:           http://flek.sourceforge.net
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://flek.sourceforge.net/
 BuildRequires: OpenGL-devel
 BuildRequires: autoconf
 BuildRequires: automake
@@ -31,62 +26,63 @@ 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? ;-)
 
+%description -l pl
+Flek ma zapewniæ ten sam poziom funkcjonalno¶ci dla Fltk, co GNOME i
+KDE dla Gtk i Qt. Aplikacje korzystaj±ce z Fleka powinny wspó³pracowaæ
+z aplikacjami pisanymi dla GNOME lub KDE. Flek nie ma koniecznie
+zostaæ samodzielnym ¶rodowiskiem desktopu i nie jest planowane, by
+powiela³ pracê GNOME lub KDE w tym zakresie.
+
 %package devel
 Summary:       Flek header files and development documentation
+Summary(pl):   Pliki nag³ówkowe i dokumentacja programisty Fleka
 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.
 
+%description devel -l pl
+Pliki nag³ówkowe i dokumentacja programisty Fleka.
+
 %package static
 Summary:       Flek static libraries
+Summary(pl):   Biblioteki statyczne Fleka
 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}
+Requires:      %{name}-devel = %{version}
 
 %description static
 Flek static libraries.
 
+%description static -l pl
+Biblioteki statyczne Fleka.
+
 %prep
 %setup  -q -n %{name}-%{version}.agenda
+%patch0 -p1
 
 %build
-aclocal
-autoconf
-%configure --with-fltk=%{_prefix}
-
+%{__aclocal}
+%{__autoconf}
+cp -f /usr/share/automake/config.* .
+%configure \
+       --with-fltk=%{_prefix}
 %{__make} src
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $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}
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 gzip -9nf README Changelog
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc *.gz
This page took 0.035307 seconds and 4 git commands to generate.