File mango-lassi.spec of Package mango-lassi

# This is a template, before making any further amendments, do the following
# search & replace actions:
#
# PACKAGE  => package-name
# VERSION  => package version
# YOURNAME => Your name
# FEEDBACK => Your email address
#
# Then, fill in the BuildRequires line as appropriate.  Some basic packages are
# listed for you, but you'll need to add packages that the configure script
# fails to find.
#
# Don't forget that every package installs different files, so you need to
# populate the %files section appropriately.
#
# An example %doc line is provided but you may need to tweak it.
#
# provided, you will likely need to add more.
# After that, you may remove this line and all above it.
#
# spec file for package PACKAGE (version VERSION)
#
# Copyright (c) 2007 YOURNAME
# 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 FEEDBACK
#

# 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: dbus-1-glib-devel gtk2-devel libavahi-glib-devel libglade2-devel libnotify-devel perl-XML-Parser update-desktop-files

%if %suse_version <= 1020
%define _prefix   /opt/gnome
%define _sysconfdir /etc/%_prefix
%endif

Name:         mango-lassi
Summary:      Input sharing for X
Version:      000
Release:      0
License:      GPL
Group:        System/X11/Utilities
Source0:      %{name}-%{version}.tar.bz2
URL:          http://git.0pointer.de/repos/mango-lassi.git/
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Autoreqprov:  on
Requires:     %{name}-lang = %{version}

%description
Insert description here - normally taken from the README.

%lang_package
%debug_package
%prep
%setup -n %{name}-%{version}

%build
%configure

CFLAGS=$RPM_OPT_FLAGS make

%install
%makeinstall
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/mango-lassi/*

%files lang -f %{name}.lang

%changelog -n %{name}
openSUSE Build Service is sponsored by