source: projects/specs/branches/6/g/gdesklets/gdesklets-vl.spec @ 6386

Revision 6386, 3.6 KB checked in by Takemikaduchi, 12 years ago (diff)

gob2,g-wrap,hyphen,libdap: new upstream release
others: rebuild

Line 
1# $Id: gdesklets.spec 2233 2004-10-01 11:52:13Z dries $
2# Authority: dag
3
4%define real_name gDesklets
5
6Summary: Advanced architecture for desktop applets
7Name: gdesklets
8Version: 0.36.1
9Release: 2%{?_dist_release}
10License: GPL
11Group: User Interface/Desktops
12URL: http://gdesklets.de/
13
14
15Source: http://archive.gdesklets.info/gDesklets/gDesklets-%{version}.tar.bz2
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17
18BuildRequires: libgtop2-devel >= 2.0.0, python-devel >= 2.0.0, gcc-c++
19BuildRequires: gnome-python-devel >= 2.12.0, pyorbit-devel >= 2.0.1
20BuildRequires: expat-devel >= 1.95.8
21BuildRequires: perl(XML::Parser), intltool, pygtk2-devel
22BuildRequires: gtk2-devel
23BuildRequires: librsvg2-devel >= 2.8.0
24BuildRequires: desktop-file-utils
25Requires: python >= 2.3, gnome-python >= 2.12.0, pyorbit >= 2.0.1
26Requires: desktop-file-utils
27
28%description
29gDesklets provides an advanced architecture for desktop applets - tiny
30displays sitting on your desktop in a symbiotic relationship of eye candy
31and usefulness.
32
33Populate your desktop with status meters, icon bars, weather sensors,
34news tickers... whatever you can imagine! Virtually anything is possible
35and 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}
51export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
52make install DESTDIR=%{buildroot}
53%find_lang %{name}
54
55desktop-file-install --vendor="vine"  \
56        --dir %{buildroot}%{_datadir}/applications \
57        --add-category Application \
58        --add-category Utility \
59        data/%{name}.desktop
60
61mkdir -p  %{buildroot}{%{_bindir},%{_datadir}/%{name}/data/,%{_datadir}/%{name}/Displays/,%{_datadir}/%{name}/Controls/}
62
63rm -rf %{buildroot}%{_datadir}/mime/application
64rm -rf %{buildroot}%{_datadir}/mime/{globs,magic,XMLnamespaces,aliases,subclasses,mime.cache}
65rm -f %{buildroot}%{_datadir}/applications/{%{name}.desktop,mimeinfo.cache}
66rm -f %{buildroot}%{_datadir}/mime/{globs2,generic-icons,icons,treemagic,types}
67
68
69%post
70/usr/bin/update-mime-database %{_datadir}/mime &>/dev/null || :
71update-desktop-database -q &> /dev/null || :
72
73
74%postun
75/usr/bin/update-mime-database %{_datadir}/mime &>/dev/null || :
76update-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)
Note: See TracBrowser for help on using the repository browser.