2012-09-17 20:01:04 +00:00
|
|
|
#define gitdate 20120424
|
2012-04-25 16:08:09 +00:00
|
|
|
|
|
|
|
Name: weston
|
2013-01-02 22:11:30 +00:00
|
|
|
Version: 1.0.3
|
|
|
|
Release: 1%{?alphatag}%{?dist}
|
2012-04-25 16:08:09 +00:00
|
|
|
Summary: Reference compositor for Wayland
|
|
|
|
Group: User Interface/X
|
|
|
|
License: BSD and CC-BY-SA
|
|
|
|
URL: http://wayland.freedesktop.org/
|
2012-09-17 20:01:04 +00:00
|
|
|
%if 0%{?gitdate}
|
2012-04-25 16:08:09 +00:00
|
|
|
Source0: %{name}-%{gitdate}.tar.bz2
|
2012-09-17 20:01:04 +00:00
|
|
|
%else
|
|
|
|
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
|
|
|
%endif
|
2012-04-25 16:08:09 +00:00
|
|
|
Source1: make-git-snapshot.sh
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: cairo-devel >= 1.10.0
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: libdrm-devel
|
|
|
|
BuildRequires: libjpeg-turbo-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: librsvg2
|
|
|
|
BuildRequires: libtool
|
2012-06-05 15:48:02 +00:00
|
|
|
%if 0%{?fedora} < 18
|
2012-04-25 16:08:09 +00:00
|
|
|
BuildRequires: libudev-devel
|
2012-06-05 15:48:02 +00:00
|
|
|
%endif
|
2012-04-25 16:08:09 +00:00
|
|
|
BuildRequires: libwayland-client-devel
|
|
|
|
BuildRequires: libwayland-server-devel
|
2012-09-17 20:01:04 +00:00
|
|
|
BuildRequires: libwayland-cursor-devel
|
2012-04-25 16:08:09 +00:00
|
|
|
BuildRequires: libxcb-devel
|
2012-09-18 06:08:11 +00:00
|
|
|
BuildRequires: libXcursor-devel
|
2012-09-17 20:01:04 +00:00
|
|
|
BuildRequires: libxkbcommon-devel >= 0.1.0-8
|
2012-04-25 16:08:09 +00:00
|
|
|
BuildRequires: mesa-libEGL-devel >= 8.1
|
|
|
|
BuildRequires: mesa-libgbm-devel
|
|
|
|
BuildRequires: mesa-libGLES-devel
|
|
|
|
BuildRequires: mesa-libGLU-devel
|
|
|
|
BuildRequires: mesa-libwayland-egl-devel
|
|
|
|
BuildRequires: mtdev-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
BuildRequires: pixman-devel
|
|
|
|
BuildRequires: poppler-devel
|
|
|
|
BuildRequires: poppler-glib-devel
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
Weston is the reference wayland compositor that can run on KMS, under X11
|
|
|
|
or under another compositor.
|
|
|
|
|
|
|
|
%prep
|
2012-09-17 20:01:04 +00:00
|
|
|
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
2012-04-25 16:08:09 +00:00
|
|
|
|
|
|
|
%build
|
2012-09-17 20:01:04 +00:00
|
|
|
%if 0%{?gitdate}
|
2012-04-25 16:08:09 +00:00
|
|
|
autoreconf -ivf
|
2012-09-17 20:01:04 +00:00
|
|
|
%endif
|
|
|
|
%configure --disable-static --disable-setuid-install --enable-xwayland
|
2012-04-25 16:08:09 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README
|
|
|
|
%doc data/COPYING
|
|
|
|
%{_bindir}/weston
|
2012-10-23 19:00:53 +00:00
|
|
|
%{_bindir}/weston-info
|
2012-04-25 16:08:09 +00:00
|
|
|
%{_bindir}/weston-launch
|
|
|
|
%{_bindir}/weston-terminal
|
2012-09-17 20:01:04 +00:00
|
|
|
%{_bindir}/wcap-decode
|
2012-04-25 16:08:09 +00:00
|
|
|
%dir %{_libdir}/weston
|
|
|
|
%{_libdir}/weston/desktop-shell.so
|
|
|
|
%{_libdir}/weston/drm-backend.so
|
|
|
|
%{_libdir}/weston/tablet-shell.so
|
|
|
|
%{_libdir}/weston/wayland-backend.so
|
|
|
|
%{_libdir}/weston/x11-backend.so
|
2012-09-17 20:01:04 +00:00
|
|
|
%{_libdir}/weston/xwayland.so
|
2012-04-25 16:08:09 +00:00
|
|
|
%{_libexecdir}/weston-*
|
2012-10-23 19:00:53 +00:00
|
|
|
%{_mandir}/man1/*.1*
|
2013-01-02 22:11:30 +00:00
|
|
|
%{_mandir}/man7/*.7*
|
2012-04-25 16:08:09 +00:00
|
|
|
%dir %{_datadir}/weston
|
|
|
|
%{_datadir}/weston/*.png
|
|
|
|
%{_datadir}/weston/wayland.svg
|
|
|
|
|
|
|
|
%changelog
|
2013-01-02 22:11:30 +00:00
|
|
|
* Wed Jan 02 2013 Adam Jackson <ajax@redhat.com> 1.0.3-1
|
|
|
|
- weston 1.0.3
|
|
|
|
|
2012-12-21 19:38:27 +00:00
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.0.0-2
|
|
|
|
- rebuild against new libjpeg
|
|
|
|
|
2012-10-23 19:00:53 +00:00
|
|
|
* Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 1.0.0-1
|
|
|
|
- weston 1.0.0
|
|
|
|
|
2012-10-18 20:01:53 +00:00
|
|
|
* Thu Oct 18 2012 Adam Jackson <ajax@redhat.com> 0.99.0-1
|
|
|
|
- weston 0.99.0
|
|
|
|
|
2012-09-18 06:08:11 +00:00
|
|
|
* Tue Sep 17 2012 Thorsten Leemhuis <fedora@leemhuis.info> 0.95.0-3
|
|
|
|
- add libXcursor-devel as BR
|
|
|
|
|
2012-09-17 20:39:47 +00:00
|
|
|
* Mon Sep 17 2012 Thorsten Leemhuis <fedora@leemhuis.info> 0.95.0-2
|
|
|
|
- rebuild
|
|
|
|
|
2012-09-17 20:01:04 +00:00
|
|
|
* Mon Sep 17 2012 Thorsten Leemhuis <fedora@leemhuis.info> 0.95.0-1
|
|
|
|
- Update to 0.95.0
|
|
|
|
- enable xwayland
|
|
|
|
- make it easier to switch between a release and a git snapshot in spec file
|
|
|
|
|
2012-07-22 03:27:24 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89-0.5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-05 15:48:02 +00:00
|
|
|
* Tue Jun 05 2012 Adam Jackson <ajax@redhat.com> 0.89-0.4
|
|
|
|
- Rebuild for new libudev
|
|
|
|
- Conditional buildreq for libudev-devel
|
|
|
|
|
2012-04-25 16:08:09 +00:00
|
|
|
* Wed Apr 25 2012 Richard Hughes <richard@hughsie.com> 0.89-0.3
|
|
|
|
- New package addressing Fedora package review concerns.
|
|
|
|
|
|
|
|
* Tue Apr 24 2012 Richard Hughes <richard@hughsie.com> 0.89-0.2
|
|
|
|
- Initial package for Fedora package review.
|