2012-02-19 08:22:10 +00:00
|
|
|
#global gitdate 20120217
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
Name: wayland
|
2012-02-19 08:22:10 +00:00
|
|
|
Version: 0.85.0
|
|
|
|
Release: 1%{?gitdate:.%{gitdate}}%{?dist}
|
|
|
|
Summary: Wayland Compositor Infrastructure
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
Group: User Interface/X
|
2012-02-19 08:22:10 +00:00
|
|
|
License: MIT
|
2010-11-15 16:17:33 +00:00
|
|
|
URL: http://%{name}.freedesktop.org/
|
2012-02-19 08:22:10 +00:00
|
|
|
%if 0%{?gitdate}
|
2010-11-15 16:17:33 +00:00
|
|
|
Source0: wayland-%{gitdate}.tar.bz2
|
2012-02-19 08:22:10 +00:00
|
|
|
%else
|
|
|
|
Source0: http://cgit.freedesktop.org/wayland/wayland/snapshot/%{name}-%{version}.tar.gz
|
|
|
|
%endif
|
|
|
|
Source1: make-git-snapshot.sh
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
BuildRequires: autoconf automake libtool
|
2012-02-19 08:22:10 +00:00
|
|
|
BuildRequires: pkgconfig(libffi)
|
2010-11-15 16:17:33 +00:00
|
|
|
BuildRequires: expat-devel
|
2012-02-19 08:22:10 +00:00
|
|
|
|
|
|
|
Provides: %{name}-common = %{version}-%{release}
|
|
|
|
Obsoletes: %{name}-common < 0.85.0
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Wayland is a protocol for a compositor to talk to its clients as well as a C
|
|
|
|
library implementation of that protocol. The compositor can be a standalone
|
|
|
|
display server running on Linux kernel modesetting and evdev input devices,
|
|
|
|
an X application, or a wayland client itself. The clients can be traditional
|
|
|
|
applications, X servers (rootless or fullscreen) or other display servers.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Common headers for wayland
|
|
|
|
License: MIT
|
|
|
|
%description devel
|
|
|
|
Common headers for wayland
|
|
|
|
|
|
|
|
%package -n libwayland-client
|
|
|
|
Summary: Wayland client library
|
|
|
|
License: MIT
|
|
|
|
%description -n libwayland-client
|
|
|
|
Wayland client library
|
|
|
|
|
|
|
|
%package -n libwayland-server
|
|
|
|
Summary: Wayland server library
|
|
|
|
License: MIT
|
|
|
|
%description -n libwayland-server
|
|
|
|
Wayland server library
|
|
|
|
|
|
|
|
%package -n libwayland-client-devel
|
|
|
|
Summary: Headers and symlinks for developing wayland client applications
|
|
|
|
License: MIT
|
2012-02-19 08:22:10 +00:00
|
|
|
Requires: libwayland-client%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: wayland-devel%{?_isa} = %{version}-%{release}
|
2010-11-15 16:17:33 +00:00
|
|
|
%description -n libwayland-client-devel
|
|
|
|
Headers and symlinks for developing wayland client applications.
|
|
|
|
|
|
|
|
%package -n libwayland-server-devel
|
|
|
|
Summary: Headers and symlinks for developing wayland server applications
|
|
|
|
License: MIT
|
2012-02-19 08:22:10 +00:00
|
|
|
Requires: libwayland-server%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: wayland-devel%{?_isa} = %{version}-%{release}
|
2010-11-15 16:17:33 +00:00
|
|
|
%description -n libwayland-server-devel
|
|
|
|
Headers and symlinks for developing wayland server applications.
|
|
|
|
|
|
|
|
%prep
|
2012-02-19 08:22:10 +00:00
|
|
|
%setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
|
|
|
|
rm spec/.gitignore
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -v --install
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -n libwayland-client -p /sbin/ldconfig
|
|
|
|
%postun -n libwayland-client -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n libwayland-server -p /sbin/ldconfig
|
|
|
|
%postun -n libwayland-server -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-02-19 08:22:10 +00:00
|
|
|
%doc README TODO spec
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2012-02-19 08:22:10 +00:00
|
|
|
%{_bindir}/wayland-scanner
|
2010-11-15 16:17:33 +00:00
|
|
|
%{_includedir}/wayland-util.h
|
2012-02-19 08:22:10 +00:00
|
|
|
%{_includedir}/wayland-egl.h
|
|
|
|
%{_datadir}/aclocal/wayland-scanner.m4
|
|
|
|
%{_datadir}/aclocal/wayland-scanner.mk
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
%files -n libwayland-client
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libwayland-client.so.0*
|
|
|
|
|
|
|
|
%files -n libwayland-server
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_libdir}/libwayland-server.so.0*
|
|
|
|
|
|
|
|
%files -n libwayland-client-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/wayland-client*.h
|
|
|
|
%{_libdir}/libwayland-client.so
|
2012-02-19 08:22:10 +00:00
|
|
|
%{_libdir}/pkgconfig/wayland-client.pc
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
%files -n libwayland-server-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_includedir}/wayland-server*.h
|
|
|
|
%{_libdir}/libwayland-server.so
|
2012-02-19 08:22:10 +00:00
|
|
|
%{_libdir}/pkgconfig/wayland-server.pc
|
2010-11-15 16:17:33 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-02-19 08:22:10 +00:00
|
|
|
* Sat Feb 18 2012 Thorsten Leemhuis <fedora@leemhuis.info> - 0.85.0-1
|
|
|
|
- update to 0.85.0
|
|
|
|
- adjust license, as upstream changed it to MIT
|
|
|
|
- update make-git-snapshot.sh to current locations and scheme
|
|
|
|
- drop common package, not needed anymore
|
|
|
|
- compositor is now in a separate package, hence reduce BuildRequires to what
|
|
|
|
is actually needed (a lot less) and adjust summary
|
|
|
|
- make usage of a git checkout in spec file optional
|
|
|
|
- a %%{?_isa} to requires where it makes sense
|
|
|
|
|
2012-01-14 08:10:23 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.6.20101221
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-12-06 06:26:52 +00:00
|
|
|
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1-0.5.20101221
|
|
|
|
- Rebuild for new libpng
|
|
|
|
|
2011-06-15 11:52:45 +00:00
|
|
|
* Wed Jun 15 2011 Lubomir Rintel <lkundrak@v3.sk> - 0.1-0.4.20101221
|
|
|
|
- Install real compositor binary instead of a libtool wrapper
|
|
|
|
|
2011-02-08 02:09:18 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.20101221
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-21 20:52:57 +00:00
|
|
|
* Tue Dec 21 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101221
|
|
|
|
- Today's git snap
|
|
|
|
|
|
|
|
* Tue Nov 23 2010 Adam Jackson <ajax@redhat.com> 0.1-0.2.20101123
|
2010-11-23 15:55:09 +00:00
|
|
|
- Today's git snap
|
|
|
|
- Fix udev rule install (#653353)
|
|
|
|
|
2010-11-15 16:17:33 +00:00
|
|
|
* Mon Nov 15 2010 Adam Jackson <ajax@redhat.com> 0.1-0.1.20101111
|
|
|
|
- Initial packaging
|