summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--netbook/gnome-applets-window-picker.spec (renamed from gnome/window-picker-applet.spec)39
-rw-r--r--netbook/maximus.spec93
2 files changed, 118 insertions, 14 deletions
diff --git a/gnome/window-picker-applet.spec b/netbook/gnome-applets-window-picker.spec
index d109db8..6934ffd 100644
--- a/gnome/window-picker-applet.spec
+++ b/netbook/gnome-applets-window-picker.spec
@@ -1,28 +1,33 @@
-Name: window-picker-applet
-Version: 0.4.23
-Release: 1%{?dist}
+%define upname window-picker-applet
+
+Name: gnome-applets-window-picker
+Version: 0.5.6
+Release: 2%{?dist}
Summary: Window picker applet for GNOME
Group: User Interface/Desktops
License: GPLv3
URL: https://launchpad.net/window-picker-applet
-Source0: http://launchpad.net/window-picker-applet/trunk/1.2.0beta/+download/%{name}-%{version}.tar.gz
+Source0: http://launchpad.net/window-picker-applet/0.5/ubuntu-9.10-ui-freeze/+download/window-picker-applet-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gnome-panel-devel
BuildRequires: libwnck-devel
BuildRequires: intltool
-Requires(pre): GConf2
-Requires(post): GConf2
+Requires(pre): GConf2
+Requires(post): GConf2
Requires(preun): GConf2
+# upstream name; we provide it to help people installing with yum
+Provides: %{upname}
+
%description
A gnome-panel applet that displays open windows as icons on the panel,
and has integrated window title-bar functionality. Optimised for use
on netbook-size screens.
%prep
-%setup -q
+%setup -q -n %{upname}-%{version}
%build
@@ -34,26 +39,26 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name}
+%find_lang %{upname}
%pre
if [ "$1" -gt 1 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+ %{_sysconfdir}/gconf/schemas/%{upname}.schemas >/dev/null || :
fi
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
- %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+ %{_sysconfdir}/gconf/schemas/%{upname}.schemas > /dev/null || :
%preun
if [ "$1" -eq 0 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
- %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+ %{_sysconfdir}/gconf/schemas/%{upname}.schemas > /dev/null || :
fi
@@ -61,13 +66,19 @@ fi
rm -rf $RPM_BUILD_ROOT
-%files -f %{name}.lang
+%files -f %{upname}.lang
%defattr(-,root,root,-)
%doc COPYING AUTHORS
-%config(noreplace) %{_sysconfdir}/gconf/schemas/%{name}.schemas
+%config(noreplace) %{_sysconfdir}/gconf/schemas/%{upname}.schemas
%{_libdir}/bonobo/servers/GNOME_WindowPicker.server
-%{_libexecdir}/%{name}
+%{_libexecdir}/%{upname}
%changelog
+* Mon Sep 14 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.6-2
+- Rename to gnome-applets-window-picker, in keeping with Fedora naming conventions
+
+* Mon Sep 14 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.6-1
+- Update to 0.5.6
+
* Sat Apr 18 2009 Michel Salim <salimma@fedoraproject.org> - 0.4.23-1
- Initial package
diff --git a/netbook/maximus.spec b/netbook/maximus.spec
new file mode 100644
index 0000000..c38bf9c
--- /dev/null
+++ b/netbook/maximus.spec
@@ -0,0 +1,93 @@
+Name: maximus
+Version: 0.4.11
+Release: 1%{?dist}
+Summary: A window management tool
+
+Group: User Interface/Desktops
+License: GPLv3
+URL: https://launchpad.net/maximus/
+Source0: http://launchpad.net/maximus/0.4/ubuntu-9.10-ui-freeze/+download/maximus-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: GConf2-devel
+BuildRequires: gtk2-devel
+BuildRequires: libwnck-devel
+BuildRequires: libXtst-devel
+BuildRequires: libfakekey-devel
+BuildRequires: libgnomeui-devel
+Requires(pre): GConf2
+Requires(post): GConf2
+Requires(preun): GConf2
+
+%description
+A desktop daemon which will automatically maximise and, optionally,
+un-decorate windwos. Has support for exclusion lists and will work
+with any EWMH-spec compliant window-manager.
+
+Created for netbook environments where normally every window is
+maximised and removing the titlebar would give an extra 24px for the
+application to display.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%pre
+if [ "$1" -gt 1 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
+fi
+
+%post
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-install-rule \
+ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+
+%preun
+if [ "$1" -eq 0 ] ; then
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+gconftool-2 --makefile-uninstall-rule \
+ %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
+fi
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/maximus
+%{_sysconfdir}/gconf/schemas/maximus.schemas
+%{_sysconfdir}/xdg/autostart/maximus-autostart.desktop
+%doc COPYING AUTHORS
+
+%changelog
+* Mon Sep 14 2009 Michel Salim <salimma@fedoraproject.org> - 0.4.11-1
+- Update to 0.4.11
+
+* Wed May 27 2009 Michel Salim <salimma@fedoraproject.org> - 0.4.9-1
+- Update to 0.4.9
+
+* Sat Apr 18 2009 Michel Salim <salimma@fedoraproject.org> - 0.4.8-1
+- Update to 0.4.8
+- Register GConf schemas
+
+* Fri Oct 24 2008 Jonathan Roberts <jonrob@fedoraproject.org> 0.4.0-1
+- Updated to latest upstream version
+- Fixed spec file for review comments
+
+* Thu Sep 18 2008 Jonathan Roberts <jonrob@fedoraproject.org> 0.3.14-1
+- Created initial spec file