]> git.pld-linux.org Git - packages/gDesklets-rssgrab.git/blob - gDesklets-rssgrab.spec
d7c4a74db5b34b5f08003db99cf3156b99b70d0b
[packages/gDesklets-rssgrab.git] / gDesklets-rssgrab.spec
1 %define         pname   rssgrab
2 Summary:        RSS/RDF contents viewer
3 Summary(pl):    Przegl±darka tre¶ci RSS/RDF
4 Name:           gDesklets-%{pname}
5 Version:        0.6.4
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://gdesklets.gnomedesktop.org/files/%{pname}-%{version}.tar.gz
10 # Source0-md5:  48a16405abd3c796a259d4d4c4d1a0b0
11 URL:            http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=101
12 BuildRequires:  python >= 2.3
13 BuildRequires:  python-pygtk-gtk >= 1.99.18
14 Requires:       gDesklets
15 Requires:       gDesklets-PsiSensorPackage
16 Requires:       gDesklets-DisplayConstraints
17 Provides:       gDesklets-display
18 Provides:       gDesklets-sensor
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _sensorsdir     %{_datadir}/gdesklets/Sensors
22 %define         _displaysdir    %{_datadir}/gdesklets/Displays
23
24 %description
25 This desklet allows you to view the contents of an RSS/RDF feed.
26
27 %description -l pl
28 Ten desklet pozwala przegl±daæ informacje w formacie RSS/RDF.
29
30 %prep
31 %setup -q -n %{pname}-%{version}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sensorsdir},%{_displaysdir}/%{pname}}
36
37 ./Install_%{pname}_Sensor.bin --nomsg \
38         $RPM_BUILD_ROOT%{_sensorsdir}
39
40 cp -R gfx *.display $RPM_BUILD_ROOT%{_displaysdir}/%{pname}
41
42 %py_comp $RPM_BUILD_ROOT%{_sensorsdir}
43 %py_ocomp $RPM_BUILD_ROOT%{_sensorsdir}
44
45 rm -f $RPM_BUILD_ROOT%{_sensorsdir}/*/*.py
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc README
53 %{_sensorsdir}/*
54 %{_displaysdir}/*
This page took 0.026549 seconds and 2 git commands to generate.