gjs-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. %define pkg_version 0.5
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Javascript binding for GNOME
  4. Name: gjs
  5. Version: %{pkg_version}
  6. Release: %{pkg_release}
  7. Source0: %{name}-%{version}.tar.bz2
  8. License: MPL1.1/LGPLv2+/GPLv2+
  9. Group: User Interface/Desktops
  10. URL: http://live.gnome.org/GnomeShell
  11. Requires(post,postun): scrollkeeper >= 0.1.4
  12. Requires(post,pre,preun): GConf2 >= 2.14
  13. BuildRequires: pkgconfig
  14. BuildRequires: gtk2-devel
  15. BuildRequires: clutter-devel
  16. BuildRequires: mutter-devel
  17. BuildRequires: gnome-desktop-devel
  18. BuildRequires: gnome-menus-devel
  19. BuildRequires: libSM-devel
  20. BuildRequires: libffi-devel
  21. BuildRequires: GConf2-devel
  22. BuildRequires: startup-notification-devel
  23. BuildRequires: gnome-doc-utils
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: xulrunner-devel
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. GNOME Shell is the defining technology of the GNOME 3 desktop user experience. It provides core interface functions like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a delightful and easy to use experience.
  32. %package devel
  33. Summary: Development files of the gjs library.
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: pkgconfig
  37. Requires: gtk-doc
  38. %description devel
  39. Development files of the gjs library.
  40. %prep
  41. %setup -q
  42. %build
  43. %configure --disable-static
  44. %{__make} %{?_smp_mflags}
  45. %install
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  48. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root)
  55. %doc COPYING ChangeLog NEWS README
  56. %{_bindir}/gjs*
  57. %{_libdir}/lib*.so.*
  58. %{_libdir}/gjs-1.0/*
  59. %{_datadir}/gjs-1.0/*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_includedir}/gjs-1.0
  63. %{_libdir}/lib*.so
  64. %{_libdir}/pkgconfig/*.pc
  65. %{_datadir}/doc/*
  66. %changelog
  67. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  68. - initial build for Vine Linux