[8374] | 1 | Summary: Cinnamon Screensaver |
---|
| 2 | Summary(ja): Cinnamon スクリーンセーバー |
---|
| 3 | Name: cinnamon-screensaver |
---|
| 4 | Version: 2.2.0 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPL |
---|
| 7 | Group: User Interface/Desktops |
---|
| 8 | URL: https://github.com/linuxmint/cinnamon-screensaver |
---|
| 9 | |
---|
| 10 | Source0: %{name}-%{version}.tar.gz |
---|
| 11 | |
---|
| 12 | Vendor: Project Vine |
---|
| 13 | Distribution: Vine Linux |
---|
| 14 | Packager: Takemikaduchi |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: gtk3-devel >= 2.99.3 |
---|
| 18 | BuildRequires: glib2-devel >= 2.25.6 |
---|
| 19 | BuildRequires: dbus-devel >= 0.30 |
---|
| 20 | BuildRequires: cinnamon-desktop-devel >= 1.0.0 |
---|
| 21 | BuildRequires: pam-devel |
---|
| 22 | BuildRequires: libX11-devel, libXScrnSaver-devel, libXext-devel |
---|
| 23 | BuildRequires: libXinerama-devel libXmu-devel |
---|
| 24 | BuildRequires: libnotify-devel |
---|
| 25 | BuildRequires: xorg-x11-proto-devel |
---|
| 26 | BuildRequires: libXxf86misc-devel |
---|
| 27 | BuildRequires: libXxf86vm-devel |
---|
| 28 | BuildRequires: gettext |
---|
| 29 | BuildRequires: perl(XML::Parser) |
---|
| 30 | BuildRequires: nss-devel |
---|
| 31 | BuildRequires: automake, autoconf, libtool, intltool |
---|
| 32 | BuildRequires: gnome-common |
---|
| 33 | |
---|
| 34 | Requires(postun,posttrans): glib2 |
---|
| 35 | Requires(postun,posttrans): desktop-file-utils |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | cinnamon-screensaver is a screen saver and locker that aims to have |
---|
| 39 | simple, sane, secure defaults and be well integrated with the desktop. |
---|
| 40 | It is designed to support: |
---|
| 41 | |
---|
| 42 | * the ability to lock down configuration settings |
---|
| 43 | * translation into many languages |
---|
| 44 | * user switching |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %prep |
---|
| 48 | %setup -q |
---|
| 49 | |
---|
| 50 | %build |
---|
| 51 | NOCONFIGURE=1 ./autogen.sh |
---|
| 52 | %configure \ |
---|
| 53 | --enable-locking \ |
---|
| 54 | --without-systemd |
---|
| 55 | make %{?_smp_mflags} |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %postun |
---|
| 63 | if [ $1 -eq 0 ] ; then |
---|
| 64 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 65 | update-desktop-database -q > /dev/null || : |
---|
| 66 | fi |
---|
| 67 | |
---|
| 68 | %posttrans |
---|
| 69 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 70 | update-desktop-database -q > /dev/null || : |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %clean |
---|
| 74 | rm -rf $RPM_BUILD_ROOT |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | %files |
---|
| 78 | %defattr(-,root,root) |
---|
| 79 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 80 | %{_sysconfdir}/pam.d/cinnamon-screensaver |
---|
| 81 | %{_bindir}/%{name} |
---|
| 82 | %{_bindir}/%{name}-command |
---|
| 83 | %{_libexecdir}/%{name}-dialog |
---|
| 84 | %{_datadir}/applications/%{name}.desktop |
---|
| 85 | %{_datadir}/dbus-1/services/org.cinnamon.ScreenSaver.service |
---|
| 86 | %{_mandir}/man1/%{name}-command.1.gz |
---|
| 87 | %{_mandir}/man1/%{name}.1.gz |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | %changelog |
---|
| 91 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1 |
---|
| 92 | - initial build |
---|
| 93 | |
---|