[latexila/f14/master: 1/3] Initial package
Thibault North
tnorth at fedoraproject.org
Thu Dec 2 20:22:00 UTC 2010
commit 13b3e32dc3b4f80cb8f8def7320b2f0c746a7f9e
Author: Thibault North <tnorth at fedoraproject.org>
Date: Thu Dec 2 15:14:52 2010 -0500
Initial package
.gitignore | 1 +
latexila.spec | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 125 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9da3ead 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/latexila-2.0.1.tar.gz
diff --git a/latexila.spec b/latexila.spec
new file mode 100644
index 0000000..1ab501d
--- /dev/null
+++ b/latexila.spec
@@ -0,0 +1,123 @@
+Name: latexila
+Version: 2.0.1
+Release: 4%{?dist}
+Summary: Integrated LaTeX Environment for the GNOME desktop
+
+Group: Applications/Publishing
+License: GPLv3+
+URL: http://latexila.sourceforge.net/
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: gettext
+BuildRequires: cmake
+BuildRequires: gtksourceview2-devel >= 2.10
+BuildRequires: desktop-file-utils
+# Vala version 0.10.x (not above, not below)
+BuildRequires: vala-devel >= 0.10
+BuildRequires: vala-devel < 0.11
+BuildRequires: libgee-devel
+BuildRequires: unique-devel
+
+
+Requires: hicolor-icon-theme
+Requires: gsettings-desktop-schemas
+Requires: rubber
+
+%description
+LaTeXila is an Integrated LaTeX Environment for GNOME. The main features are:
+ * Configurable buttons to compile, convert and view a document in one click
+ * LaTeX commands auto-completion
+ * Symbol tables (Greek letters, arrows, ...)
+ * File browser integrated
+ * Template managing
+ * Menus with the most commonly used LaTeX commands
+ * Easy projects management
+
+%prep
+%setup -q
+# Unset upstream CFLAGS
+sed -i '/set (CMAKE_C_FLAGS "-O2")/d' CMakeLists.txt
+
+
+%build
+%cmake -DCMAKE_C_FLAGS:STRING="%{optflags}" .
+make VERBOSE=1 %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+%find_lang %{name}
+
+#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 \
+ --dir %{buildroot}%{_datadir}/applications \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%clean
+rm -rf %{buildroot}
+
+%post
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+if [ $1 -eq 1 ] ; then
+ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%postun
+update-desktop-database &> /dev/null || :
+
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README NEWS HACKING TODO
+%{_mandir}/man1/%{name}.1.*
+%{_bindir}/*
+
+%{_datadir}/%{name}/
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/16x16/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
+
+%changelog
+* Thu Nov 25 2010 Thibault North <tnorth at fedoraproject.org> - 2.0.1-4
+- A few more fixes
+
+* Mon Nov 22 2010 Thibault North <tnorth at fedoraproject.org> - 2.0.1-3
+- Use %%find_lang, fixes by Mohamed El Morabity
+
+* Sun Nov 21 2010 Thibault North <tnorth at fedoraproject.org> - 2.0.1-2
+- Small fixes
+
+* Sun Nov 21 2010 Sébastien Wilmet <sebastien.wilmet at gmail.com> - 2.0.1-1
+- Release 2.0.1
+
+* Sun Nov 14 2010 Thibault North <tnorth at fedoraproject.org> - 2.0.0-1
+- Release 2.0
+
+* Mon Mar 1 2010 Sébastien Wilmet <sebastien.wilmet at gmail.com> - 0.2-1
+- New upstream release
+- Icons support
+
+* Fri Dec 25 2009 Sébastien Wilmet <sebastien.wilmet at gmail.com> - 0.1-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..70991c7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1fdddbba9fd209b1e7c9aa96f9627e18 latexila-2.0.1.tar.gz
More information about the scm-commits
mailing list