56964ff
#global _internal_version  60e40aa
f0de495
1b1b0d3
Name:           nemo
1b1b0d3
Summary:        File manager for Cinnamon
12a30d6
Version:        2.2.2
a2febf2
Release:        1%{?dist}
1b1b0d3
License:        GPLv2+ and LGPLv2+
1b1b0d3
Group:          User Interface/Desktops
4a53875
URL:            https://github.com/linuxmint/nemo
1b1b0d3
# To generate source
f0de495
# wget https://github.com/linuxmint/nemo/tarball/%%{_internal_version} -O nemo-%%{version}.git%%{_internal_version}.tar.gz
2ea2a85
Source0:        http://leigh123linux.fedorapeople.org/pub/nemo/source/nemo-%{version}.tar.gz
9381d53
Source1:        nemo.css
9381d53
Source2:        gtk.css
9381d53
Source3:        gtk-dark.css
ac89d7c
Source4:        nemo-fedora.gschema.override
1b1b0d3
4a53875
Requires:       redhat-menus
4a53875
Requires:       gvfs
4a53875
Requires:       gnome-icon-theme
217b270
Requires:       cinnamon-translations
430649b
4a53875
BuildRequires:  gnome-common
4a53875
BuildRequires:  intltool
4a53875
BuildRequires:  rarian-compat
a2febf2
BuildRequires:  python-polib
8bb8c00
BuildRequires:  pygobject3-base
4a53875
BuildRequires:  desktop-file-utils
56964ff
BuildRequires:  pkgconfig(gtk-doc)
4a53875
BuildRequires:  pkgconfig(libxml-2.0)
c53b57a
BuildRequires:  pkgconfig(cinnamon-desktop)
4a53875
BuildRequires:  pkgconfig(sm)
4a53875
BuildRequires:  pkgconfig(libexif)
4a53875
BuildRequires:  pkgconfig(exempi-2.0)
4a53875
BuildRequires:  pkgconfig(libselinux)
4a53875
BuildRequires:  pkgconfig(gobject-introspection-1.0)
4a53875
BuildRequires:  pkgconfig(libnotify)
9381d53
1b1b0d3
# the main binary links against libnemo-extension.so
1b1b0d3
# don't depend on soname, rather on exact version
1b1b0d3
Requires:       nemo-extensions%{?_isa} = %{version}-%{release}
a74f2bb
Obsoletes:      nemo-open-terminal
1b1b0d3
1b1b0d3
1b1b0d3
%description
1b1b0d3
Nemo is the file manager and graphical shell for the Cinnamon desktop
1b1b0d3
that makes it easy to manage your files and the rest of your system.
1b1b0d3
It allows to browse directories on local and remote filesystems, preview
1b1b0d3
files and launch applications associated with them.
1b1b0d3
It is also responsible for handling the icons on the Cinnamon desktop.
1b1b0d3
1b1b0d3
%package extensions
1b1b0d3
Summary: Nemo extensions library
1b1b0d3
License: LGPLv2+
56964ff
Group:   Development/Libraries
1b1b0d3
Requires:   %{name}%{?_isa} = %{version}-%{release}
d8305fb
Obsoletes: nemo-seahorse
1b1b0d3
1b1b0d3
%description extensions
1b1b0d3
This package provides the libraries used by nemo extensions.
1b1b0d3
1b1b0d3
%package devel
1b1b0d3
Summary: Support for developing nemo extensions
1b1b0d3
License: LGPLv2+
56964ff
Group:   Development/Libraries
1b1b0d3
Requires:   %{name}%{?_isa} = %{version}-%{release}
1b1b0d3
1b1b0d3
1b1b0d3
%description devel
1b1b0d3
This package provides libraries and header files needed
1b1b0d3
for developing nemo extensions.
1b1b0d3
9381d53
%package -n adwaita-nemo
9381d53
Summary: Nemo theme fix for Adwaita
56964ff
Group:   User Interface/Desktops
9381d53
Buildarch: noarch
9381d53
Requires:  gnome-themes-standard
9381d53
9381d53
%description -n adwaita-nemo
9381d53
Nemo theme fix for Adwaita
9381d53
1b1b0d3
%prep
e5b5d75
%autosetup -p1
e5b5d75
8256ff8
sed -i -e 's@DISABLE_DEPRECATED_CFLAGS="-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"@@g' configure.in
150391c
mv configure.in configure.ac
4a53875
NOCONFIGURE=1 ./autogen.sh
1b1b0d3
1b1b0d3
%build
4a53875
%configure --disable-more-warnings \
4a53875
           --disable-update-mimedb \
b8cff9a
           --disable-schemas-compile \
b8cff9a
           --enable-tracker=no
1b1b0d3
1b1b0d3
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
1b1b0d3
1b1b0d3
make %{?_smp_mflags} V=1
1b1b0d3
1b1b0d3
%install
956e5b5
%{make_install}
1b1b0d3
ac89d7c
install -D -m 0644 %{SOURCE4} $RPM_BUILD_ROOT/%{_datadir}/glib-2.0/schemas/nemo-fedora.gschema.override
ac89d7c
1b1b0d3
desktop-file-install --delete-original       \
1b1b0d3
  --dir $RPM_BUILD_ROOT%{_datadir}/applications             \
1b1b0d3
  --add-only-show-in GNOME                                  \
1b1b0d3
  $RPM_BUILD_ROOT%{_datadir}/applications/*
1b1b0d3
4a53875
# create extensions directoy
4a53875
mkdir -p $RPM_BUILD_ROOT%{_libdir}/nemo/extensions-3.0/
1b1b0d3
1b1b0d3
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
1b1b0d3
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
1b1b0d3
rm -f $RPM_BUILD_ROOT%{_libdir}/nemo/extensions-3.0/*.la
1b1b0d3
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
1b1b0d3
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/.icon-theme.cache
1b1b0d3
9381d53
# theme
9381d53
mkdir -p $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/gtk-3.0/apps
9381d53
install -D -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/gtk-3.0/apps/
9381d53
install -D -p -m 0644 %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/gtk-3.0/
9381d53
ln -s %{_datadir}/themes/Adwaita/backgrounds $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/
9381d53
ln -s %{_datadir}/themes/Adwaita/gtk-2.0 $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/
9381d53
ln -s %{_datadir}/themes/Adwaita/gtk-3.0/{gtk.gresource,settings.ini} $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/gtk-3.0/
9381d53
ln -s %{_datadir}/themes/Adwaita/metacity-1 $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/
9381d53
ln -s %{_datadir}/themes/Adwaita/index.theme $RPM_BUILD_ROOT%{_datadir}/themes/Adwaita-Nemo/index.theme
9381d53
1b1b0d3
1b1b0d3
%post
1b1b0d3
/sbin/ldconfig
430649b
/usr/bin/update-desktop-database &> /dev/null || :
1b1b0d3
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
1b1b0d3
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
1b1b0d3
1b1b0d3
%postun
1b1b0d3
/sbin/ldconfig
1b1b0d3
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
430649b
/usr/bin/update-desktop-database &> /dev/null || :
1b1b0d3
if [ $1 -eq 0 ]; then
1b1b0d3
  /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
1b1b0d3
  /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
1b1b0d3
  /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
1b1b0d3
fi
1b1b0d3
1b1b0d3
%posttrans
1b1b0d3
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
1b1b0d3
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
1b1b0d3
1b1b0d3
%post extensions -p /sbin/ldconfig
1b1b0d3
1b1b0d3
%postun extensions -p /sbin/ldconfig
1b1b0d3
f0de495
%files
1b1b0d3
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB NEWS README
1b1b0d3
%{_datadir}/nemo/
1b1b0d3
%{_datadir}/applications/*
1b1b0d3
%{_datadir}/mime/packages/nemo.xml
1b1b0d3
%{_bindir}/*
1b1b0d3
%{_datadir}/icons/hicolor/*/apps/nemo.png
0a17277
%{_datadir}/icons/hicolor/*/actions/nemo-eject.png
4a53875
%{_datadir}/icons/hicolor/scalable/*/*.svg
1b1b0d3
%{_datadir}/dbus-1/services/org.Nemo.service
3ee85cb
%{_datadir}/dbus-1/services/org.freedesktop.NemoFileManager1.service
1b1b0d3
%{_mandir}/man1/nemo-connect-server.1.*
1b1b0d3
%{_mandir}/man1/nemo.1.*
799162a
%{_libexecdir}/nemo-convert-metadata
ac89d7c
%{_datadir}/glib-2.0/schemas/*
1b1b0d3
%dir %{_libdir}/nemo/extensions-3.0/
3ee85cb
%{_datadir}/polkit-1/actions/org.nemo.root.policy
0a17277
%{_datadir}/gtksourceview-?.0/language-specs/nemo_action.lang
1b1b0d3
1b1b0d3
%files extensions
1b1b0d3
%{_libdir}/libnemo-extension.so.*
1b1b0d3
%{_libdir}/girepository-1.0/*.typelib
1b1b0d3
%dir %{_libdir}/nemo
1b1b0d3
a7c0868
%files -n  adwaita-nemo
9381d53
%{_datadir}/themes/Adwaita-Nemo/
9381d53
1b1b0d3
%files devel
1b1b0d3
%{_includedir}/nemo/
1b1b0d3
%{_libdir}/pkgconfig/*
1b1b0d3
%{_libdir}/*.so
1b1b0d3
%{_datadir}/gir-1.0/*.gir
1b1b0d3
1b1b0d3
%changelog
12a30d6
* Wed May 21 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.2-1
12a30d6
- update to 2.2.2
12a30d6
c2160a8
* Fri May 02 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.1-1
c2160a8
- update to 2.2.1
c2160a8
a2febf2
* Sat Apr 12 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.2.0-1
a2febf2
- update to 2.2.0
a2febf2
b8cff9a
* Mon Mar 03 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-9
b8cff9a
- remove tracker support (bz 1071601) so search works
b8cff9a
- fix adwaita-nemo theme issue (bz 1066547)
b8cff9a
0ac37ab
* Thu Feb 20 2014 Adam Williamson <awilliam@redhat.com> - 2.0.8-8
0ac37ab
- rebuild against updated tracker
0ac37ab
e5b5d75
* Fri Jan 24 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-7
e5b5d75
- fix adwaita theme issue
e5b5d75
aeb9fea
* Thu Jan 02 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-6
aeb9fea
- patch to make background transparent
aeb9fea
3dddb74
* Thu Jan 02 2014 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-5
3dddb74
- hopefully fix rename position issue (bz 1045181)
3dddb74
9b7e6f8
* Mon Dec 23 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-4
9b7e6f8
- add patch to build against tracker-1.8
9b7e6f8
03a7f6f
* Mon Dec 23 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-3
03a7f6f
- change tracker build requires
03a7f6f
df50c5b
* Sun Dec 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-2
df50c5b
- add git rollup patch (bz 1045181)
df50c5b
956e5b5
* Mon Dec 02 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.8-1
956e5b5
- update to 2.0.8
956e5b5
6373a5c
* Sun Nov 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.7-1
6373a5c
- update to 2.0.7
6373a5c
017f63b
* Sun Nov 03 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.5-1
017f63b
- update to 2.0.5
017f63b
a74f2bb
* Thu Oct 31 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.4-1
a74f2bb
- update to 2.0.4
a74f2bb
- add obsoletes nemo-open-terminal
a74f2bb
86d22bc
* Wed Oct 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.3-1
86d22bc
- update to 2.0.3
86d22bc
a3c4428
* Thu Oct 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.2-1
a3c4428
- update to 2.0.2
a3c4428
d8305fb
* Sun Oct 20 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-2
d8305fb
- add obsoletes nemo-seahorse
d8305fb
1fcf24f
* Fri Oct 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.1-1
1fcf24f
- update to 2.0.1
1fcf24f
56964ff
* Wed Oct 09 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-2
56964ff
- rebuilt with tracker support
56964ff
5342f76
* Wed Oct 02 2013 Leigh Scott <leigh123linux@googlemail.com> - 2.0.0-1
5342f76
- update to 2.0.0
5342f76
ac89d7c
* Tue Oct 01 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.9.1-2
ac89d7c
- set some defaults
ac89d7c
2ea2a85
* Mon Sep 30 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.9.1-1
2ea2a85
- update to 1.9.1
2ea2a85
e08c293
* Thu Sep 26 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.8.git60e40aa
e08c293
- update to latest git
e08c293
57c49d2
* Thu Sep 19 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.7.git1c25115
57c49d2
- update to latest git
57c49d2
150391c
* Thu Sep 19 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.6.git07ae0a8
150391c
- update to latest git
150391c
3ee85cb
* Wed Sep 18 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.5.gitea09d20
3ee85cb
- update to latest git
3ee85cb
00ba654
* Sun Aug 25 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.4.gitfccc703
00ba654
- update to latest git
00ba654
- Change buildrequires to cinnamon-desktop-devel
00ba654
- Change requires to cinnamon-desktop
00ba654
217b270
* Sat Aug 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.3.git9d08c6c
217b270
- add requires cinnamon-translations
217b270
c9d375b
* Sat Aug 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.2.git9d08c6c
c9d375b
- update to latest git
c9d375b
f0de495
* Sat Aug 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.6-0.1.gitb2776a2
f0de495
- update to latest git
f0de495
- adjust for new cinnamon-translations package
f0de495
da7d0c6
* Thu Aug 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.5-3
da7d0c6
- rebuilt
da7d0c6
8256ff8
* Wed Aug 21 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.5-2
8256ff8
- supress gtk DEPRECATED
8256ff8
cf46829
* Wed Aug 21 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.5-1
cf46829
- Update to version 1.8.5
cf46829
9818829
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.4-5
9818829
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9818829
d82d6e7
* Wed Jul 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.4-4
d82d6e7
- add requires beesu
d82d6e7
- drop patch to remove open as root
d82d6e7
1e7bc2e
* Wed Jul 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.4-3
1e7bc2e
- remove background patch as it breaks cinnamon next
1e7bc2e
7a7d26d
* Mon Jul 22 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.4-2
7a7d26d
- patch to fix create launcher
7a7d26d
799162a
* Wed Jul 10 2013 leigh scott <leigh123linux@googlemail.com> - 1.8.4-1
799162a
- Update to version 1.8.4
799162a
49ecc28
* Thu Jun 06 2013 leigh scott <leigh123linux@googlemail.com> - 1.8.2-3
49ecc28
- autostart nemo differently so we dont squash nautilus
49ecc28
7c30ac6
* Fri May 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.2-2
7c30ac6
- Patch to remove open as root
7c30ac6
a12b721
* Mon May 20 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.2-1
a12b721
- Update to version 1.8.2
a12b721
- Tidy up patches
a12b721
beaa426
* Sun May 12 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-2
beaa426
- add patch to stop nemo from drawing the desktop background
beaa426
0a17277
* Thu May 09 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.8.1-1
0a17277
- update to 1.8.1 release
0a17277
e0ba04c
* Sun Feb 24 2013 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-4
e0ba04c
- Rebuilt for libgnome-desktop soname bump
d48b8ec
- Patch for gnome-desktop changes
e0ba04c
661548a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
661548a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
661548a
d69f8ad
* Fri Dec 21 2012 Kalev Lember <kalevlember@gmail.com> - 1.1.2-2
d69f8ad
- Rebuilt for libgnome-desktop-3 3.7.3 soname bump
d69f8ad
430649b
* Wed Nov 14 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-1
430649b
- update to 1.1.2 release
430649b
- add scriptlets for mimetype key
430649b
f480321
* Sat Nov 03 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.9-1
f480321
- update to 1.0.9 release
f480321
4a53875
* Sun Oct 28 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.7-1
4a53875
- update to 1.0.7 release
4a53875
- change build requires style
4a53875
- use autogen to prepare source
4a53875
- make directory for extensions
4a53875
9babfbd
* Sun Oct 21 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.5-2
9babfbd
- drop requires gksu-pokit
9babfbd
8eec786
* Sat Oct 20 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.5-1
8eec786
- update to 1.0.5 release
8eec786
- revert last commit
8eec786
6713b00
* Thu Oct 18 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-3
6713b00
- patch open as root and add requires gksu-pokit
6713b00
e0e00c1
* Mon Oct 08 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-2
e0e00c1
- remove requires gnome-terminal
e0e00c1
- patch to remove "open in terminal"
e0e00c1
a2d1db4
* Mon Oct 01 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-1
a2d1db4
- update to 1.0.3 release
a2d1db4
0434fda
* Thu Sep 27 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-1
0434fda
- update to 1.0.2 release
0434fda
- add requires gnome-terminal
0434fda
9381d53
* Tue Sep 25 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-5
9381d53
- add theme sub-package
9381d53
31bcde9
* Tue Sep 25 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-4
31bcde9
- remove "open as root" option
31bcde9
- fix "open terminal" option
31bcde9
1b1b0d3
* Tue Sep 25 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-3
1b1b0d3
- validate desktop file
1b1b0d3
1b1b0d3
* Tue Sep 25 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-2
1b1b0d3
- add ldconfig to extensions
1b1b0d3
- fix comment in macro
1b1b0d3
- fix macro-in-comment
1b1b0d3
- remove obsolete provides/obsoletes
1b1b0d3
- fix licence tag
1b1b0d3
1b1b0d3
* Fri Sep 21 2012 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-1
1b1b0d3
- initial build based on nautilus spec file
1b1b0d3