|
|
ee3c8dd |
%global commit 0.5.0
|
|
|
5169317 |
%global gitdate %{nil}
|
|
|
5169317 |
%global gitrel %{nil}
|
|
|
5169317 |
%global gitver %{nil}
|
|
|
5169317 |
# Keep the below around for possible snapshot times (was a must prior to 0.1)
|
|
|
5169317 |
#global scommit #(c=#{commit}; echo ${c:0:7})
|
|
|
5169317 |
#global gitrel .#{gitdate}git#{scommit}
|
|
|
5169317 |
#global gitver -#{gitdate}git#{scommit}
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
ee3c8dd |
%global api_ver 2
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
Name: wlroots
|
|
|
ee3c8dd |
Version: 0.5.0
|
|
|
807d421 |
Release: 2%{?gitrel}%{?dist}
|
|
|
5169317 |
Summary: A modular Wayland compositor library
|
|
|
77a52cf |
|
|
|
ee3c8dd |
# Source files/overall project licensed as MIT, but
|
|
|
5169317 |
# - LGPL (v2.1 or later)
|
|
|
5169317 |
# * protocol/idle.xml
|
|
|
5169317 |
# * protocol/server-decoration.xml
|
|
|
ee3c8dd |
# Those files are processed to C-compilable files by the
|
|
|
77a52cf |
# `wayland-scanner` binary during build and don't alter the
|
|
|
77a52cf |
# main license of the binaries linking with them by the
|
|
|
77a52cf |
# underlying licenses.
|
|
|
77a52cf |
License: MIT
|
|
|
77a52cf |
URL: https://github.com/swaywm/%{name}
|
|
|
77a52cf |
Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{version}%{?gitver}.tar.gz
|
|
|
946341d |
|
|
|
77a52cf |
|
|
|
77a52cf |
BuildRequires: gcc
|
|
|
77a52cf |
BuildRequires: libcap-devel
|
|
|
77a52cf |
BuildRequires: libinput-devel
|
|
|
5169317 |
BuildRequires: libpng
|
|
|
77a52cf |
BuildRequires: libxkbcommon-devel
|
|
|
77a52cf |
BuildRequires: mesa-libEGL-devel
|
|
|
77a52cf |
BuildRequires: mesa-libGLES-devel
|
|
|
77a52cf |
BuildRequires: mesa-libgbm-devel
|
|
|
77a52cf |
BuildRequires: mesa-libwayland-egl-devel
|
|
|
77a52cf |
BuildRequires: meson
|
|
|
77a52cf |
BuildRequires: pixman-devel
|
|
|
77a52cf |
BuildRequires: systemd-devel
|
|
|
77a52cf |
BuildRequires: wayland-devel
|
|
|
77a52cf |
BuildRequires: wayland-protocols-devel
|
|
|
77a52cf |
BuildRequires: xcb-util-image-devel
|
|
|
77a52cf |
BuildRequires: xcb-util-wm-devel
|
|
|
160d7ba |
# patch application
|
|
|
ee3c8dd |
#BuildRequires: git
|
|
|
77a52cf |
|
|
|
77a52cf |
%description
|
|
|
77a52cf |
%{summary}.
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%package devel
|
|
|
77a52cf |
Summary: Development files for %{name}
|
|
|
77a52cf |
|
|
|
77a52cf |
Requires: %{name}%{?_isa} == %{version}-%{release}
|
|
|
77a52cf |
Requires: libinput-devel%{?_isa}
|
|
|
77a52cf |
Requires: libxcb-devel%{?_isa}
|
|
|
77a52cf |
Requires: libxkbcommon-devel%{?_isa}
|
|
|
77a52cf |
Requires: mesa-libEGL-devel%{?_isa}
|
|
|
77a52cf |
Requires: pixman-devel%{?_isa}
|
|
|
77a52cf |
Requires: systemd-devel%{?_isa}
|
|
|
77a52cf |
Requires: wayland-devel%{?_isa}
|
|
|
77a52cf |
Requires: xcb-util-wm-devel%{?_isa}
|
|
|
77a52cf |
|
|
|
77a52cf |
%description devel
|
|
|
77a52cf |
Development files for %{name}.
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%prep
|
|
|
ee3c8dd |
%setup -q -n %{name}-%{commit}
|
|
|
ee3c8dd |
#global __scm git_am
|
|
|
ee3c8dd |
#__scm_setup_git
|
|
|
ee3c8dd |
#autopatch -p1
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%build
|
|
|
5169317 |
|
|
|
5169317 |
# Needed since xcb-errors is not packaged (yet?)
|
|
|
5169317 |
%global __meson_auto_features auto
|
|
|
ee3c8dd |
%meson -Drootston=false -Dexamples=false
|
|
|
77a52cf |
%meson_build
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%install
|
|
|
77a52cf |
%meson_install
|
|
|
77a52cf |
|
|
|
77a52cf |
# %%doc && examples.
|
|
|
77a52cf |
%{__mkdir} -p %{buildroot}%{_pkgdocdir}
|
|
|
77a52cf |
%{__cp} -pr README.md examples %{buildroot}%{_pkgdocdir}
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%check
|
|
|
77a52cf |
%meson_test
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%files
|
|
|
77a52cf |
%doc %dir %{_pkgdocdir}
|
|
|
77a52cf |
%doc %{_pkgdocdir}/README.md
|
|
|
77a52cf |
%license LICENSE
|
|
|
77a52cf |
%{_libdir}/lib%{name}.so.%{api_ver}*
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%files devel
|
|
|
77a52cf |
%doc %{_pkgdocdir}/examples
|
|
|
77a52cf |
%{_includedir}/wlr
|
|
|
77a52cf |
%{_libdir}/lib%{name}.so
|
|
|
77a52cf |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
77a52cf |
|
|
|
77a52cf |
|
|
|
77a52cf |
%changelog
|
|
|
807d421 |
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 0.5.0-2
|
|
|
807d421 |
- Rebuild with Meson fix for #1699099
|
|
|
807d421 |
|
|
|
ee3c8dd |
* Thu Mar 14 2019 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.5.0-1
|
|
|
ee3c8dd |
- Updated to version 0.5.0 (0.2, 0.3, 0.4, 0.4.1 releases effectively skipped)
|
|
|
ee3c8dd |
- Avoid building some parts that are not shipped in binary form, anyway
|
|
|
ee3c8dd |
- Minor spec cleanup (clarify the licensing comment, licensecheck's NTP ~ MIT,
|
|
|
ee3c8dd |
ldconfig_scriptlets no longer relevant, arch-specific tweak no longer needed)
|
|
|
ee3c8dd |
|
|
|
0b73d08 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-5
|
|
|
0b73d08 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
0b73d08 |
|
|
|
1c44ecf |
* Tue Nov 27 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-4
|
|
|
1c44ecf |
- Fix Firefox crash around text selection/clipboard
|
|
|
1c44ecf |
(https://github.com/swaywm/wlroots/pull/1380)
|
|
|
1c44ecf |
|
|
|
1c44ecf |
* Tue Nov 27 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-3
|
|
|
946341d |
- Make Firefox run smoother (https://github.com/swaywm/wlroots/pull/1384)
|
|
|
946341d |
|
|
|
1c44ecf |
* Wed Nov 07 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-2
|
|
|
160d7ba |
- Fix incorrect "pkgconfig" version
|
|
|
160d7ba |
|
|
|
1c44ecf |
* Wed Oct 31 2018 Jan Pokorný <jpokorny+rpm-wlroots@fedoraproject.org> - 0.1-1
|
|
|
5169317 |
- Updated to historically first official release
|
|
|
5169317 |
- Turned off implicit enablement of all 'auto' build features under Meson,
|
|
|
5169317 |
since xcb-errors is not available at this time
|
|
|
5169317 |
- Added BR: libpng
|
|
|
5169317 |
- Expanding spec comment on source files not covered with MIT license
|
|
|
5169317 |
|
|
|
15577fe |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-0.9.20180106git03faf17
|
|
|
15577fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
15577fe |
|
|
|
9911ea8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.1-0.8.20180106git03faf17
|
|
|
9911ea8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
9911ea8 |
|
|
|
ffad169 |
* Sat Jan 13 2018 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.7.20180106git03faf17
|
|
|
ffad169 |
- Updated snapshot
|
|
|
ffad169 |
|
|
|
77a52cf |
* Wed Jan 03 2018 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.6.20180102git767df15
|
|
|
77a52cf |
- Initial import (#1529352)
|
|
|
77a52cf |
|
|
|
77a52cf |
* Wed Jan 03 2018 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.5.20180102git767df15
|
|
|
77a52cf |
- Updated snapshot
|
|
|
77a52cf |
|
|
|
77a52cf |
* Sun Dec 31 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.4.20171229git80ed4d4
|
|
|
77a52cf |
- Add licensing clarification
|
|
|
77a52cf |
- Add BR: gcc
|
|
|
77a52cf |
|
|
|
77a52cf |
* Sat Dec 30 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.3.20171229git80ed4d4
|
|
|
77a52cf |
- Updated snapshot
|
|
|
77a52cf |
|
|
|
77a52cf |
* Wed Dec 27 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.2.20171227giteeb7cd8
|
|
|
77a52cf |
- Optimize spec-file
|
|
|
77a52cf |
|
|
|
77a52cf |
* Wed Dec 27 2017 Björn Esser <besser82@fedoraproject.org> - 0.0.1-0.1.20171227giteeb7cd8
|
|
|
77a52cf |
- Initial rpm release (#1529352)
|