compiz/compiz.spec

282 lines
9.5 KiB
RPMSpec
Raw Normal View History

# -*- mode: rpm-spec -*-
%define sha1 3173a142efe5e7af83ebb534a074d9d2a0c67a86
%define snapshot 20060817
2006-09-01 19:51:44 +00:00
%define dialogversion 0.6.61
Name: compiz
Url: http://www.freedesktop.org/Software/compiz
License: X11/MIT/GPL
Group: User Interface/Desktops
Version: 0.0.13
Release: 0.25.%{snapshot}git%{?dist}
Summary: OpenGL window and compositing manager
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2006-07-18 18:09:40 +00:00
# libdrm is not available on these arches
ExcludeArch: s390 s390x ppc64
2006-07-18 17:38:11 +00:00
Requires: xorg-x11-server-Xorg >= 1.1.0-26
Requires: mesa-libGL >= 6.5-9
2006-07-31 15:44:24 +00:00
Requires: libwnck >= 2.15.4
2006-07-25 15:29:17 +00:00
Requires: system-logos
Requires: gnome-session >= 2.15.90-2.fc6
BuildRequires: libX11-devel, libdrm-devel, libwnck-devel
BuildRequires: libXfixes-devel, libXrandr-devel, libXrender-devel
BuildRequires: libXcomposite-devel, libXdamage-devel, libXext-devel
BuildRequires: libXt-devel, libXmu-devel, libICE-devel, libSM-devel
BuildRequires: gnome-desktop-devel, control-center-devel, GConf2-devel
2006-09-01 19:02:17 +00:00
BuildRequires: gettext autoconf automake libtool
Source0: %{name}-%{sha1}.tar.bz2
Source1: desktop-effects-%{dialogversion}.tar.bz2
2006-09-01 18:24:39 +00:00
# Patches already upstream
Patch000: resize-move-keybindings.patch
Patch001: sync-override-redirect-windows.patch
# Patches that are not upstream
Patch101: aiglx-defaults.patch
Patch102: tfp-server-extension.patch
Patch103: composite-cube-logo.patch
Patch104: fbconfig-depth-fix.patch
Patch105: fedora-logo.patch
Patch106: glfinish.patch
Patch107: cow.patch
2006-09-01 18:24:39 +00:00
Patch108: plane.patch
Patch109: double-click.patch
2006-09-15 17:04:43 +00:00
Patch110: thumbnail-sorting.patch
Patch111: button-clicks.patch
%description
Compiz is one of the first OpenGL-accelerated compositing window
managers for the X Window System. The integration allows it to perform
compositing effects in window management, such as a minimization
effect and a cube workspace. Compiz is an OpenGL compositing manager
that use Compiz use EXT_texture_from_pixmap OpenGL extension extension
for binding redirected top-level windows to texture objects.
%package devel
Summary: Development packages for compiz.
Group: Development/Libraries
Requires: compiz = %{PACKAGE_VERSION}
%description devel
The compiz-devel package includes the header files,
and developer docs for the compiz package.
Install compiz-devel if you want to develop plugins for the compiz
windows and compositing manager.
%prep
%setup -q -T -b1 -n desktop-effects-%{dialogversion}
%setup -q -n %{name}-%{sha1}
2006-09-01 18:24:39 +00:00
%patch000 -p1 -b .resize-move-keybindings
%patch001 -p1 -b .sync-override-redirect-windows
%patch101 -p1 -b .aiglx-defaults
%patch102 -p1 -b .tfp-server-extension
%patch103 -p1 -b .composite-cube-logo
%patch104 -p1 -b .fbconfig-depth-fix
%patch105 -p1 -b .fedora-logo
%patch106 -p1 -b .glfinish
%patch107 -p1 -b .cow
2006-09-01 18:24:39 +00:00
%patch108 -p1 -b .plane
%patch109 -p1 -b .double-click
2006-09-15 17:04:43 +00:00
%patch110 -p1 -b .thumbnail-sorting
%patch111 -p1 -b .button-clicks
%build
2006-09-01 18:24:39 +00:00
rm -rf $RPM_BUILD_ROOT
CPPFLAGS="$CPPFLAGS -I$RPM_BUILD_ROOT%{_includedir}"
export CPPFLAGS
autoreconf
%configure --disable-libsvg-cairo
make %{?_smp_mflags}
2006-08-03 00:10:39 +00:00
# desktop-effects
cd ../desktop-effects-%{dialogversion}
2006-08-03 00:10:39 +00:00
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
2006-07-26 21:58:34 +00:00
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR=$RPM_BUILD_ROOT install || exit 1
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
2006-08-03 00:10:39 +00:00
echo INSTALLING DESKTOP EFFECTS
cd ../desktop-effects-%{dialogversion}
2006-08-03 00:10:39 +00:00
make DESTDIR=$RPM_BUILD_ROOT install || exit 1
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
%post
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
2006-07-26 21:58:34 +00:00
/usr/bin/gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/compiz.schemas > /dev/null
%preun
2006-07-26 21:58:34 +00:00
if [ "$1" -eq 0 ]; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/compiz.schemas > /dev/null
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING* INSTALL README TODO
%{_bindir}/compiz
%{_bindir}/gnome-window-decorator
%{_libdir}/compiz/*.so
%{_libdir}/window-manager-settings/libcompiz.so
%{_sysconfdir}/gconf/schemas/compiz.schemas
%{_datadir}/compiz/*.png
%{_datadir}/gnome/wm-properties/compiz.desktop
%{_datadir}/locale/*/LC_MESSAGES/compiz.mo
2006-08-03 00:10:39 +00:00
%{_bindir}/desktop-effects
%{_datadir}/compiz/desktop-effects.glade
%{_datadir}/applications/desktop-effects.desktop
%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/compiz.pc
%{_includedir}/compiz
%changelog
* Fri Sep 15 2006 Soren Sandmann <sandmann@redhat.com>
- Add patch to only accept button 1 for close/minimize/maximize
2006-09-15 17:04:43 +00:00
* Fri Sep 15 2006 Soren Sandmann <sandmann@redhat.com>
- Add patch to fix thumbnail sorting (bug 201605)
* Thu Sep 14 2006 Soren Sandmann <sandmann@redhat.com>
- Add patch to fix double clicking (bug 201783).
* Tue Sep 12 2006 Soren Sandmann <sandmann@redhat.com>
- Don't attempt to move the viewport when dx = dy = 0.(last bit of 206088).
* Tue Sep 12 2006 Soren Sandmann <sandamnn@redhat.com>
- Fix plane.patch to draw correctly when no timeout is running. (206088).
* Wed Sep 6 2006 Kristian Høgsberg <krh@redhat.com>
- Update fbconfig-depth-fix.patch to also skip fbconfigs without
corresponding visuals.
* Tue Sep 5 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.25.20060817git.fc6
- Make number of vertical size configurable
* Tue Sep 5 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.24.20060817git.fc6
- Fix vertical viewport support in the plane patch.
2006-09-01 19:52:25 +00:00
* Fri Sep 1 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.23.20060817git.fc6
2006-09-01 19:51:44 +00:00
- Upgrade to 0.6.61 of the dialog
2006-09-01 19:02:17 +00:00
* Fri Sep 1 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.22.20060817git.fc6
- Add libtool to BuildRequires
* Fri Sep 1 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.22.20060817git.fc6
- Add automake and autoconf to BuildRequires
2006-09-01 18:24:39 +00:00
* Fri Sep 1 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.22.20060817git.fc6
- Add a patch to put viewports on a plane.
* Wed Aug 30 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.21.20060817git.fc6
- Drop gl-include-inferiors.patch now that compiz uses COW and the X
server evicts offscreen pixmaps automatically on
GLX_EXT_texture_from_pixmap usage.
* Tue Aug 29 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.20.20060817git.fc6
- Add cow.patch to make compiz use the composite overlay window.
2006-08-25 22:12:02 +00:00
* Fri Aug 25 2006 Soren Sandmann <sandmann@redhat.com> - 0.0.13-0.19-20060817git.fc6
- Rebase to desktop-effects 0.6.41
* Fri Aug 25 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.18.20060817git.fc6
- Rebase to desktop-effects 0.6.19 and drop
desktop-effects-0.6.1-delete-session.patch
* Tue Aug 22 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.17.20060817git.fc6
- Add patch from upstream to also use sync protocol for override
redirect windows (sync-override-redirect-windows.patch).
* Thu Aug 17 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.16.20060817git.fc6
- Rebase to latest upstream changes which has the rest of the bindings
rewrite. Add resize-move-keybindings.patch to make move and resize
bindings work like metacity.
- Add back scale plugin.
* Thu Aug 10 2006 Ray Strode <rstrode@redhat.com> 0.0.13-0.15.20060721git.fc5.aiglx
- Add Requires: gnome-session 2.15.90-2.fc6 (bug 201473)
- unlink session file on changing wms (bug 201473)
2006-08-03 22:08:31 +00:00
* Thu Aug 3 2006 Soren Sandmann <sandmann@redhat.com> 0.0.13-0.14.20060721git.fc5.aiglx
- Add Requires: gnome-session 2.15.4-3
* Wed Aug 3 2006 Soren Sandmann <sandmann@redhat.com> 0.0.13-0.13.20060721git.fc5.aiglx
- New version of dialog box. Macro the version number.
2006-08-03 00:10:39 +00:00
* Wed Aug 2 2006 Soren Sandmann <sandmann@redhat.com> 0.0.13-0.13.20060721git.fc5.aiglx
- Add 'desktop effects' dialog box.
2006-07-31 15:44:24 +00:00
* Mon Jul 31 2006 Kristian Høgsberg <krh@redhat.com> 0.0.13-0.12.20060721git.fc5.aiglx
- Add libwnck requires.
* Wed Jul 26 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.11.20060721git.fc5.aiglx
- Bump and build for fc5 AIGLX repo.
2006-07-26 21:58:34 +00:00
* Wed Jul 26 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.12.20060721git
- Fix gconf hooks.
2006-07-25 15:29:17 +00:00
* Tue Jul 25 2006 Kristian Høgsberg <krh@redhat.com>
- Require system-logos instead.
* Mon Jul 24 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.10.20060721git
- Bump version to work around tagging weirdness.
* Mon Jul 24 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.9.20060721git
- Add devel package and require redhat-logos instead of fedora-logos (#199757).
* Fri Jul 21 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.8.20060720git
- Add workaround for AIGLX throttling problem.
* Thu Jul 20 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-0.7.20060720git
- Drop scale plugin from snapshot.
2006-07-18 17:38:11 +00:00
* Tue Jul 18 2006 Matthias Clasen <mclasen@redhat.com> - 0.0.13-0.6.20060717git
- Don't build on s390
* Mon Jul 17 2006 Matthias Clasen <mclasen@redhat.com> - 0.0.13-0.5.20060717git
- Do some changes forced upon us by package review
* Thu Jul 13 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13-5.1
- Use sane numbering scheme.
* Fri Jul 7 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13.fedora1-4
- Drop the fullscreen hardcode patch and require X server that has
GLX_MESA_copy_sub_buffer.
* Tue Jun 27 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13.fedora1-3
- Unbreak --replace.
* Thu Jun 15 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13.fedora1-2
- Add Requires, fix start-compiz.sh.
* Wed Jun 14 2006 Kristian Høgsberg <krh@redhat.com> - 0.0.13.fedora1-1
- Spec file for compiz, borrowing bits and pieces from Alphonse Van
Assches spec file (#192432).