diff --git a/.gitignore b/.gitignore index 922d9c9..5b80838 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +/results_* +/*.src.rpm + /wingpanel-2.0.1.tar.xz /wingpanel-2.0.2.tar.xz /wingpanel-2.0.3.tar.gz @@ -5,3 +8,9 @@ /wingpanel-2.0.3-434f674.tar.gz /wingpanel-2.0.4.tar.gz /wingpanel-2.1.0.tar.gz +/wingpanel-2.1.1.tar.gz +/wingpanel-2.2.0.tar.gz +/wingpanel-2.2.1.tar.gz +/wingpanel-2.2.2.tar.gz +/wingpanel-2.2.3.tar.gz +/wingpanel-2.2.4.tar.gz diff --git a/sources b/sources index b81a784..22dd8d9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wingpanel-2.1.0.tar.gz) = b5f98484cdc2bd0f2f33f5d933b418f790a3dabe90ec26a84a69ba450cefd4a51a866493a5978346dd3994d357b69ec6c1e1752c846b7f5b25debc6f0cd0c05b +SHA512 (wingpanel-2.2.4.tar.gz) = b75d6235fd88145bdc42ae323953d9477ecfa582a0c91eefbaaeec3dfc01d926b24cfa2fea76b1c8ba4e1c4a83db17d8813a5de1c3f24ee71dd231c04ae49864 diff --git a/wingpanel.rpmlintrc b/wingpanel.rpmlintrc new file mode 100644 index 0000000..80b3bf5 --- /dev/null +++ b/wingpanel.rpmlintrc @@ -0,0 +1,6 @@ +# false positives +addFilter("E: invalid-lc-messages-dir /usr/share/locale/bh*") +addFilter("E: invalid-lc-messages-dir /usr/share/locale/mo*") + +# don't care about manpages +addFilter("W: no-manual-page-for-binary wingpanel*") diff --git a/wingpanel.spec b/wingpanel.spec index 4dfb18a..cfc75cb 100644 --- a/wingpanel.spec +++ b/wingpanel.spec @@ -1,36 +1,37 @@ +%global appname io.elementary.desktop.wingpanel + +%global common_description %{expand: +Stylish top panel that holds indicators and spawns an application +launcher.} + Name: wingpanel Summary: Stylish top panel -Version: 2.1.0 +Version: 2.2.4 Release: 1%{?dist} License: GPLv2+ URL: https://github.com/elementary/%{name} Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: gettext +BuildRequires: meson BuildRequires: vala >= 0.24.0 BuildRequires: pkgconfig(gala) BuildRequires: pkgconfig(gee-0.8) -BuildRequires: pkgconfig(glib-2.0) >= 2.40 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.14 +BuildRequires: pkgconfig(glib-2.0) >= 2.32 BuildRequires: pkgconfig(granite) +BuildRequires: pkgconfig(gtk+-3.0) >= 3.10 Requires: %{name}-libs%{?_isa} = %{version}-%{release} - -%description -Stylish top panel that holds indicators and spawns an application -launcher. +%description %{common_description} %package libs Summary: Stylish top panel (shared library) -%description libs -Stylish top panel that holds indicators and spawns an application -launcher. +%description libs %{common_description} This package contains the shared library. @@ -38,9 +39,7 @@ This package contains the shared library. %package devel Summary: Stylish top panel (development files) Requires: %{name}-libs%{?_isa} = %{version}-%{release} -%description devel -Stylish top panel that holds indicators and spawns an application -launcher. +%description devel %{common_description} This package contains the files required for developing for wingpanel. @@ -50,16 +49,12 @@ This package contains the files required for developing for wingpanel. %build -mkdir build && pushd build -%cmake .. -%make_build -popd +%meson +%meson_build %install -pushd build -%make_install -popd +%meson_install %find_lang wingpanel @@ -76,17 +71,21 @@ desktop-file-validate \ %files -f wingpanel.lang +%license COPYING +%doc README.md + %{_bindir}/wingpanel %{_libdir}/gala/plugins/libwingpanel-interface.so %{_datadir}/applications/wingpanel.desktop -%{_datadir}/glib-2.0/schemas/org.pantheon.desktop.wingpanel.gschema.xml +%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml %{_datadir}/icons/hicolor/scalable/apps/wingpanel.svg %files libs %license COPYING +%doc README.md %dir %{_sysconfdir}/wingpanel.d %dir %{_libdir}/wingpanel @@ -96,6 +95,9 @@ desktop-file-validate \ %files devel +%license COPYING +%doc README.md + %{_includedir}/wingpanel-2.0/ %{_libdir}/libwingpanel-2.0.so @@ -106,6 +108,24 @@ desktop-file-validate \ %changelog +* Wed Apr 24 2019 Fabio Valentini - 2.2.4-1 +- Update to version 2.2.4. + +* Mon Mar 18 2019 Fabio Valentini - 2.2.3-1 +- Update to version 2.2.3. + +* Fri Jan 18 2019 Fabio Valentini - 2.2.2-1 +- Update to version 2.2.2. + +* Thu Dec 20 2018 Fabio Valentini - 2.2.1-1 +- Update to version 2.2.1. + +* Fri Oct 05 2018 Fabio Valentini - 2.2.0-1 +- Update to version 2.2.0. + +* Fri Jul 06 2018 Fabio Valentini - 2.1.1-1 +- Update to version 2.1.1. + * Thu Jun 07 2018 Fabio Valentini - 2.1.0-1 - Update to version 2.1.0. @@ -188,4 +208,3 @@ desktop-file-validate \ * Fri Aug 19 2016 Fabio Valentini - 0.4-1 - Update to version 0.4. -