]> git.pld-linux.org Git - packages/gkrellm.git/commitdiff
- spec adapterized, gkrellm-0_10_5-1
authorkloczek <kloczek@pld-linux.org>
Wed, 13 Sep 2000 21:15:51 +0000 (21:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added CFLAGS patch for fix passing $RPM_OPT_FLAGS to compile options,
- make spec %%debug friendly,
- removed all Requires (this is automatically generated) and added
  Buildrequires rules,
- removed COPYING (Copyright statment is in License field) and INSTALL
  (install procedure is implemented in this file),
- gzipp all %doc.

Changed files:
    gkrellm.spec -> 1.9

gkrellm.spec

index e5e7231c58bf2785cf6c53e393e73256ebaf555b..20fe1406468a6f5f1d5ccedac54958f6454a9d47 100644 (file)
@@ -1,18 +1,17 @@
-# RPM spec file for GKrellm
-
-Summary:  Multiple stacked system monitors: 1 process.
-Name:     gkrellm
-Version:  0.10.5
-Release:  1
-License:  GPL
-Group:    X11/Utilities
-Group(pl):  X11/Narzêdzia
-Source0:  http://web.wt.net/~billw/gkrellm/%{name}-%{version}.tar.gz
-Requires: gtk+ >= 1.2
-Requires: glib >= 1.2
-Requires: imlib
-Vendor:   Bill Wilson <billw@wt.net>
-BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Summary:       Multiple stacked system monitors: 1 process
+Name:          gkrellm
+Version:       0.10.5
+Release:       1
+License:       GPL
+Vendor:                Bill Wilson <billw@wt.net>
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
+Source0:       http://web.wt.net/~billw/gkrellm/%{name}-%{version}.tar.gz
+patch0:                %{name}-CFLAGS.patch
+BuildRequires: gtk+-devel >= 1.2
+BuildRequires: imlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
 
@@ -28,12 +27,12 @@ Additional features are:
   - A gui popup for configuration of chart sizes and resolutions.
 
 %description -l pl
-GKrellM automatycznie wyswietla wykresy aktywno¶ci SMP CPU, obci±¿enia,
-dysku oraz aktywnych interfejsów sieciowych. Jest równie¿ przycisk 
-wy³±cznika, czasomierz dla interfejsu PPP, mierniki wykorzystania
-pamiêci oraz partycji wymiany, wy¶wietlacz czasy, który up³yn±³ 
-od w³±czenia maszyny, etykietê nazwy hosta oraz zegar i kalendarz.
-Inne funkcje:
+GKrellM automatycznie wyswietla wykresy aktywno¶ci SMP CPU,
+obci±¿enia, dysku oraz aktywnych interfejsów sieciowych. Jest równie¿
+przycisk wy³±cznika, czasomierz dla interfejsu PPP, mierniki
+wykorzystania pamiêci oraz partycji wymiany, wy¶wietlacz czasy, który
+up³yn±³ od w³±czenia maszyny, etykietê nazwy hosta oraz zegar i
+kalendarz. Inne funkcje:
 
  - Samoskaluj±ce sie linie siatki o konfigurowanej gêsto¶ci
  - Wy¶wietlacze imitujace diody LED dla interfejsów sieciowych
@@ -41,22 +40,27 @@ Inne funkcje:
 
 %prep
 %setup -q
+%patch -p1
 
 %build
-%{__make}
+%{__make} CFLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/{%{_bindir},%{_includedir}/gkrellm}
-%{__make} install INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir}
-gzip -9nf COPYRIGHT Changelog README INSTALL gkrellmrc
+
+%{__make} install \
+       INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} \
+       INCLUDEDIR=$RPM_BUILD_ROOT%{_includedir}
+
+gzip -9nf Changelog README gkrellmrc \
+       Themes.html Changelog-plugins.html Changelog-themes.html
 
 %clean
-       rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {COPYRIGHT,Changelog,README,INSTALL,gkrellmrc}.gz
-%doc Themes.html Changelog-plugins.html Changelog-themes.html
+%doc *.gz
 %attr(755,root,root) %{_bindir}/gkrellm
 %{_includedir}/*
This page took 0.042857 seconds and 4 git commands to generate.