%define gnomegroup sources %define majver %(echo %{version} | cut -d. -f 1-2) Name: metacity Version: 3.16.1 Release: 1mamba Summary: A minimal X window manager aimed at nontechnical users used by Gnome Group: Graphical Desktop/Libraries/GNOME Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source0: http://ftp.acc.umu.se/pub/GNOME/%{gnomegroup}/metacity/%{majver}/metacity-%{version}.tar.xz #ftp://ftp.gnome.org/pub/GNOME/sources/metacity/%{metacity_majver}/metacity-%{version}.tar.bz2 Source1: %{name}.png Patch: %{name}-2.22.0-desktop.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel >= 2.20.0 BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libcanberra-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel >= 2.18.0 BuildRequires: libgtk-devel >= 2.14.3 BuildRequires: libICE-devel BuildRequires: libpango-devel BuildRequires: libSM-devel >= 1.0.3 BuildRequires: libstartup-notification-devel BuildRequires: libX11-devel >= 1.1.3 BuildRequires: libXcomposite-devel >= 0.4.0 BuildRequires: libXcursor-devel BuildRequires: libXdamage-devel BuildRequires: libXext-devel >= 1.0.3 BuildRequires: libXfixes-devel BuildRequires: libXinerama-devel >= 1.0.2 BuildRequires: libXrandr-devel BuildRequires: libXrender-devel >= 0.9.4 BuildRequires: libz-devel BuildRequires: ORBit2-devel ## AUTOBUILDREQ-END BuildRequires: zenity BuildRequires: itstool BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A minimal X window manager aimed at nontechnical users used by Gnome. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A minimal X window manager aimed at nontechnical users used by Gnome. This package contains static libraries and header files need for development. %prep %setup -q #%patch -p1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %{__mkdir_p} %{buildroot}%{_datadir}/pixmaps #%{__mkdir_p} %{buildroot}%{_datadir}/applications install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps/%{name}.png #install -m 644 src/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/metacity %{_bindir}/metacity-message %{_bindir}/metacity-theme-viewer %{_bindir}/metacity-window-demo %{_libdir}/libmetacity-private.so.* %{_datadir}/applications/metacity.desktop %{_datadir}/GConf/gsettings/metacity-schemas.convert %{_datadir}/glib-2.0/schemas/org.gnome.metacity.gschema.xml %{_datadir}/help/C/creating-metacity-themes/index.docbook %lang(de) %{_datadir}/help/de/creating-metacity-themes/index.docbook %{_datadir}/gnome/wm-properties/metacity-wm.desktop %{_datadir}/gnome-control-center/keybindings/50-metacity-*.xml %{_datadir}/metacity/icons/metacity-window-demo.png %{_datadir}/pixmaps/%{name}.png %{_datadir}/themes/* %{_mandir}/man1/metacity.1.gz %{_mandir}/man1/metacity-message.1.gz %{_mandir}/man1/metacity-theme-viewer.1.gz %{_mandir}/man1/metacity-window-demo.1.gz %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_libdir}/libmetacity-private.a %{_libdir}/libmetacity-private.la %{_libdir}/libmetacity-private.so %dir %{_includedir}/metacity %dir %{_includedir}/metacity/metacity-private %{_includedir}/metacity/metacity-private/*.h %{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS README %changelog * Sat Apr 25 2015 Automatic Build System 3.16.1-1mamba - automatic version update by autodist * Mon Nov 24 2014 Automatic Build System 3.14.3-1mamba - automatic version update by autodist * Fri Nov 14 2014 Automatic Build System 3.14.2-1mamba - automatic update by autodist * Fri Oct 17 2014 Automatic Build System 3.14.1-1mamba - automatic version update by autodist * Thu Oct 16 2014 Automatic Build System 3.14.0-1mamba - automatic version update by autodist * Tue Jun 17 2014 Automatic Build System 3.12.0-1mamba - automatic version update by autodist * Mon Oct 15 2012 Automatic Build System 2.34.13-1mamba - automatic version update by autodist * Tue Sep 11 2012 Automatic Build System 2.34.8-1mamba - automatic version update by autodist * Mon Aug 06 2012 Automatic Build System 2.34.5-1mamba - automatic version update by autodist * Mon Jul 09 2012 Automatic Build System 2.34.3-1mamba - automatic version update by autodist * Thu Jul 21 2011 Automatic Build System 2.34.1-1mamba - update to 2.34.1 * Tue Apr 05 2011 Automatic Build System 2.34.0-1mamba - automatic update by autodist * Wed Sep 29 2010 Automatic Build System 2.30.3-1mamba - automatic update to 2.30.3 by autodist * Wed Sep 15 2010 Automatic Build System 2.30.2-1mamba - automatic update to 2.30.2 by autodist * Sat May 29 2010 Automatic Build System 2.30.1-1mamba - automatic update to 2.30.1 by autodist * Tue Apr 27 2010 Automatic Build System 2.30.0-1mamba - automatic update by autodist * Sat Jan 30 2010 Automatic Build System 2.28.1-1mamba - automatic update by autodist * Mon Sep 28 2009 Automatic Build System 2.28.0-1mamba - automatic update to 2.28.0 by autodist * Thu May 21 2009 Automatic Build System 2.26.0-2mamba - automatic rebuild by autodist * Fri Apr 03 2009 Silvan Calarco 2.26.0-1mamba - automatic update to 2.26.0 by autodist * Fri Sep 26 2008 gil 2.24.0-1mamba - update to 2.24.0 * Sat Aug 16 2008 gil 2.22.0-1mamba - update to verision 2.22.0 - edit source * Tue Apr 10 2007 Tiziano Pratellesi 2.18.0-1mamba - update to verision 2.18.0 * Mon Mar 05 2007 Silvan Calarco 2.16.1-1qilnx - package created by autospec