LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File matchbox-common.spec of Package matchbox-common (Project home:illuusio:matchbox)

Name:           matchbox-common
BuildRequires:  libmb1-devel pkgconfig autoconf automake

Summary:        Matchbox common files
Version:        0.9.1
Release:        1
License:        LGPL
Group:          System/Libraries
Source:         %{name}-%{version}.tar.bz2
URL:            http://projects.o-hand.com/matchbox/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch

%description
matchbox-common is a WM for X11. These are Needed common files for WM.

%if %suse_version >= 1030
%debug_package
%endif

%prep
%setup

%build
autoreconf --force --install
%{?suse_update_config:%{suse_update_config -f}}
%configure --enable-pango --enable-jpeg --enable-xsettings
make

%install
%makeinstall
mkdir -p %{buildroot}%{_sysconfdir}/matchbox
echo "#!/bin/sh" > %{buildroot}%{_sysconfdir}/matchbox/session
echo "# But you session here" >> %{buildroot}%{_sysconfdir}/matchbox/session
chmod +x %{buildroot}%{_sysconfdir}/matchbox/session

%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc COPYING NEWS README
%{_bindir}/*
%{_datadir}/icons/blondie
%{_datadir}/matchbox
%{_datadir}/pixmaps/*
%dir %{_sysconfdir}/matchbox/
%config(noreplace) %{_sysconfdir}/matchbox/session

%changelog -n %{progname}