[5311] | 1 | Summary: Screensaver for MATE |
---|
| 2 | Name: mate-screensaver |
---|
[12229] | 3 | Version: 1.20.3 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | %define shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//') |
---|
| 6 | Source0: https://pub.mate-desktop.org/releases/%{shortver}/%{name}-%{version}.tar.xz |
---|
[5311] | 7 | Source1: %{name}.pam |
---|
[8489] | 8 | |
---|
[10897] | 9 | License: GPLv2 and LGPLv2 |
---|
[5316] | 10 | Group: User Interface/Desktops |
---|
[6679] | 11 | URL: http://mate-desktop.org/ |
---|
[5311] | 12 | |
---|
[9946] | 13 | # for Vine Linux |
---|
| 14 | Patch1001: mate-screensaver-1.12.0-accountsservice.patch |
---|
[12229] | 15 | Patch1002: mate-elogind.patch |
---|
[9946] | 16 | |
---|
[5311] | 17 | BuildRequires: mate-common |
---|
[11011] | 18 | BuildRequires: mate-desktop-devel >= 1.17.0 |
---|
[5311] | 19 | BuildRequires: mate-menus-devel |
---|
| 20 | BuildRequires: libmatekbd-devel |
---|
[7697] | 21 | BuildRequires: libnotify-devel |
---|
[11011] | 22 | BuildRequires: gtk3-devel |
---|
[5311] | 23 | BuildRequires: dbus-glib-devel |
---|
| 24 | BuildRequires: libSM-devel |
---|
| 25 | BuildRequires: libXScrnSaver-devel |
---|
| 26 | BuildRequires: libXxf86misc-devel |
---|
[7697] | 27 | BuildRequires: pam-devel |
---|
[9946] | 28 | BuildRequires: accountsservice-devel |
---|
[5311] | 29 | BuildRequires: gtk-doc |
---|
| 30 | BuildRequires: autoconf |
---|
| 31 | BuildRequires: automake |
---|
[12229] | 32 | BuildRequires: elogind-devel |
---|
[5311] | 33 | |
---|
[7697] | 34 | Requires(posttrans,postun): glib2 |
---|
| 35 | Requires(post,postun): gtk2 |
---|
[5311] | 36 | Requires(post,postun): desktop-file-utils |
---|
[9946] | 37 | Requires: accountsservice |
---|
[5311] | 38 | |
---|
| 39 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 40 | |
---|
| 41 | Vendor: Project Vine |
---|
| 42 | Distribution: Vine Linux |
---|
[12229] | 43 | Packager: iwaim |
---|
[5311] | 44 | |
---|
| 45 | |
---|
| 46 | %description |
---|
| 47 | mate-screensaver is a screen saver and locker that aims to have |
---|
| 48 | simple, sane, secure defaults and be well integrated with the desktop. |
---|
| 49 | It is designed to support: |
---|
| 50 | |
---|
| 51 | * the ability to lock down configuration settings |
---|
| 52 | * translation into many languages |
---|
| 53 | * user switching |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %package devel |
---|
| 57 | Summary: Development tools for mate-screensaver |
---|
| 58 | Summary(ja): mate-screensaver の開発環境 |
---|
| 59 | Group: Development/Libraries |
---|
| 60 | Requires: %{name} = %{version}-%{release} |
---|
| 61 | Requires: pkgconfig |
---|
| 62 | |
---|
| 63 | %description devel |
---|
| 64 | Header files and libraries for building a extension library for the |
---|
| 65 | mate-screensaver. |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %prep |
---|
| 69 | %setup -q |
---|
[9946] | 70 | %patch1001 -p1 -b .vine |
---|
[12229] | 71 | %patch1002 -p1 -b .elogind |
---|
[5311] | 72 | |
---|
| 73 | %build |
---|
[9946] | 74 | NOCONFIGURE=1 ./autogen.sh |
---|
[5311] | 75 | %configure \ |
---|
| 76 | --libexecdir=%{_libexecdir}/mate \ |
---|
| 77 | --disable-static \ |
---|
[7697] | 78 | --without-systemd \ |
---|
[12229] | 79 | --with-elogind \ |
---|
[7697] | 80 | --enable-pam=yes |
---|
[5311] | 81 | |
---|
| 82 | %{__make} %{?_smp_mflags} |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %install |
---|
| 86 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 87 | |
---|
| 88 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 89 | |
---|
| 90 | mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d |
---|
| 91 | install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/pam.d/mate-screensaver |
---|
| 92 | |
---|
| 93 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 94 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 95 | |
---|
| 96 | # conflict with gnome-screensaver |
---|
| 97 | %{__rm} -rf ${RPM_BUILD_ROOT}%{_datadir}/backgrounds/cosmos |
---|
[8359] | 98 | %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/gnome-logo-white.svg |
---|
[5311] | 99 | |
---|
| 100 | %find_lang %{name} |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | %clean |
---|
| 104 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 105 | |
---|
| 106 | %post |
---|
| 107 | /sbin/ldconfig |
---|
| 108 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 109 | touch --no-create %{_datadir}/icons/hicolor |
---|
[7697] | 110 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
[5311] | 111 | |
---|
| 112 | %postun |
---|
| 113 | /sbin/ldconfig |
---|
[7697] | 114 | if [ $1 -eq 0 ]; then |
---|
| 115 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 116 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 117 | gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 118 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 119 | fi |
---|
| 120 | |
---|
[7697] | 121 | %posttrans |
---|
| 122 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
[5311] | 123 | |
---|
[7697] | 124 | |
---|
| 125 | |
---|
[5311] | 126 | %files -f %{name}.lang |
---|
| 127 | %defattr(-,root,root,-) |
---|
[12229] | 128 | %license COPYING* |
---|
| 129 | %doc ChangeLog NEWS README |
---|
[5311] | 130 | %{_sysconfdir}/pam.d/mate-screensaver |
---|
| 131 | %{_sysconfdir}/xdg/autostart/mate-screensaver.desktop |
---|
| 132 | %{_sysconfdir}/xdg/menus/mate-screensavers.menu |
---|
| 133 | %{_bindir}/mate-screensaver |
---|
| 134 | %{_bindir}/mate-screensaver-command |
---|
| 135 | %{_bindir}/mate-screensaver-preferences |
---|
| 136 | %{_libexecdir}/mate/mate-screensaver |
---|
| 137 | %{_libexecdir}/mate/mate-screensaver-dialog |
---|
| 138 | %{_libexecdir}/mate/mate-screensaver-gl-helper |
---|
| 139 | %{_datadir}/applications/mate-screensaver-preferences.desktop |
---|
| 140 | %{_datadir}/applications/screensavers/*.desktop |
---|
| 141 | %{_datadir}/dbus-1/services/org.mate.ScreenSaver.service |
---|
| 142 | %{_datadir}/desktop-directories/mate-screensaver.directory |
---|
[7697] | 143 | %{_datadir}/glib-2.0/schemas/org.mate.screensaver.gschema.xml |
---|
[5311] | 144 | %{_datadir}/mate-background-properties/cosmos.xml |
---|
| 145 | %{_datadir}/%{name} |
---|
| 146 | %{_datadir}/pixmaps/mate-logo-white.svg |
---|
| 147 | %{_mandir}/man1/*.1.gz |
---|
| 148 | |
---|
| 149 | %files devel |
---|
| 150 | %defattr(-,root,root,-) |
---|
| 151 | %{_libdir}/pkgconfig/mate-screensaver.pc |
---|
| 152 | |
---|
| 153 | |
---|
| 154 | %changelog |
---|
[12229] | 155 | * Tue Oct 01 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.20.3-1 |
---|
| 156 | - updated to 1.20.3. |
---|
| 157 | - imported Patch1002 from upstream to support elogind. |
---|
| 158 | |
---|
[11664] | 159 | * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1 |
---|
| 160 | - update to 1.20.0 |
---|
| 161 | |
---|
[11419] | 162 | * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1 |
---|
| 163 | - update to 1.18.2 |
---|
| 164 | |
---|
[11073] | 165 | * Fri May 05 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1 |
---|
| 166 | - update to 1.18.1 |
---|
| 167 | |
---|
[11011] | 168 | * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1 |
---|
| 169 | - update to 1.18.0 |
---|
| 170 | - move to GTK3+ |
---|
| 171 | - drop BR: mate-doc-utils |
---|
| 172 | |
---|
[10964] | 173 | * Sun Mar 26 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1 |
---|
| 174 | - update to 1.16.1 |
---|
| 175 | |
---|
[10897] | 176 | * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1 |
---|
| 177 | - new upstream release |
---|
| 178 | - update License |
---|
| 179 | - update Packager |
---|
| 180 | |
---|
[10327] | 181 | * Sun May 22 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.1-1 |
---|
| 182 | - new upstream release |
---|
| 183 | |
---|
[10255] | 184 | * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1 |
---|
| 185 | - new upstream release |
---|
| 186 | |
---|
[9797] | 187 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
[9946] | 188 | - add BuildRequires: accountsservice-devel |
---|
| 189 | - add Patch1001 (mate-screensaver-1.12.0-accountsservice.patch) |
---|
| 190 | |
---|
| 191 | * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
[9797] | 192 | - new upstream release |
---|
| 193 | |
---|
[9667] | 194 | * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
[9601] | 197 | * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[9552] | 200 | * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1 |
---|
| 201 | - new upstream release |
---|
| 202 | - remove Patch1000 (mate-screensaver-1.8.0-ja.po.patch) |
---|
| 203 | |
---|
[9120] | 204 | * Wed Nov 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1 |
---|
| 205 | - new upstream release |
---|
| 206 | |
---|
[8489] | 207 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 208 | - add Patch1000 (mate-screensaver-1.8.0-ja.po.patch) |
---|
| 209 | |
---|
[8359] | 210 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
[8068] | 213 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 214 | - rebuild with VineSeed environment |
---|
| 215 | |
---|
[7821] | 216 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 217 | - new upstream release |
---|
| 218 | |
---|
[7697] | 219 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 220 | - new upstream release |
---|
| 221 | - remove BuildRequires: mate-conf-devel, libmatenotify-devel |
---|
| 222 | - add BuildRequires: libnotify-devel, pam-devel |
---|
| 223 | |
---|
[6679] | 224 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 225 | - new upstream release |
---|
| 226 | |
---|
[6172] | 227 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 228 | - new upstream release |
---|
| 229 | |
---|
[5316] | 230 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 231 | - change category |
---|
| 232 | |
---|
[5311] | 233 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 234 | - initial build for Vine Linux |
---|
| 235 | |
---|