Package init
This commit is contained in:
commit
a0e3001bb2
BIN
nautilus-3.33.90.tar.xz
Normal file
BIN
nautilus-3.33.90.tar.xz
Normal file
Binary file not shown.
83
nautilus.spec
Normal file
83
nautilus.spec
Normal file
@ -0,0 +1,83 @@
|
||||
Name: nautilus
|
||||
Version: 3.33.90
|
||||
Release: 1
|
||||
Summary: Default file manager for GNOME
|
||||
License: GPLv3+ and LGPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Nautilus
|
||||
Source0: https://download.gnome.org/sources/%{name}/3.33/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: desktop-file-utils gcc gettext gtk-doc meson libgexiv2-devel glib2-devel gnome-autoar-devel gnome-desktop3-devel
|
||||
BuildRequires: gobject-introspection-devel gsettings-desktop-schemas-devel gtk3-devel libseccomp-devel libselinux-devel
|
||||
BuildRequires: libxml2-devel tracker-devel libX11-devel /usr/bin/appstream-util pkgconfig(gstreamer-pbutils-1.0) pkgconfig(gstreamer-tag-1.0) git
|
||||
|
||||
Requires: glib2 gsettings-desktop-schemas gtk3 gvfs tracker-miners
|
||||
|
||||
Provides: %{name}-extensions
|
||||
Obsoletes: %{name}-extensions
|
||||
|
||||
%description
|
||||
It's easier to manage your files for the GNOME desktop. Ability to browse directories on local and remote systems.
|
||||
preview folders and launch related programs. It is also handle icons on the GNOME desktop.
|
||||
|
||||
%package devel
|
||||
Summary: includes development files for %{name} client development
|
||||
License: LGPLv2+
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Files needed for building applications,such as static libraries,
|
||||
header files that can communicate with a %{name} media server.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
sed -i '/-Werror/d' meson.build
|
||||
|
||||
%build
|
||||
%meson -Ddocs=true -Dextensions=true -Dintrospection=true \
|
||||
-Dselinux=true %{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Nautilus.appdata.xml
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
|
||||
make test
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE
|
||||
%{_libdir}/nautilus
|
||||
%{_libdir}/libnautilus-extension.so*
|
||||
%{_libdir}/girepository-1.0
|
||||
%{_bindir}/*
|
||||
%{_datadir}/dbus-1/*
|
||||
%{_datadir}/gnome-shell/*
|
||||
%{_datadir}/locale
|
||||
%{_datadir}/applications/*
|
||||
%{_datadir}/icons/hicolor/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/nautilus/*
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%files help
|
||||
%defattr(-,root,root)
|
||||
%doc NEWS README.md
|
||||
%{_mandir}/man1/*
|
||||
%{_datadir}/gtk-doc/html/libnautilus-extension/*
|
||||
%{_datadir}/gir-1.0/*
|
||||
%{_datadir}/metainfo/*
|
||||
%{_datadir}/glib-2.0/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.33.90-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user