diff --git a/README.md b/README.md index f5c840c..9026a65 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # metacity +A minimal X window manager aimed at nontechnical users used by Gnome. + diff --git a/metacity-2.22.0-desktop.patch b/metacity-2.22.0-desktop.patch new file mode 100644 index 0000000..0e27d59 --- /dev/null +++ b/metacity-2.22.0-desktop.patch @@ -0,0 +1,12 @@ +--- metacity-2.22.0/src/metacity.desktop 2008-08-16 01:34:46.000000000 +0200 ++++ metacity-2.22.0/src/metacity.desktop-gil 2008-08-16 02:07:48.000000000 +0200 +@@ -78,6 +78,9 @@ + Name[zh_HK]=Metacity + Name[zh_TW]=Metacity + Exec=metacity ++Icon=/usr/share/pixmaps/metacity.png ++Type=Application ++Categories=Metacity;Settings;DesktopSettings; + # name of loadable control center module + X-GNOME-WMSettingsModule=metacity + # name we put on the WM spec check window diff --git a/metacity.png b/metacity.png new file mode 100644 index 0000000..8b5d9c3 Binary files /dev/null and b/metacity.png differ diff --git a/metacity.spec b/metacity.spec new file mode 100644 index 0000000..8e782c3 --- /dev/null +++ b/metacity.spec @@ -0,0 +1,166 @@ +%define gnomegroup sources +%define majver %(echo %{version} | cut -d. -f 1-2) +Name: metacity +Version: 2.34.13 +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 +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-1/metacity-private +%{_includedir}/metacity-1/metacity-private/*.h +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README + +%changelog +* 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