]> git.pld-linux.org Git - SPECS.git/blob - nagios-imagepaks.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / nagios-imagepaks.spec
1 # TODO
2 # - drop the icons other than base, they are quite useless and find better and
3 #   complete (perhaps some desktop?) icons?
4 Summary:        Nagios Image Packs
5 Summary(pl.UTF-8):      Zestawy obrazków dla Nagiosa
6 Name:           nagios-imagepaks
7 Version:        1.0
8 Release:        4
9 License:        Open Source
10 Group:          Applications/WWW
11 Source0:        http://dl.sourceforge.net/nagios/imagepak-base.tar.gz
12 # Source0-md5:  35b75ece533dfdf4963a67ce4e77fc4a
13 Source1:        http://dl.sourceforge.net/nagios/imagepak-bernhard.tar.gz
14 # Source1-md5:  cd711110929fd2487234172a533e82c5
15 Source2:        http://dl.sourceforge.net/nagios/imagepak-cook.tar.gz
16 # Source2-md5:  248d682712c594fc4734c0158d2d2ee4
17 Source3:        http://dl.sourceforge.net/nagios/imagepak-didier.tar.gz
18 # Source3-md5:  83e98389e5b7fb39d2c0e3a96d5ca585
19 Source4:        http://dl.sourceforge.net/nagios/imagepak-remus.tar.gz
20 # Source4-md5:  76595744dae8153c921c4af6bf18383d
21 Source5:        http://dl.sourceforge.net/nagios/imagepak-satrapa.tar.gz
22 # Source5-md5:  3ed26d8b49379e0dc14f448d5c2a70c3
23 Source6:        http://dl.sourceforge.net/nagios/imagepak-werschler.tar.gz
24 # Source6-md5:  1a9cba019ccd27756977821aa735c40f
25 Source7:        http://glen.alkohol.ee/pld/nagios/imagepak-pld-20090804.tar.bz2
26 # Source7-md5:  e6ea8e9fa534ae8edea462c6ee5fa3ed
27 # Source7License: Public Domain - http://glen.alkohol.ee/pld/nagios/
28 Source8:        http://www.monitoringexchange.org/attachment/download/Artwork/Image-Packs/Network-Symbols/symbols-v1.1.tar.gz
29 # Source8-md5:  2c40462f698838c3c528fe1aea42e308
30 # Source8Download:      http://www.nagiosexchange.org/cgi-bin/jump.cgi?ID=1412&view=File2;d=1
31 # Source8License: GPL v2
32 # Source8URL:   http://www.monitoringexchange.org/inventory/Artwork/Image-Packs/Network-Symbols
33 Source9:        mandriva.png
34 # Source9-md5:  72e3a8d8c4bcc05dafe53151253997a4
35 URL:            http://www.nagiosexchange.org/cgi-bin/pages/Artwork/Image_Packs/index.html
36 BuildRequires:  ImageMagick
37 BuildRequires:  ImageMagick-coder-png
38 BuildRequires:  gd-progs
39 BuildRequires:  tar >= 1:1.15.1
40 BuildArch:      noarch
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %define         _logodir        /usr/share/nagios/images/logos
44
45 %description
46 Image packs are provided so that you have some colorful OS and device
47 images to beautify your CGIs in Nagios. Each pack includes GIF, JPEG,
48 PNG, and GD2 versions of each icon.
49
50 %description -l pl.UTF-8
51 Ten pakiet dostarcza zestawy obrazków, dzięki którym można,
52 przypisując kolorowe symbole do systemów operacyjnych i urządzeń,
53 uatrakcyjnić skrypty CGI Nagiosa. Każdy zestaw zawiera wersje GIF,
54 JPEG, PNG i GD2 każdej ikony.
55
56 %prep
57 %setup -qcT
58 install -d logos/{bernhard,cook}
59 tar -xz -C logos -f %{SOURCE0}
60 tar -xz -C logos/bernhard --strip-components=1 -f %{SOURCE1}
61 tar -xz -C logos/cook -f %{SOURCE2}
62 # .tar.gz junk
63 rm -f logos/cook/README
64 tar -xz -C logos -f %{SOURCE3}
65 tar -xz -C logos -f %{SOURCE4}
66 tar -xz -C logos -f %{SOURCE5}
67 tar -xz -C logos -f %{SOURCE6}
68 tar -xj -C logos/base --strip-components=1 -f %{SOURCE7}
69 tar -xz -C logos -f %{SOURCE8}
70 rm -f logos/symbols/LICENSE # GPL v2
71 cp %{SOURCE9} logos/base
72
73 %build
74 # shiny mandriva icon
75 convert logos/base/mandriva.png logos/base/mandriva.gif
76 convert logos/base/mandriva.png logos/base/mandriva.jpg
77 pngtogd2 logos/base/mandriva.png logos/base/mandriva.gd2 0 1
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_logodir}
82 cp -a logos/* $RPM_BUILD_ROOT%{_logodir}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files
88 %defattr(644,root,root,755)
89 %{_logodir}/*
This page took 0.185263 seconds and 3 git commands to generate.