mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-18 01:20:38 +00:00
110 lines
2.8 KiB
RPMSpec
110 lines
2.8 KiB
RPMSpec
%global srcname calendar
|
|
%global appname io.elementary.calendar
|
|
|
|
%global __provides_exclude_from ^%{_libdir}/%{appname}/.*\\.so$
|
|
|
|
Name: elementary-calendar
|
|
Summary: Desktop calendar app designed for elementary
|
|
Version: 7.0.0
|
|
Release: 1%{?dist}
|
|
License: GPL-3.0-or-later
|
|
|
|
URL: https://github.com/elementary/calendar
|
|
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: gettext
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: pkgconfig(champlain-0.12)
|
|
BuildRequires: pkgconfig(libecal-2.0)
|
|
BuildRequires: pkgconfig(granite)
|
|
BuildRequires: pkgconfig(libhandy-1)
|
|
# BuildRequires: pkgconfig(libportal)
|
|
BuildRequires: pkgconfig(libportal-gtk3)
|
|
BuildRequires: folks-devel
|
|
BuildRequires: libgee-devel
|
|
BuildRequires: pkgconfig(geocode-glib-2.0)
|
|
BuildRequires: geoclue2-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gtk+-devel
|
|
BuildRequires: libical
|
|
BuildRequires: libhandy >= 0.90.0
|
|
BuildRequires: meson
|
|
BuildRequires: vala
|
|
BuildRequires: evolution-data-server-devel
|
|
BuildRequires: fdupes
|
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
%description
|
|
A slim, lightweight calendar app that syncs and manages multiple
|
|
calendars in one place, like Google Calendar, Outlook and CalDAV.
|
|
|
|
|
|
%package devel
|
|
Summary: The official elementary calendar (devel files)
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
%description devel
|
|
A slim, lightweight calendar app that syncs and manages multiple
|
|
calendars in one place, like Google Calendar, Outlook and CalDAV.
|
|
|
|
This package contains the development files.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{srcname}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang %{appname}
|
|
|
|
%fdupes %buildroot/%_datadir/icons/hicolor
|
|
|
|
|
|
%check
|
|
%dnl desktop-file-validate %{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/%{appname}.metainfo.xml
|
|
|
|
|
|
%files -f %{appname}.lang
|
|
%doc README.md
|
|
%license COPYING
|
|
|
|
%dnl %config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
|
|
|
|
%{_bindir}/%{appname}
|
|
|
|
%{_libdir}/lib%{name}.so.0*
|
|
%{_libdir}/%{appname}/
|
|
|
|
%{_datadir}/applications/%{appname}.desktop
|
|
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
|
|
%{_datadir}/metainfo/%{appname}.metainfo.xml
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
%{_datadir}/vala/vapi/%{name}.deps
|
|
%{_datadir}/vala/vapi/%{name}.vapi
|
|
|
|
|
|
%changelog
|
|
* Thu Nov 17 2022 windowsboy111 <wboy111@outlook.com> - 6.1.2-1
|
|
- new version
|
|
|
|
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
|
|
- Repackaged for Terra
|