LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File maximus.spec of Package maximus (Project home:gekker:netbook-remix)

# spec file for package maximus (version 0.1)
# Copyright (c) 2007 Gary Ekker
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
# please send bugfixes or comments to gekker@novell.com

# Note that the Summary, Release, and Group parts of the preamble are
# automatically filled in/replaced by the internal build system based
# on information stored in the PDB.  The same applies to the %description.

# norootforbuild

BuildRequires: cairo-devel dbus-1-devel dbus-1-glib-devel gconf2-devel glib2-devel gnome-common libfakekey-devel libgnomeui-devel libwnck-devel pango-devel perl-XML-Parser update-desktop-files

%if %suse_version <= 1020
%define _prefix   /opt/gnome
%define _sysconfdir /etc/%_prefix
BuildRequires: gconf2-rpm-macros extra-rpm-macros

Name:         maximus
Summary:      a window-management daemon
Version:      0.4.2
Release:      0
License:      GPLv3
Group:        System/GUI/GNOME
Source0:      %{name}-%{version}.tar.gz
Patch0:	      %{name}-sentinel.patch
URL:          https://launchpad.net/netbook-remix
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Autoreqprov:  on
#Requires:     %{name}-lang = %{version}


a window-management daemon (makes sure windows are maximised etc)

%setup -n %{name}-%{version}


#%find_lang %{name}

GCONF_CONFIG_SOURCE=`%{_prefix}/bin/gconftool-2 --get-default-source` %{_prefix}/bin/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/maximus.schemas > /dev/null 2>&1

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun

%posttrans -f %{name}.schemas_posttrans


%files -f %{name}.schemas_list
%defattr(-, root, root)

#%files lang -f %{name}.lang

%changelog -n %{name}