From c48ac0cbb128527deb583786ff50ed46c03489f6 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Tue, 6 Mar 2018 23:53:33 +0100 Subject: [PATCH 1/2] First import --- .gitignore | 1 + README.md | 3 -- sources | 1 + waylandpp.spec | 100 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 sources create mode 100644 waylandpp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..982cc95 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/waylandpp-0.2.2.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index ded29a4..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# waylandpp - -The waylandpp package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..0a28759 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (waylandpp-0.2.2.tar.gz) = e9288482e1b59eacf71a4164dfec3236f2d6d63aee6d530d1f71bbdb20db6986137a50ac34438219463a4208897424d28d2346d2c51dccaf3e77953e4db085f2 diff --git a/waylandpp.spec b/waylandpp.spec new file mode 100644 index 0000000..ff335f6 --- /dev/null +++ b/waylandpp.spec @@ -0,0 +1,100 @@ +Name: waylandpp +Version: 0.2.2 +Release: 2%{?dist} +Summary: Wayland C++ bindings + +# waylandpp includes part of Wayland under MIT, wayland-scanner++ is +# GPLv3+ +License: BSD and MIT and GPLv3+ +URL: https://github.com/NilsBrause/waylandpp/ +Source0: https://github.com/NilsBrause/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: doxygen +BuildRequires: gcc-c++ +BuildRequires: graphviz +BuildRequires: mesa-libEGL-devel +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-egl) + +%description +Wayland is an object oriented display protocol, which features request and +events. Requests can be seen as method calls on certain objects, whereas events +can be seen as signals of an object. This makes the Wayland protocol a perfect +candidate for a C++ binding. + +The goal of this library is to create such a C++ binding for Wayland using the +most modern C++ technology currently available, providing an easy to use C++ API +to Wayland. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for developing +applications that use %{name}. + + +%package doc +Summary: Documentation for %{name} +BuildArch: noarch + +%description doc +The %{name}-doc package contains development documentation for %{name}. + + +%prep +%autosetup + + +%build +%cmake . -DCMAKE_INSTALL_DOCDIR=%{_defaultdocdir}/%{name}-doc/ +%make_build + + +%install +%make_install + +# Drop LaTeX documentation (HTML documentation is already built) +rm -r $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/latex/ + + +%ldconfig_scriptlets + + +%check +ctest -V %{?_smp_mflags} + + +%files +%doc README.md +%license LICENSE +%{_libdir}/*.so.* + + +%files devel +%doc example/ +%{_bindir}/wayland-scanner++ +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_includedir}/* +%{_datadir}/%{name}/ +%{_mandir}/man3/*.3.* + + +%files doc +%doc README.md +%license LICENSE +%{_defaultdocdir}/%{name}-doc/ + + +%changelog +* Tue Mar 06 2018 Mohamed El Morabity - 0.2.2-2 +- Fix License tag +- Fix documentation installation path + +* Mon Mar 05 2018 Mohamed El Morabity - 0.2.2-1 +- Initial RPM release From 610a762e603742da6b1b414cb680bdb8d8b932a9 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Tue, 8 May 2018 10:44:23 +0200 Subject: [PATCH 2/2] Update to 0.2.3 --- .gitignore | 1 + sources | 2 +- waylandpp.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 982cc95..d82747d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /waylandpp-0.2.2.tar.gz +/waylandpp-0.2.3.tar.gz diff --git a/sources b/sources index 0a28759..33cd735 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (waylandpp-0.2.2.tar.gz) = e9288482e1b59eacf71a4164dfec3236f2d6d63aee6d530d1f71bbdb20db6986137a50ac34438219463a4208897424d28d2346d2c51dccaf3e77953e4db085f2 +SHA512 (waylandpp-0.2.3.tar.gz) = 424ccef67e1faedfb03aa7465917e4dfc0eae578a1eb42bcdbe71df02955fef00fc1b480acb4828e168f051a82a13f923e0c9be93d3ede221e791a7af88647a5 diff --git a/waylandpp.spec b/waylandpp.spec index ff335f6..c91f4e4 100644 --- a/waylandpp.spec +++ b/waylandpp.spec @@ -1,6 +1,6 @@ Name: waylandpp -Version: 0.2.2 -Release: 2%{?dist} +Version: 0.2.3 +Release: 1%{?dist} Summary: Wayland C++ bindings # waylandpp includes part of Wayland under MIT, wayland-scanner++ is @@ -92,6 +92,9 @@ ctest -V %{?_smp_mflags} %changelog +* Tue May 08 2018 Mohamed El Morabity - 0.2.3-1 +- Update to 0.2.3 + * Tue Mar 06 2018 Mohamed El Morabity - 0.2.2-2 - Fix License tag - Fix documentation installation path