This reverts commit e6aa3fb279.
Oops, this was meant for master, where it was already present.
112 lines
2.9 KiB
RPMSpec
112 lines
2.9 KiB
RPMSpec
%global __provides_exclude_from ^%{_libdir}/wingpanel/.*\\.so$
|
|
|
|
%global appname io.elementary.desktop.wingpanel.datetime
|
|
|
|
Name: wingpanel-indicator-datetime
|
|
Summary: Datetime Indicator for wingpanel
|
|
Version: 2.1.0
|
|
Release: 1%{?dist}
|
|
License: GPLv3+
|
|
|
|
URL: https://github.com/elementary/%{name}
|
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
# Patch to fix undefined symbols
|
|
Patch1: 01-fix-linker-flags.patch
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: gettext
|
|
BuildRequires: vala >= 0.22.0
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.32
|
|
BuildRequires: pkgconfig(granite)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(libecal-1.2)
|
|
BuildRequires: pkgconfig(libedataserver-1.2)
|
|
BuildRequires: pkgconfig(libical)
|
|
BuildRequires: pkgconfig(libsoup-2.4)
|
|
BuildRequires: pkgconfig(wingpanel-2.0)
|
|
|
|
Requires: wingpanel%{?_isa}
|
|
Supplements: wingpanel%{?_isa}
|
|
|
|
|
|
%description
|
|
A datetime indicator for wingpanel.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
|
|
%build
|
|
mkdir build && pushd build
|
|
%cmake ..
|
|
%make_build
|
|
popd
|
|
|
|
|
|
%install
|
|
pushd build
|
|
%make_install
|
|
popd
|
|
|
|
%find_lang datetime-indicator
|
|
|
|
|
|
%files -f datetime-indicator.lang
|
|
%doc README.md
|
|
%license COPYING
|
|
|
|
%{_libdir}/wingpanel/libdatetime.so
|
|
|
|
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
|
|
|
|
|
%changelog
|
|
* Wed Jul 04 2018 Fabio Valentini <decathorpe@gmail.com> - 2.1.0-1
|
|
- Update to version 2.1.0.
|
|
|
|
* Wed Feb 07 2018 Kalev Lember <klember@redhat.com> - 2.0.2-7
|
|
- Rebuilt for evolution-data-server soname bump
|
|
|
|
* Wed Jan 24 2018 Fabio Valentini <decathorpe@gmail.com> - 2.0.2-6
|
|
- Add patch to fix undefined symbols.
|
|
|
|
* Wed Nov 08 2017 Fabio Valentini <decathorpe@gmail.com> - 2.0.2-5
|
|
- Rebuild for libical soname bump.
|
|
|
|
* Sat Nov 04 2017 Fabio Valentini <decathorpe@gmail.com> - 2.0.2-4
|
|
- Rebuild for granite soname bump.
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sat Jul 01 2017 Fabio Valentini <decathorpe@gmail.com> - 2.0.2-1
|
|
- Update to version 2.0.2.
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Tue Jan 24 2017 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-3
|
|
- Remove explicit BR: pkgconfig.
|
|
|
|
* Tue Jan 17 2017 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-2
|
|
- Clean up spec file.
|
|
|
|
* Mon Oct 31 2016 Fabio Valentini <decathorpe@gmail.com> - 2.0.1-1
|
|
- Update to version 2.0.1.
|
|
|
|
* Thu Sep 29 2016 Fabio Valentini <decathorpe@gmail.com> - 2.0-3
|
|
- Mass rebuild.
|
|
|
|
* Wed Sep 28 2016 Fabio Valentini <decathorpe@gmail.com> - 2.0-2
|
|
- Spec file cleanups.
|
|
|
|
* Sun Aug 21 2016 Fabio Valentini <decathorpe@gmail.com> - 2.0-1
|
|
- Update to version 2.0.
|
|
|
|
|