|
@@ -2,7 +2,7 @@ Summary: Document viewer
|
|
Summary(ja): 文書ビューワー
|
|
Summary(ja): 文書ビューワー
|
|
Name: evince
|
|
Name: evince
|
|
Version: 3.12.1
|
|
Version: 3.12.1
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Release: 3%{?_dist_release}
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
|
|
|
|
|
|
License: GPL
|
|
License: GPL
|
|
@@ -96,9 +96,13 @@ make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
+desktop-file-install --vendor '' \
|
|
|
|
+ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
+ --add-only-show-in GNOME \
|
|
|
|
+ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
|
+
|
|
%find_lang %{name} --with-gnome --all-name
|
|
%find_lang %{name} --with-gnome --all-name
|
|
|
|
|
|
# remove unnecessary files
|
|
# remove unnecessary files
|
|
@@ -130,7 +134,7 @@ fi
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
|
|
%{_bindir}/evince*
|
|
%{_bindir}/evince*
|
|
-%{_datadir}/applications/evince.desktop
|
|
|
|
|
|
+%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/evince-previewer.desktop
|
|
%{_datadir}/applications/evince-previewer.desktop
|
|
%{_datadir}/evince
|
|
%{_datadir}/evince
|
|
%{_datadir}/gtk-doc/html/evince
|
|
%{_datadir}/gtk-doc/html/evince
|
|
@@ -164,6 +168,9 @@ fi
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Jun 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-3
|
|
|
|
+- add OnlyShowIn=GNOME; to evince.desktop
|
|
|
|
+
|
|
* Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-2
|
|
* Sat May 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-2
|
|
- rebuild with poppler-0.24.5
|
|
- rebuild with poppler-0.24.5
|
|
|
|
|