Package init

This commit is contained in:
dogsheng 2019-11-19 11:45:01 +08:00
commit c6472e1cb0
2 changed files with 62 additions and 0 deletions

BIN
file-roller-3.30.1.tar.xz Normal file

Binary file not shown.

62
file-roller.spec Normal file
View File

@ -0,0 +1,62 @@
Name: file-roller
Version: 3.30.1
Release: 2
Summary: An archive manager utility for the GNOME Environment
License: GPLv2+
URL: https://wiki.gnome.org/Apps/FileRoller
Source0: https://download.gnome.org/sources/%{name}/3.30/%{name}-%{version}.tar.xz
BuildRequires: cpio gettext gcc itstool file-devel pkgconfig(gthread-2.0)
BuildRequires: meson >= 0.43 pkgconfig(glib-2.0) >= 2.36 pkgconfig(gtk+-3.0) >= 3.13.2 pkgconfig(libnautilus-extension) >= 2.22.2
BuildRequires: pkgconfig(json-glib-1.0) >= 0.14.0 pkgconfig(libnotify) >= 0.4.3 pkgconfig(libarchive) >= 3.0.0
BuildRequires: libappstream-glib desktop-file-utils
%description
File Roller is an archive manager that you can create and modify archives;
view the content of an archive;view and modify a file contained in the
archive; extract files from the archive.
%package nautilus
Summary: File Roller extension for nautilus
Requires: %{name}%{_isa} = %{version}-%{release}
%description nautilus
The nautilus package includes the extension for the nautilus file manager. The item
contains in the nautilus context menu allow you to compress directories or files.
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} --with-gnome
%check
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.FileRoller.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.FileRoller.desktop
%files -f %{name}.lang
%doc README AUTHORS COPYING NEWS
%{_libexecdir}/file-roller
%{_datadir}/file-roller
%{_bindir}/file-roller
%{_datadir}/icons/hicolor/*/apps/file-roller.png
%{_datadir}/metainfo/org.gnome.FileRoller.appdata.xml
%{_datadir}/applications/org.gnome.FileRoller.desktop
%{_datadir}/dbus-1/services/org.gnome.FileRoller.service
%{_datadir}/icons/hicolor/scalable/apps/file-roller-symbolic.svg
%{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
%{_datadir}/dbus-1/services/org.gnome.FileRoller.ArchiveManager1.service
%files nautilus
%{_libdir}/nautilus/extensions-3.0/libnautilus-fileroller.so
%changelog
* Thu Oct 17 2019 Yiru Wang <wangyiru1@huawei.com> - 1.20.7-17
- Pakcage init