[5311] | 1 | Summary: Screensaver for MATE |
---|
| 2 | Name: mate-screensaver |
---|
[8359] | 3 | Version: 1.8.0 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | Source1: %{name}.pam |
---|
| 7 | License: GPLv2 |
---|
[5316] | 8 | Group: User Interface/Desktops |
---|
[6679] | 9 | URL: http://mate-desktop.org/ |
---|
[5311] | 10 | |
---|
| 11 | BuildRequires: mate-common |
---|
| 12 | BuildRequires: mate-doc-utils |
---|
| 13 | BuildRequires: mate-desktop-devel |
---|
| 14 | BuildRequires: mate-menus-devel |
---|
| 15 | BuildRequires: libmatekbd-devel |
---|
[7697] | 16 | BuildRequires: libnotify-devel |
---|
[5311] | 17 | BuildRequires: gtk2-devel |
---|
| 18 | BuildRequires: dbus-glib-devel |
---|
| 19 | BuildRequires: libSM-devel |
---|
| 20 | BuildRequires: libXScrnSaver-devel |
---|
| 21 | BuildRequires: libXxf86misc-devel |
---|
[7697] | 22 | BuildRequires: pam-devel |
---|
[5311] | 23 | BuildRequires: gtk-doc |
---|
| 24 | BuildRequires: autoconf |
---|
| 25 | BuildRequires: automake |
---|
| 26 | |
---|
[7697] | 27 | Requires(posttrans,postun): glib2 |
---|
| 28 | Requires(post,postun): gtk2 |
---|
[5311] | 29 | Requires(post,postun): desktop-file-utils |
---|
| 30 | |
---|
| 31 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 32 | |
---|
| 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
| 35 | Packager: Takemikaduchi |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | %description |
---|
| 39 | mate-screensaver is a screen saver and locker that aims to have |
---|
| 40 | simple, sane, secure defaults and be well integrated with the desktop. |
---|
| 41 | It is designed to support: |
---|
| 42 | |
---|
| 43 | * the ability to lock down configuration settings |
---|
| 44 | * translation into many languages |
---|
| 45 | * user switching |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | %package devel |
---|
| 49 | Summary: Development tools for mate-screensaver |
---|
| 50 | Summary(ja): mate-screensaver の開発環境 |
---|
| 51 | Group: Development/Libraries |
---|
| 52 | Requires: %{name} = %{version}-%{release} |
---|
| 53 | Requires: pkgconfig |
---|
| 54 | |
---|
| 55 | %description devel |
---|
| 56 | Header files and libraries for building a extension library for the |
---|
| 57 | mate-screensaver. |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %prep |
---|
| 61 | %setup -q |
---|
| 62 | |
---|
| 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 |
---|
[8359] | 145 | * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
[8068] | 148 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-2 |
---|
| 149 | - rebuild with VineSeed environment |
---|
| 150 | |
---|
[7821] | 151 | * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[7697] | 154 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - remove BuildRequires: mate-conf-devel, libmatenotify-devel |
---|
| 157 | - add BuildRequires: libnotify-devel, pam-devel |
---|
| 158 | |
---|
[6679] | 159 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
[6172] | 162 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
[5316] | 165 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 166 | - change category |
---|
| 167 | |
---|
[5311] | 168 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 169 | - initial build for Vine Linux |
---|
| 170 | |
---|