From 810ae12470c9bcca1133127716c91cbad413a2b9 Mon Sep 17 00:00:00 2001 From: tiwek Date: Tue, 17 Oct 2006 08:45:12 +0000 Subject: [PATCH 1/1] - initial Changed files: brightside.spec -> 1.1 --- brightside.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 brightside.spec diff --git a/brightside.spec b/brightside.spec new file mode 100644 index 0000000..d8a8903 --- /dev/null +++ b/brightside.spec @@ -0,0 +1,80 @@ +Summary: Brightside Screen Corners and Edges daemon +Name: brightside +Version: 1.4.0 +Release: 1 +License: GPL +Group: Applications +Source0: http://files.catmur.co.uk/brightside/%{name}-%{version}.tar.bz2 +# Source0-md5: eed041f45dfa5f29796fde9e302d68c6 +Patch0: %{name}-wnck_workspace_activate.patch +Patch1: %{name}-gconf-mouse-speed.patch +URL: http://wiki.catmur.co.uk/Brightside +BuildRequires: libwnck-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Brightside is a tool to add reactivity to the corners and edges of +your Gnome desktop. + +Brightside provides edge flipping to allow you to switch to the +adjacent workspace simply by pressing your mouse against the edge of +the screen. + +Brightside also allows you to assign configurable actions to occur +while you rest the mouse in a corner of the screen. Currently +available actions comprise: + +- Fade out volume +- Prevent screensaver starting +- Start screensaver and lock screen +- Enter DPMS standby mode +- Enter DPMS suspend mode +- Enter DPMS off mode +- Dim laptop backlight +- Custom action + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 + +%build +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +#cp -f /usr/share/automake/config.sub . +%configure \ + --enable-dependency-tracking \ + --enable-tray-icon + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{name} --with-gnome --all-name + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%gconf_schema_install %{name}.schemas + +%preun +%gconf_schema_uninstall %{name}.schemas + + + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%attr(755,root,root) %{_bindir}/* +%{_pixmapsdir}/* +%{_sysconfdir}/gconf/schemas/* +%dir %{_datadir}/%{name} +%{_datadir}/%{name}/* -- 2.44.0