|
@@ -1,22 +1,22 @@
|
|
Name: latexila
|
|
Name: latexila
|
|
-Version: 2.4.1
|
|
+Version: 2.6.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: Integrated LaTeX Environment for the GNOME desktop
|
|
Summary: Integrated LaTeX Environment for the GNOME desktop
|
|
|
|
|
|
Group: Applications/Publishing
|
|
Group: Applications/Publishing
|
|
License: GPLv3+
|
|
License: GPLv3+
|
|
URL: http://projects.gnome.org/latexila/
|
|
URL: http://projects.gnome.org/latexila/
|
|
-Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.4/%{name}-%{version}.tar.xz
|
|
+Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
-BuildRequires: cmake
|
|
+BuildRequires: gtksourceview3-devel
|
|
-BuildRequires: gtksourceview2-devel
|
|
|
|
BuildRequires: desktop-file-utils
|
|
BuildRequires: desktop-file-utils
|
|
-BuildRequires: libgee-devel
|
|
+BuildRequires: libgee06-devel
|
|
BuildRequires: unique-devel
|
|
BuildRequires: unique-devel
|
|
BuildRequires: gtkspell-devel
|
|
BuildRequires: gtkspell-devel
|
|
|
|
+BuildRequires: gsettings-desktop-schemas-devel
|
|
BuildRequires: itstool
|
|
BuildRequires: itstool
|
|
|
|
|
|
Requires: hicolor-icon-theme
|
|
Requires: hicolor-icon-theme
|
|
@@ -44,19 +44,13 @@ LaTeXila is an Integrated LaTeX Environment for GNOME. The main features are:
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
%build
|
|
-%cmake -DCMAKE_C_FLAGS:STRING="%{optflags}" .
|
|
+%configure --disable-static
|
|
-make VERBOSE=1 %{?_smp_mflags}
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
-%find_lang %{name}
|
|
+%find_lang %{name} --all-name --with-gnome
|
|
-
|
|
|
|
-#Adding folders for .desktop file and icons
|
|
|
|
-for s in 16 22 24 32 48; do
|
|
|
|
- install -Dp data/images/app/icon$s.png \
|
|
|
|
- %{buildroot}%{_datadir}/icons/hicolor/${s}x$s/apps/%{name}.png
|
|
|
|
-done
|
|
|
|
|
|
|
|
desktop-file-install \
|
|
desktop-file-install \
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
@@ -77,11 +71,11 @@ fi
|
|
update-desktop-database &> /dev/null || :
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
if [ $1 -eq 0 ] ; then
|
|
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
fi
|
|
fi
|
|
|
|
|
|
-glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
|
|
|
|
%posttrans
|
|
%posttrans
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
@@ -94,15 +88,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
%{_datadir}/%{name}/
|
|
%{_datadir}/%{name}/
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/applications/%{name}.desktop
|
|
-%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
|
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
-%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
|
|
|
|
-%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
|
|
|
|
-%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
|
-%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
|
|
-%{_datadir}/gnome/help/%{name}
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Oct 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+- change BuildRequires: gtksourceview3-devel instead of gtksourceview2-devel
|
|
|
|
+- change BuildRequires: libgee06-devel instead of libgee-devel
|
|
|
|
+- add BuildRequires: gsettings-desktop-schemas-devel
|
|
|
|
+
|
|
* Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
|
|
* Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|