1 |
%global _internal_version fcd5e5f |
%global _internal_version 0fc7c0d |
2 |
|
|
3 |
%define gir_major 3.0 |
%define gir_major 3.0 |
4 |
%define gir_name %mklibname %{name}-gir %{gir_major} |
%define gir_name %mklibname %{name}-gir %{gir_major} |
5 |
%define libnemo_extension %mklibname %{name}-extension |
%define libnemo_extension %mklibname %{name}-extension |
6 |
%define libname_devel %mklibname %{name} -d |
%define libname_devel %mklibname %{name} -d |
7 |
%define date 20170705 |
%define date 20170809 |
8 |
|
|
9 |
Name: nemo |
Name: nemo |
10 |
Summary: File manager for Cinnamon |
Summary: File manager for Cinnamon |
11 |
Version: 3.4.6 |
Version: 3.4.7 |
12 |
Release: %mkrel 1 |
Release: %mkrel 1 |
13 |
License: GPLv2+ and LGPLv2+ |
License: GPLv2+ and LGPLv2+ |
14 |
Group: File tools |
Group: File tools |
15 |
URL: https://github.com/linuxmint/nemo |
URL: https://github.com/linuxmint/ |
16 |
Source0: http://leigh123linux.fedorapeople.org/pub/nemo/source/nemo-%{version}.tar.gz |
Source0: %url/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz |
17 |
#SourceGet0: https://github.com/linuxmint/nemo/archive/%{version}.tar.gz |
#SourceGet0: https://github.com/linuxmint/nemo/archive/%{version}.tar.gz |
18 |
##SourceGet0: https://github.com/linuxmint/nemo/tarball/%{_internal_version} |
##SourceGet0: https://github.com/linuxmint/nemo/tarball/%{_internal_version} |
19 |
|
|
55 |
BuildRequires: python3-polib |
BuildRequires: python3-polib |
56 |
BuildRequires: python3-gobject3 |
BuildRequires: python3-gobject3 |
57 |
|
|
58 |
|
Patch1: %url/%{name}/pull/1513.patch#/Don-t-scale-text-size-when-zooming.patch |
59 |
|
Patch2: %url/%{name}/commit/2704903578bfd8aaeda19be40cd5f15133bc439b.patch#/fix_desktop_file.patch |
60 |
|
|
61 |
# the main binary links against libnemo-extension.so |
# the main binary links against libnemo-extension.so |
62 |
# don't depend on soname, rather on exact version |
# don't depend on soname, rather on exact version |
106 |
GObject Introspection interface description for %{name}. |
GObject Introspection interface description for %{name}. |
107 |
|
|
108 |
%prep |
%prep |
109 |
%setup -q |
%autosetup -p1 |
|
%autopatch -p1 |
|
110 |
#setup -q -n linuxmint-%{name}-%{_internal_version} |
#setup -q -n linuxmint-%{name}-%{_internal_version} |
111 |
NOCONFIGURE=1 ./autogen.sh |
NOCONFIGURE=1 ./autogen.sh |
112 |
|
|
114 |
%configure2_5x --disable-more-warnings \ |
%configure2_5x --disable-more-warnings \ |
115 |
--disable-update-mimedb \ |
--disable-update-mimedb \ |
116 |
--disable-schemas-compile \ |
--disable-schemas-compile \ |
117 |
--disable-static |
--disable-static \ |
118 |
|
--enable-tracker=no |
119 |
|
|
120 |
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool |
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool |
121 |
%make V=1 |
%make V=1 |
148 |
ln -s %{_datadir}/themes/Adwaita/metacity-1 $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/ |
ln -s %{_datadir}/themes/Adwaita/metacity-1 $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/ |
149 |
ln -s %{_datadir}/themes/Adwaita/index.theme $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/index.theme |
ln -s %{_datadir}/themes/Adwaita/index.theme $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/index.theme |
150 |
|
|
|
%find_lang %name |
|
|
|
|
151 |
%files |
%files |
152 |
|
%doc AUTHORS NEWS |
153 |
|
%license COPYING COPYING-DOCS |
154 |
%{_datadir}/nemo/ |
%{_datadir}/nemo/ |
155 |
%{_datadir}/applications/* |
%{_datadir}/applications/* |
156 |
%{_datadir}/mime/packages/nemo.xml |
%{_datadir}/mime/packages/nemo.xml |
173 |
|
|
174 |
|
|
175 |
%files -n %{libnemo_extension} |
%files -n %{libnemo_extension} |
176 |
|
%license COPYING.EXTENSIONS COPYING.LIB |
177 |
%{_libdir}/libnemo-extension.so.* |
%{_libdir}/libnemo-extension.so.* |
178 |
|
|
179 |
%files -n adwaita-nemo |
%files -n adwaita-nemo |