gdesklets-vl.spec 3.3 KB

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