1 | # $Id: gdesklets.spec 2233 2004-10-01 11:52:13Z dries $ |
---|
2 | # Authority: dag |
---|
3 | |
---|
4 | %define real_name gDesklets |
---|
5 | |
---|
6 | Summary: Advanced architecture for desktop applets |
---|
7 | Name: gdesklets |
---|
8 | Version: 0.36.1 |
---|
9 | Release: 2%{?_dist_release} |
---|
10 | License: GPL |
---|
11 | Group: User Interface/Desktops |
---|
12 | URL: http://gdesklets.de/ |
---|
13 | |
---|
14 | |
---|
15 | Source: http://archive.gdesklets.info/gDesklets/gDesklets-%{version}.tar.bz2 |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
17 | |
---|
18 | BuildRequires: libgtop2-devel >= 2.0.0, python-devel >= 2.0.0, gcc-c++ |
---|
19 | BuildRequires: gnome-python-devel >= 2.12.0, pyorbit-devel >= 2.0.1 |
---|
20 | BuildRequires: expat-devel >= 1.95.8 |
---|
21 | BuildRequires: perl(XML::Parser), intltool, pygtk2-devel |
---|
22 | BuildRequires: gtk2-devel |
---|
23 | BuildRequires: librsvg2-devel >= 2.8.0 |
---|
24 | BuildRequires: desktop-file-utils |
---|
25 | Requires: python >= 2.3, gnome-python >= 2.12.0, pyorbit >= 2.0.1 |
---|
26 | Requires: desktop-file-utils |
---|
27 | |
---|
28 | %description |
---|
29 | gDesklets provides an advanced architecture for desktop applets - tiny |
---|
30 | displays sitting on your desktop in a symbiotic relationship of eye candy |
---|
31 | and usefulness. |
---|
32 | |
---|
33 | Populate your desktop with status meters, icon bars, weather sensors, |
---|
34 | news tickers... whatever you can imagine! Virtually anything is possible |
---|
35 | and maybe even available some day. |
---|
36 | |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n %{real_name}-%{version} |
---|
40 | |
---|
41 | |
---|
42 | %build |
---|
43 | %configure \ |
---|
44 | --disable-dependency-tracking \ |
---|
45 | --disable-install-schemas |
---|
46 | %{__make} %{?_smp_mflags} |
---|
47 | |
---|
48 | |
---|
49 | %install |
---|
50 | %{__rm} -rf %{buildroot} |
---|
51 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
---|
52 | make install DESTDIR=%{buildroot} |
---|
53 | %find_lang %{name} |
---|
54 | |
---|
55 | desktop-file-install --vendor="vine" \ |
---|
56 | --dir %{buildroot}%{_datadir}/applications \ |
---|
57 | --add-category Application \ |
---|
58 | --add-category Utility \ |
---|
59 | data/%{name}.desktop |
---|
60 | |
---|
61 | mkdir -p %{buildroot}{%{_bindir},%{_datadir}/%{name}/data/,%{_datadir}/%{name}/Displays/,%{_datadir}/%{name}/Controls/} |
---|
62 | |
---|
63 | rm -rf %{buildroot}%{_datadir}/mime/application |
---|
64 | rm -rf %{buildroot}%{_datadir}/mime/{globs,magic,XMLnamespaces,aliases,subclasses,mime.cache} |
---|
65 | rm -f %{buildroot}%{_datadir}/applications/{%{name}.desktop,mimeinfo.cache} |
---|
66 | rm -f %{buildroot}%{_datadir}/mime/{globs2,generic-icons,icons,treemagic,types} |
---|
67 | |
---|
68 | |
---|
69 | %post |
---|
70 | /usr/bin/update-mime-database %{_datadir}/mime &>/dev/null || : |
---|
71 | update-desktop-database -q &> /dev/null || : |
---|
72 | |
---|
73 | |
---|
74 | %postun |
---|
75 | /usr/bin/update-mime-database %{_datadir}/mime &>/dev/null || : |
---|
76 | update-desktop-database -q &> /dev/null || : |
---|
77 | |
---|
78 | %clean |
---|
79 | %{__rm} -rf %{buildroot} |
---|
80 | |
---|
81 | |
---|
82 | %files -f %{name}.lang |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc AUTHORS ChangeLog COPYING NEWS README TODO |
---|
85 | %{_bindir}/%{name} |
---|
86 | %{_datadir}/mime/packages/%{name}.xml |
---|
87 | %{_datadir}/icons/gnome/48x48/mimetypes/*.png |
---|
88 | %{_datadir}/pixmaps/%{name}.png |
---|
89 | %{_datadir}/applications/*.desktop |
---|
90 | %{_datadir}/%{name}/ |
---|
91 | %{_libdir}/%{name}/ |
---|
92 | %{_mandir}/man1/* |
---|
93 | |
---|
94 | |
---|
95 | %changelog |
---|
96 | * Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.36.1-2 |
---|
97 | - rebuild with Vine6 environment |
---|
98 | - add BuildRequires: librsvg2-devel, desktop-file-utils |
---|
99 | |
---|
100 | * Fri Mar 20 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.36.1-1 |
---|
101 | - new upstream release |
---|
102 | - fix build/install/files section |
---|
103 | |
---|
104 | * Mon Dec 27 2004 Kazuhisa TAKEI <takei@vinelinux.org> - 0.32-1vl2 |
---|
105 | - new upstream release 0.32. |
---|
106 | - import to Vine Linux |
---|
107 | |
---|
108 | * Wed Aug 28 2004 Dag Wieers <dag@wieers.com> - 0.30-1 |
---|
109 | - Updated to release 0.30. |
---|
110 | |
---|
111 | * Wed May 05 2004 Dag Wieers <dag@wieers.com> - 0.26.2-1 |
---|
112 | - Updated to release 0.26.2. |
---|
113 | |
---|
114 | * Sun Mar 28 2004 Dag Wieers <dag@wieers.com> - 0.26.1-0 |
---|
115 | - Updated to release 0.26.1. |
---|
116 | |
---|
117 | * Wed Feb 25 2004 Dag Wieers <dag@wieers.com> - 0.26-0 |
---|
118 | - Updated to release 0.26. |
---|
119 | |
---|
120 | * Tue Dec 30 2003 Dag Wieers <dag@wieers.com> - 0.25.1-0 |
---|
121 | - Updated to release 0.25.1. |
---|
122 | |
---|
123 | * Mon Dec 29 2003 Dag Wieers <dag@wieers.com> - 0.25-0 |
---|
124 | - Updated to release 0.25. |
---|
125 | |
---|
126 | * Wed Dec 03 2003 Dag Wieers <dag@wieers.com> - 0.24.1-0 |
---|
127 | - Initial package. (using DAR) |
---|