123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- %define ver 1.0.3
- %define rel 1
- #global gitdate 20120424
- Name: wayland
- Version: %{ver}
- Release: %{rel}%{?gitdate:.date%{gitdate}}%{?_dist_release}
- Summary: Wayland Compositor Infrastructure
- Group: User Interface/X
- License: MIT
- URL: http://%{name}.freedesktop.org/
- %if 0%{?gitdate}
- Source0: wayland-%{gitdate}.tar.bz2
- %else
- Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
- %endif
- Source1: make-git-snapshot.sh
- BuildRequires: autoconf automake libtool
- BuildRequires: doxygen
- BuildRequires: pkgconfig(libffi)
- BuildRequires: expat-devel
- BuildRequires: libxslt
- BuildRequires: docbook-style-xsl
- Provides: %{name}-common = %{version}-%{release}
- Distribution: Vine Linux
- Vendor: Project Vine
- Packager: iwaim
- %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-cursor
- Summary: Wayland cursor library
- License: MIT
- %description -n libwayland-cursor
- Wayland cursor 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
- Requires: libwayland-client%{?_isa} = %{version}-%{release}
- Requires: wayland-devel%{?_isa} = %{version}-%{release}
- %description -n libwayland-client-devel
- Headers and symlinks for developing wayland client applications.
- %package -n libwayland-cursor-devel
- Summary: Headers and symlinks for developing wayland cursor applications
- License: MIT
- Requires: libwayland-cursor%{?_isa} = %{version}-%{release}
- Requires: wayland-devel%{?_isa} = %{version}-%{release}
- %description -n libwayland-cursor-devel
- Headers and symlinks for developing wayland cursor applications.
- %package -n libwayland-server-devel
- Summary: Headers and symlinks for developing wayland server applications
- License: MIT
- Requires: libwayland-server%{?_isa} = %{version}-%{release}
- Requires: wayland-devel%{?_isa} = %{version}-%{release}
- %description -n libwayland-server-devel
- Headers and symlinks for developing wayland server applications.
- %prep
- %setup -q -n %{name}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
- %build
- autoreconf -v --install
- %configure --disable-static --enable-documentation
- 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,-)
- %doc README TODO
- #doc %{_datadir}/doc/wayland/*
- %files devel
- %defattr(-,root,root,-)
- %{_bindir}/wayland-scanner
- %{_includedir}/wayland-util.h
- %{_includedir}/wayland-egl.h
- %{_includedir}/wayland-version.h
- %{_datadir}/aclocal/wayland-scanner.m4
- %{_datadir}/aclocal/wayland-scanner.mk
- %{_mandir}/man3/*.3*
- %files -n libwayland-client
- %defattr(-,root,root,-)
- %{_libdir}/libwayland-client.so.0*
- %files -n libwayland-cursor
- %defattr(-,root,root,-)
- %{_libdir}/libwayland-cursor.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
- %{_libdir}/pkgconfig/wayland-client.pc
- %files -n libwayland-cursor-devel
- %defattr(-,root,root,-)
- %{_includedir}/wayland-cursor*.h
- %{_libdir}/libwayland-cursor.so
- %{_libdir}/pkgconfig/wayland-cursor.pc
- %files -n libwayland-server-devel
- %defattr(-,root,root,-)
- %{_includedir}/wayland-server*.h
- %{_libdir}/libwayland-server.so
- %{_libdir}/pkgconfig/wayland-server.pc
- %changelog
- * Sun Jan 6 2013 IWAI, Masaharu <iwai@alib.jp> 1.0.3-1
- - initial build for Vine Linux
- - drop Obsoletes: wayland-common
- * Wed Jan 02 2013 Adam Jackson <ajax@redhat.com> 1.0.3-1
- - wayland 1.0.3
- * Tue Oct 23 2012 Adam Jackson <ajax@redhat.com> 1.0.0-1
- - wayland 1.0
- * Thu Oct 18 2012 Adam Jackson <ajax@redhat.com> 0.99.0-1
- - wayland 0.99.0
- * Tue Sep 04 2012 Adam Jackson <ajax@redhat.com> 0.95.0-1
- - wayland 0.95.0 (#843738)
- * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.89.0-2.20120424
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
- * Tue Apr 24 2012 Richard Hughes <rhughes@redhat.com> - 0.89.0-1
- - Update to a git snapshot based on 0.89.0
- * 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
- * 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
- * Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.1-0.5.20101221
- - Rebuild for new libpng
- * Wed Jun 15 2011 Lubomir Rintel <lkundrak@v3.sk> - 0.1-0.4.20101221
- - Install real compositor binary instead of a libtool wrapper
- * 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
- * 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
- - Today's git snap
- - Fix udev rule install (#653353)
- * Mon Nov 15 2010 Adam Jackson <ajax@redhat.com> 0.1-0.1.20101111
- - Initial packaging
|