Richard Hughes ea39fad
#global gitdate 20130515
155a746
155a746
Name:           wayland
Richard Hughes ea39fad
Version:        1.2.0
Richard Hughes ea39fad
Release:        1%{?gitdate:.%{gitdate}}%{?dist}
ea60c5f
Summary:        Wayland Compositor Infrastructure
155a746
155a746
Group:          User Interface/X
ea60c5f
License:        MIT
155a746
URL:            http://%{name}.freedesktop.org/
ea60c5f
%if 0%{?gitdate}
155a746
Source0:        wayland-%{gitdate}.tar.bz2
ea60c5f
%else
976aec9
Source0:        http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
ea60c5f
%endif
ea60c5f
Source1:        make-git-snapshot.sh
155a746
155a746
BuildRequires:  autoconf automake libtool
f0928c9
BuildRequires:  doxygen
ea60c5f
BuildRequires:  pkgconfig(libffi)
155a746
BuildRequires:  expat-devel
Richard Hughes 95b1d7e
BuildRequires:  libxslt
550e6d0
BuildRequires:  docbook-style-xsl
ea60c5f
ea60c5f
Provides:       %{name}-common = %{version}-%{release}
ea60c5f
Obsoletes:      %{name}-common < 0.85.0
155a746
155a746
%description
155a746
Wayland is a protocol for a compositor to talk to its clients as well as a C
155a746
library implementation of that protocol. The compositor can be a standalone
155a746
display server running on Linux kernel modesetting and evdev input devices,
155a746
an X application, or a wayland client itself. The clients can be traditional
155a746
applications, X servers (rootless or fullscreen) or other display servers.
155a746
155a746
%package devel
155a746
Summary: Common headers for wayland
155a746
License: MIT
155a746
%description devel
155a746
Common headers for wayland
155a746
155a746
%package -n libwayland-client
155a746
Summary: Wayland client library
155a746
License: MIT
155a746
%description -n libwayland-client
155a746
Wayland client library
155a746
976aec9
%package -n libwayland-cursor
976aec9
Summary: Wayland cursor library
976aec9
License: MIT
976aec9
%description -n libwayland-cursor
976aec9
Wayland cursor library
976aec9
155a746
%package -n libwayland-server
155a746
Summary: Wayland server library
155a746
License: MIT
155a746
%description -n libwayland-server
155a746
Wayland server library
155a746
155a746
%package -n libwayland-client-devel
155a746
Summary: Headers and symlinks for developing wayland client applications
155a746
License: MIT
ea60c5f
Requires: libwayland-client%{?_isa} = %{version}-%{release}
ea60c5f
Requires: wayland-devel%{?_isa} = %{version}-%{release}
155a746
%description -n libwayland-client-devel
155a746
Headers and symlinks for developing wayland client applications.
155a746
976aec9
%package -n libwayland-cursor-devel
976aec9
Summary: Headers and symlinks for developing wayland cursor applications
976aec9
License: MIT
976aec9
Requires: libwayland-cursor%{?_isa} = %{version}-%{release}
976aec9
Requires: wayland-devel%{?_isa} = %{version}-%{release}
976aec9
%description -n libwayland-cursor-devel
976aec9
Headers and symlinks for developing wayland cursor applications.
976aec9
155a746
%package -n libwayland-server-devel
155a746
Summary: Headers and symlinks for developing wayland server applications
155a746
License: MIT
ea60c5f
Requires: libwayland-server%{?_isa} = %{version}-%{release}
ea60c5f
Requires: wayland-devel%{?_isa} = %{version}-%{release}
155a746
%description -n libwayland-server-devel
155a746
Headers and symlinks for developing wayland server applications.
155a746
155a746
%prep
ea60c5f
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
155a746
155a746
%build
155a746
autoreconf -v --install
Richard Hughes 95b1d7e
%configure --disable-static --enable-documentation
155a746
make %{?_smp_mflags}
155a746
155a746
155a746
%install
155a746
rm -rf $RPM_BUILD_ROOT
155a746
make install DESTDIR=$RPM_BUILD_ROOT
155a746
155a746
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
155a746
155a746
%clean
155a746
rm -rf $RPM_BUILD_ROOT
155a746
155a746
%post -n libwayland-client -p /sbin/ldconfig
155a746
%postun -n libwayland-client -p /sbin/ldconfig
155a746
155a746
%post -n libwayland-server -p /sbin/ldconfig
155a746
%postun -n libwayland-server -p /sbin/ldconfig
155a746
155a746
155a746
%files
155a746
%defattr(-,root,root,-)
976aec9
%doc README TODO
12e2a00
#doc %{_datadir}/doc/wayland/*
155a746
155a746
%files devel
155a746
%defattr(-,root,root,-)
ea60c5f
%{_bindir}/wayland-scanner
155a746
%{_includedir}/wayland-util.h
ea60c5f
%{_includedir}/wayland-egl.h
Richard Hughes 95b1d7e
%{_includedir}/wayland-version.h
ea60c5f
%{_datadir}/aclocal/wayland-scanner.m4
Richard Hughes ea39fad
%{_datadir}/pkgconfig/wayland-scanner.pc
Richard Hughes ea39fad
%{_datadir}/wayland/wayland-scanner.mk
f0928c9
%{_mandir}/man3/*.3*
155a746
155a746
%files -n libwayland-client
155a746
%defattr(-,root,root,-)
155a746
%{_libdir}/libwayland-client.so.0*
155a746
976aec9
%files -n libwayland-cursor
976aec9
%defattr(-,root,root,-)
976aec9
%{_libdir}/libwayland-cursor.so.0*
976aec9
155a746
%files -n libwayland-server
155a746
%defattr(-,root,root,-)
155a746
%{_libdir}/libwayland-server.so.0*
155a746
155a746
%files -n libwayland-client-devel
155a746
%defattr(-,root,root,-)
155a746
%{_includedir}/wayland-client*.h
155a746
%{_libdir}/libwayland-client.so
ea60c5f
%{_libdir}/pkgconfig/wayland-client.pc
155a746
976aec9
%files -n libwayland-cursor-devel
976aec9
%defattr(-,root,root,-)
976aec9
%{_includedir}/wayland-cursor*.h
976aec9
%{_libdir}/libwayland-cursor.so
976aec9
%{_libdir}/pkgconfig/wayland-cursor.pc
976aec9
155a746
%files -n libwayland-server-devel
155a746
%defattr(-,root,root,-)
155a746
%{_includedir}/wayland-server*.h
155a746
%{_libdir}/libwayland-server.so
ea60c5f
%{_libdir}/pkgconfig/wayland-server.pc
155a746
155a746
%changelog
Richard Hughes ea39fad
* Mon Jul 15 2013 Richard Hughes <rhughes@redhat.com> - 1.2.0-1
Richard Hughes ea39fad
- wayland 1.2.0
Richard Hughes ea39fad
Richard Hughes d479c09
* Wed May 15 2013 Richard Hughes <rhughes@redhat.com> - 1.1.90-0.1.20130515
Richard Hughes d479c09
- Update to a git snapshot based on what will become 1.1.90
Richard Hughes d479c09
Richard Hughes 3efdbb6
* Tue Apr 16 2013 Richard Hughes <rhughes@redhat.com> - 1.1.0-1
Richard Hughes 3efdbb6
- wayland 1.1.0
Richard Hughes 3efdbb6
Richard Hughes e7ff023
* Wed Mar 27 2013 Richard Hughes <rhughes@redhat.com> - 1.0.6-1
Richard Hughes e7ff023
- wayland 1.0.6
Richard Hughes e7ff023
c4438cc
* Thu Feb 21 2013 Adam Jackson <ajax@redhat.com> 1.0.5-1
c4438cc
- wayland 1.0.5
c4438cc
854aa65
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
854aa65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
854aa65
12e2a00
* Wed Jan 02 2013 Adam Jackson <ajax@redhat.com> 1.0.3-1
12e2a00
- wayland 1.0.3
12e2a00
42bbde8
* Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 1.0.0-1
42bbde8
- wayland 1.0
42bbde8
f0928c9
* Thu Oct 18 2012 Adam Jackson <ajax@redhat.com> 0.99.0-1
f0928c9
- wayland 0.99.0
f0928c9
976aec9
* Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 0.95.0-1
976aec9
- wayland 0.95.0 (#843738)
976aec9
e1c6e0e
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89.0-2.20120424
e1c6e0e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e1c6e0e
Richard Hughes 95b1d7e
* Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> - 0.89.0-1
Richard Hughes 95b1d7e
- Update to a git snapshot based on 0.89.0
Richard Hughes 95b1d7e
ea60c5f
* Sat Feb 18 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.85.0-1
ea60c5f
- update to 0.85.0
ea60c5f
- adjust license, as upstream changed it to MIT
ea60c5f
- update make-git-snapshot.sh to current locations and scheme
ea60c5f
- drop common package, not needed anymore
ea60c5f
- compositor is now in a separate package, hence reduce BuildRequires to what
ea60c5f
  is actually needed (a lot less) and adjust summary
ea60c5f
- make usage of a git checkout in spec file optional
ea60c5f
- a %%{?_isa} to requires where it makes sense
ea60c5f
48dbb9a
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.6.20101221
48dbb9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
48dbb9a
3c47a93
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1-0.5.20101221
3c47a93
- Rebuild for new libpng
3c47a93
ea34b88
* Wed Jun 15 2011 Lubomir Rintel <lkundrak@v3.sk> - 0.1-0.4.20101221
ea34b88
- Install real compositor binary instead of a libtool wrapper
ea34b88
7f63332
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.20101221
7f63332
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7f63332
cfff610
* Tue Dec 21 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101221
cfff610
- Today's git snap
cfff610
cfff610
* Tue Nov 23 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101123
1a58326
- Today's git snap
1a58326
- Fix udev rule install (#653353)
1a58326
155a746
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com> 0.1-0.1.20101111
155a746
- Initial packaging