mate-screensaver-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. Summary: Screensaver for MATE
  2. Name: mate-screensaver
  3. Version: 1.14.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
  6. Source1: %{name}.pam
  7. License: GPLv2
  8. Group: User Interface/Desktops
  9. URL: http://mate-desktop.org/
  10. # for Vine Linux
  11. Patch1001: mate-screensaver-1.12.0-accountsservice.patch
  12. BuildRequires: mate-common
  13. BuildRequires: mate-doc-utils
  14. BuildRequires: mate-desktop-devel
  15. BuildRequires: mate-menus-devel
  16. BuildRequires: libmatekbd-devel
  17. BuildRequires: libnotify-devel
  18. BuildRequires: gtk2-devel
  19. BuildRequires: dbus-glib-devel
  20. BuildRequires: libSM-devel
  21. BuildRequires: libXScrnSaver-devel
  22. BuildRequires: libXxf86misc-devel
  23. BuildRequires: pam-devel
  24. BuildRequires: accountsservice-devel
  25. BuildRequires: gtk-doc
  26. BuildRequires: autoconf
  27. BuildRequires: automake
  28. Requires(posttrans,postun): glib2
  29. Requires(post,postun): gtk2
  30. Requires(post,postun): desktop-file-utils
  31. Requires: accountsservice
  32. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: Takemikaduchi
  36. %description
  37. mate-screensaver is a screen saver and locker that aims to have
  38. simple, sane, secure defaults and be well integrated with the desktop.
  39. It is designed to support:
  40. * the ability to lock down configuration settings
  41. * translation into many languages
  42. * user switching
  43. %package devel
  44. Summary: Development tools for mate-screensaver
  45. Summary(ja): mate-screensaver の開発環境
  46. Group: Development/Libraries
  47. Requires: %{name} = %{version}-%{release}
  48. Requires: pkgconfig
  49. %description devel
  50. Header files and libraries for building a extension library for the
  51. mate-screensaver.
  52. %prep
  53. %setup -q
  54. %patch1001 -p1 -b .vine
  55. %build
  56. NOCONFIGURE=1 ./autogen.sh
  57. %configure \
  58. --libexecdir=%{_libexecdir}/mate \
  59. --disable-static \
  60. --without-systemd \
  61. --enable-pam=yes
  62. %{__make} %{?_smp_mflags}
  63. %install
  64. %{__rm} -rf ${RPM_BUILD_ROOT}
  65. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  66. mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d
  67. install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/mate-screensaver
  68. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  69. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  70. # conflict with gnome-screensaver
  71. %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/backgrounds/cosmos
  72. %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/gnome-logo-white.svg
  73. %find_lang %{name}
  74. %clean
  75. %{__rm} -rf ${RPM_BUILD_ROOT}
  76. %post
  77. /sbin/ldconfig
  78. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  79. touch --no-create %{_datadir}/icons/hicolor
  80. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  81. %postun
  82. /sbin/ldconfig
  83. if [ $1 -eq 0 ]; then
  84. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  85. touch --no-create %{_datadir}/icons/hicolor
  86. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  87. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  88. fi
  89. %posttrans
  90. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  91. %files -f %{name}.lang
  92. %defattr(-,root,root,-)
  93. %doc COPYING ChangeLog NEWS README
  94. %{_sysconfdir}/pam.d/mate-screensaver
  95. %{_sysconfdir}/xdg/autostart/mate-screensaver.desktop
  96. %{_sysconfdir}/xdg/menus/mate-screensavers.menu
  97. %{_bindir}/mate-screensaver
  98. %{_bindir}/mate-screensaver-command
  99. %{_bindir}/mate-screensaver-preferences
  100. %{_libexecdir}/mate/mate-screensaver
  101. %{_libexecdir}/mate/mate-screensaver-dialog
  102. %{_libexecdir}/mate/mate-screensaver-gl-helper
  103. %{_datadir}/applications/mate-screensaver-preferences.desktop
  104. %{_datadir}/applications/screensavers/*.desktop
  105. %{_datadir}/dbus-1/services/org.mate.ScreenSaver.service
  106. %{_datadir}/desktop-directories/mate-screensaver.directory
  107. %{_datadir}/glib-2.0/schemas/org.mate.screensaver.gschema.xml
  108. %{_datadir}/mate-background-properties/cosmos.xml
  109. %{_datadir}/%{name}
  110. %{_datadir}/pixmaps/mate-logo-white.svg
  111. %{_mandir}/man1/*.1.gz
  112. %files devel
  113. %defattr(-,root,root,-)
  114. %{_libdir}/pkgconfig/mate-screensaver.pc
  115. %changelog
  116. * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1
  117. - new upstream release
  118. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  119. - new upstream release
  120. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  121. - add BuildRequires: accountsservice-devel
  122. - add Patch1001 (mate-screensaver-1.12.0-accountsservice.patch)
  123. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  124. - new upstream release
  125. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  126. - new upstream release
  127. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  128. - new upstream release
  129. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  130. - new upstream release
  131. - remove Patch1000 (mate-screensaver-1.8.0-ja.po.patch)
  132. * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  133. - new upstream release
  134. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2
  135. - add Patch1000 (mate-screensaver-1.8.0-ja.po.patch)
  136. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  137. - new upstream release
  138. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2
  139. - rebuild with VineSeed environment
  140. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  141. - new upstream release
  142. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  143. - new upstream release
  144. - remove BuildRequires: mate-conf-devel, libmatenotify-devel
  145. - add BuildRequires: libnotify-devel, pam-devel
  146. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  147. - new upstream release
  148. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  149. - new upstream release
  150. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  151. - change category
  152. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  153. - initial build for Vine Linux