mate-polkit-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. %define major_ver 1.18
  2. %define ver %{major_ver}.1
  3. %define rel 1
  4. Summary: PolicyKit integration for the MATE desktop
  5. Name: mate-polkit
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: LGPLv2
  10. Group: Applications/System
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: gtk3-devel
  14. BuildRequires: polkit-devel >= 0.97
  15. BuildRequires: gtk-doc
  16. BuildRequires: autoconf
  17. BuildRequires: automake
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi, iwaim
  22. %description
  23. PolicyKit-mate provides an Authentication Agent for PolicyKit that
  24. integrates well with the MATE desktop environment
  25. %package devel
  26. Summary: Development tools for mate-polkit
  27. Summary(ja): mate-polkit の開発環境
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pkgconfig
  31. %description devel
  32. Header files and libraries for building a extension library for the
  33. mate-polkit.
  34. %prep
  35. %setup -q
  36. %build
  37. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  38. %configure \
  39. --libexecdir=%{_libexecdir}/mate \
  40. --disable-static
  41. %{__make} %{?_smp_mflags}
  42. %install
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  45. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  47. %find_lang %{name}
  48. %clean
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files -f %{name}.lang
  53. %defattr(-,root,root,-)
  54. %doc COPYING ChangeLog NEWS README
  55. %{_sysconfdir}/xdg/autostart/polkit-mate-authentication-agent-1.desktop
  56. %{_libdir}/libpolkit-gtk-mate-1.so.*
  57. %{_libdir}/girepository-1.0/PolkitGtkMate-1.0.typelib
  58. %{_libexecdir}/mate/polkit-mate-authentication-agent-1
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/polkit-gtk-mate-1
  62. %{_libdir}/libpolkit-gtk-mate-1.so
  63. %{_libdir}/pkgconfig/polkit-gtk-mate-1.pc
  64. %{_datadir}/gir-1.0/PolkitGtkMate-1.0.gir
  65. %changelog
  66. * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  67. - update to 1.18.1
  68. * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  69. - update to 1.18.0
  70. * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  71. - new upstream release
  72. - update GTK+ version
  73. - BR: gtk3-devel
  74. - fix License
  75. - update Packager
  76. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  77. - new upstream release
  78. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  79. - new upstream release
  80. * Fri Oct 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  81. - new upstream release
  82. * Wed Sep 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  83. - new upstream release
  84. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  85. - new upstream release
  86. * Mon Apr 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  87. - new upstream release
  88. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  89. - rebuild with VineSeed environment
  90. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  91. - new upstream release
  92. * Wed Aug 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  93. - new upstream release
  94. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  95. - new upstream release
  96. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  97. - change category
  98. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  99. - initial build for Vine Linux