mate-polkit-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: PolicyKit integration for the MATE desktop
  2. Name: mate-polkit
  3. Version: 1.6.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/System
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: gtk2-devel
  11. BuildRequires: polkit-devel
  12. BuildRequires: gtk-doc
  13. BuildRequires: autoconf
  14. BuildRequires: automake
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. PolicyKit-mate provides an Authentication Agent for PolicyKit that
  21. integrates well with the MATE desktop environment
  22. %package devel
  23. Summary: Development tools for mate-polkit
  24. Summary(ja): mate-polkit の開発環境
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. Header files and libraries for building a extension library for the
  30. mate-polkit.
  31. %prep
  32. %setup -q
  33. %build
  34. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  35. %configure \
  36. --libexecdir=%{_libexecdir}/mate \
  37. --disable-static
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  42. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files -f %{name}.lang
  50. %defattr(-,root,root,-)
  51. %doc COPYING ChangeLog NEWS README
  52. %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop
  53. %{_libdir}/libpolkit-gtk-mate-1.so.*
  54. %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib
  55. %{_libexecdir}/mate/polkit-mate-authentication-agent-1
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/polkit-gtk-mate-1
  59. %{_libdir}/libpolkit-gtk-mate-1.so
  60. %{_libdir}/pkgconfig/polkit-gtk-mate-1.pc
  61. %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir
  62. %changelog
  63. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  64. - new upstream release
  65. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  66. - new upstream release
  67. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  68. - new upstream release
  69. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  70. - change category
  71. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  72. - initial build for Vine Linux