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