gkrellm/gkrellm.spec

183 lines
6.2 KiB
RPMSpec

Name: gkrellm
Version: 2.3.10
Release: 1mamba
Summary: A GUI single process stack of system monitors
Group: Graphical Desktop/Applications/Administration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://gkrellm.srcbox.net
Source0: http://gkrellm.srcbox.net/releases/gkrellm-%{version}.tar.bz2
Source1: gkrellm.png
Source2: gkrellm1.png
Source3: gkrellm2.png
License: GPL
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libICE-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libz-devel
BuildRequires: lm_sensors-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
GKrellM is a single process stack of system monitors which supports applying themes
to match its appearance to your window manager, Gtk, or any other theme.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
GKrellM is a single process stack of system monitors which supports applying themes
to match its appearance to your window manager, Gtk, or any other theme.
This package contains header files need for development.
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
INSTALL_ROOT=%{buildroot} \
PREFIX=%{_prefix} \
PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig
%{__mkdir_p} %{buildroot}%{_datadir}/pixmaps
%{__install} -m 0644 %{S:1} \
%{buildroot}%{_datadir}/pixmaps/%{name}.png
# Create the system menu entry
mkdir -p %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
[Desktop Entry]
Encoding=UTF-8
Exec=/usr/bin/gkrellm
Icon=/usr/share/pixmaps/gkrellm.png
Name=GKrellM
Name[hi]=जी-क्रेल-एम
GenericName=GNU Krell Monitors
GenericName[ar]=مراقبات GNU Krell
GenericName[az]=GNU Krell İzləyiciləri
GenericName[bn]=গনিউ ক্রেল মনিটর
GenericName[bs]=GNU Krell monitori sistema
GenericName[ca]=Monitors Krell de GNU
GenericName[cs]=Monitory GNU Krell
GenericName[cy]=Monitrau Krell GNU
GenericName[da]=GNU Krell-overvåning
GenericName[de]=GNU-Krell-Monitore
GenericName[el]=Επόπτες GNU Krell
GenericName[eo]=GNU ekranoj
GenericName[es]=Monitores Krell GNU
GenericName[et]=GNU Krelli monitorid
GenericName[eu]=GNU Krell monitoreak
GenericName[fa]=ناظر کرل گنو
GenericName[fr]=Indicateurs du système GNU Krell
GenericName[gl]=Monitores GNU Krell
GenericName[he]=×ž× ×˜×¨×™ GNU Krell
GenericName[hi]=ग्नू क्रेल मॉनीटर्स
GenericName[hr]=GNU Krell Monitori
GenericName[hu]=GNU Krell-monitor
GenericName[is]=GNU Krell eftirlit
GenericName[it]=Monitor GNU di Krell
GenericName[ja]=GNU Krell システムモニター
GenericName[mk]=GNU Krell Системски монитори
GenericName[mn]=GNU Krell систем хянагч
GenericName[nb]=GNU Krell systemovervåker
GenericName[nds]=Monitor för GNU Krell
GenericName[nn]=GNU Krell, systemovervaking
GenericName[pa]=GNU ਕੇਰੀਲ ਜਾਂਚਕਾਰ
GenericName[pl]=Monitor systemu GNU Krell
GenericName[pt]=Monitores Krell da GNU
GenericName[pt_BR]=Monitores Krell GNU
GenericName[ro]=Monitoare Krell GNU
GenericName[ru]=Мониторы GNU Krell
GenericName[se]=GNU Krell, vuogádatgoziheapmi
GenericName[sk]=GNU Krell Monitory
GenericName[sl]=Monitorji GNU Krell
GenericName[sr]=GNU Krell монитори
GenericName[sr@Latn]=GNU Krell monitori
GenericName[sv]=GNU Krell-övervakare
GenericName[ta]=GNU Krell திரைகள்
GenericName[tg]=Нозири GNU Krell
GenericName[tr]=GNU Krell Ä°zleyiciler
GenericName[uz]=GNU Krell мониторлари
GenericName[vi]=Trình theo dõi GNU Krell
GenericName[zh_CN]=GNU Krell 监视器
GenericName[zh_TW]=GNU Krell 監視器
Terminal=false
Type=Application
Categories=Application;System;Monitor;
EOF
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gkrellm
%{_bindir}/gkrellmd
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/gkrellm.1.gz
%{_mandir}/man1/gkrellmd.1.gz
%doc CREDITS README
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gkrellm2
%{_includedir}/gkrellm2/*.h
%{_libdir}/pkgconfig/gkrellm.pc
%changelog
* Tue Dec 20 2016 Automatic Build System <autodist@mambasoft.it> 2.3.10-1mamba
- automatic version update by autodist
* Tue Nov 01 2016 Automatic Build System <autodist@mambasoft.it> 2.3.9-1mamba
- automatic version update by autodist
* Sun Sep 18 2016 Automatic Build System <autodist@mambasoft.it> 2.3.8-1mamba
- automatic update by autodist
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.7-1mamba
- update to 2.3.7
* Fri Oct 15 2010 Automatic Build System <autodist@mambasoft.it> 2.3.5-1mamba
- automatic update by autodist
* Wed Jan 13 2010 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic update by autodist
* Mon Feb 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.2-2mamba
- automatic rebuild by autodist
* Sat Nov 01 2008 gil <puntogil@libero.it> 2.3.2-1mamba
- update to 2.3.2
- added package devel
* Tue Jul 22 2008 gil <puntogil@libero.it> 2.3.1-1mamba
- update to 2.3.1
- added desktop file
* Tue May 29 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.10-1mamba
- package created by autospec