|
 |
5c5c46a |
%global srcname files
|
|
 |
788b465 |
%global appname io.elementary.%{srcname}
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%global __provides_exclude_from ^%{_libdir}/(gtk-3.0)|(%{appname})/.*\\.so$
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
Name: elementary-files
|
|
 |
5c5c46a |
Summary: File manager from elementary
|
|
 |
7db1ccb |
Version: 4.2.0
|
|
 |
dd69774 |
Release: 1%{?dist}
|
|
 |
5c5c46a |
License: GPLv3
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
URL: https://github.com/elementary/%{srcname}
|
|
 |
3f85a54 |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
# Install contracts for compressing/uncompressing files with file-roller
|
|
 |
5c5c46a |
Source1: file-roller-compress.contract
|
|
 |
5c5c46a |
Source2: file-roller-extract-here.contract
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
BuildRequires: desktop-file-utils
|
|
 |
5c5c46a |
BuildRequires: gettext
|
|
 |
5c5c46a |
BuildRequires: libappstream-glib
|
|
 |
cf12ce3 |
BuildRequires: meson >= 0.42.0
|
|
 |
5c5c46a |
BuildRequires: vala >= 0.34.0
|
|
 |
5c5c46a |
|
|
 |
7db1ccb |
BuildRequires: pkgconfig(cloudproviders) >= 0.3.0
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(dbus-glib-1)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gail-3.0)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gee-0.8)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gio-2.0)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(glib-2.0) >= 2.29
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gmodule-2.0)
|
|
 |
7db1ccb |
BuildRequires: pkgconfig(granite) >= 5.2.5
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gthread-2.0)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(libcanberra) >= 0.30
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(libnotify) >= 0.7.2
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(pango) >= 1.1.2
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(plank)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(sqlite3)
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(unity) >= 4.0.0
|
|
 |
5c5c46a |
BuildRequires: pkgconfig(zeitgeist-2.0)
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
Provides: pantheon-files = %{version}-%{release}
|
|
 |
5c5c46a |
Obsoletes: pantheon-files < 0.3.5-9.20180826.git39b673c
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
Requires: contractor
|
|
 |
5c5c46a |
Requires: file-roller
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%description
|
|
 |
5c5c46a |
The simple, powerful, and sexy file manager from elementary.
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%package devel
|
|
 |
5c5c46a |
Summary: File manager from elementary (development headers)
|
|
 |
5c5c46a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
 |
5c5c46a |
%description devel
|
|
 |
5c5c46a |
The simple, powerful, and sexy file manager from elementary.
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
This package contains the development headers.
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%prep
|
|
 |
3f85a54 |
%autosetup -n %{srcname}-%{version} -p1
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%build
|
|
 |
a901524 |
%meson
|
|
 |
a901524 |
%meson_build
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%install
|
|
 |
a901524 |
%meson_install
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%find_lang %{appname}
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
# remove unused pixmaps
|
|
 |
5c5c46a |
rm -r %{buildroot}/%{_datadir}/pixmaps
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
# install file-roller contracts
|
|
 |
5c5c46a |
mkdir -p %{buildroot}/%{_datadir}/contractor
|
|
 |
5c5c46a |
cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/contractor/
|
|
 |
5c5c46a |
cp -pav %{SOURCE2} %{buildroot}/%{_datadir}/contractor/
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%check
|
|
 |
5c5c46a |
desktop-file-validate \
|
|
 |
5c5c46a |
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
appstream-util validate-relax --nonet \
|
|
 |
5c5c46a |
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%files -f %{appname}.lang
|
|
 |
5c5c46a |
%doc AUTHORS README.md
|
|
 |
5c5c46a |
%license COPYING
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%{_bindir}/%{appname}
|
|
 |
5c5c46a |
%{_bindir}/%{appname}-daemon
|
|
 |
5c5c46a |
%{_bindir}/%{appname}-pkexec
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%{_libdir}/gtk-3.0/modules/libpantheon-filechooser-module.so
|
|
 |
5c5c46a |
%{_libdir}/%{appname}/
|
|
 |
a901524 |
%{_libdir}/libpantheon-files-core.so.4*
|
|
 |
a901524 |
%{_libdir}/libpantheon-files-widgets.so.4*
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%{_datadir}/applications/%{appname}.desktop
|
|
 |
5c5c46a |
%{_datadir}/contractor/*.contract
|
|
 |
5c5c46a |
%{_datadir}/dbus-1/services/%{appname}.service
|
|
 |
a901524 |
%{_datadir}/dbus-1/services/%{appname}.Filemanager1.service
|
|
 |
5c5c46a |
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
|
 |
5c5c46a |
%{_datadir}/%{appname}/
|
|
 |
5c5c46a |
%{_datadir}/metainfo/%{appname}.appdata.xml
|
|
 |
5c5c46a |
%{_datadir}/polkit-1/actions/%{appname}.policy
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%files devel
|
|
 |
5c5c46a |
%{_includedir}/pantheon-files-core/
|
|
 |
a901524 |
%{_includedir}/pantheon-files-widgets.h
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%{_libdir}/libpantheon-files-core.so
|
|
 |
5c5c46a |
%{_libdir}/libpantheon-files-widgets.so
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%{_libdir}/pkgconfig/pantheon-files-core.pc
|
|
 |
5c5c46a |
%{_libdir}/pkgconfig/pantheon-files-widgets.pc
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%{_datadir}/vala/vapi/pantheon-files-core.vapi
|
|
 |
5c5c46a |
%{_datadir}/vala/vapi/pantheon-files-widgets.vapi
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
|
|
 |
5c5c46a |
%changelog
|
|
 |
7db1ccb |
* Mon Sep 16 2019 Fabio Valentini <decathorpe@gmail.com> - 4.2.0-1
|
|
 |
7db1ccb |
- Update to version 4.2.0.
|
|
 |
7db1ccb |
|
|
 |
dd69774 |
* Thu Aug 01 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1.9-1
|
|
 |
dd69774 |
- Update to version 4.1.9.
|
|
 |
dd69774 |
|
|
 |
0e04f59 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.8-2
|
|
 |
0e04f59 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
0e04f59 |
|
|
 |
7e62e6a |
* Fri May 03 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1.8-1
|
|
 |
7e62e6a |
- Update to version 4.1.8.
|
|
 |
7e62e6a |
|
|
 |
1d4dd3d |
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 4.1.7-2
|
|
 |
1d4dd3d |
- Rebuild with Meson fix for #1699099
|
|
 |
1d4dd3d |
|
|
 |
788b465 |
* Sat Apr 13 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1.7-1
|
|
 |
788b465 |
- Update to version 4.1.7.
|
|
 |
788b465 |
|
|
 |
cf12ce3 |
* Sat Mar 30 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1.6-1
|
|
 |
cf12ce3 |
- Update to version 4.1.6.
|
|
 |
cf12ce3 |
|
|
 |
3951fc2 |
* Thu Feb 14 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1.5-1
|
|
 |
3951fc2 |
- Update to version 4.1.5.
|
|
 |
3951fc2 |
|
|
 |
a901524 |
* Thu Jan 31 2019 Fabio Valentini <decathorpe@gmail.com> - 4.1.4-1
|
|
 |
a901524 |
- Update to version 4.1.4.
|
|
 |
a901524 |
|
|
 |
3f85a54 |
* Thu Oct 18 2018 Fabio Valentini <decathorpe@gmail.com> - 4.0-1
|
|
 |
3f85a54 |
- Update to version 4.0.
|
|
 |
3f85a54 |
|
|
 |
5c5c46a |
* Tue Aug 28 2018 Fabio Valentini <decathorpe@gmail.com> - 0.3.5-9.20180826.git39b673c
|
|
 |
5c5c46a |
- Initial package renamed from pantheon-files.
|
|
 |
5c5c46a |
|