source: projects/specs/trunk/l/latexila/latexila-vl.spec @ 5651

Revision 5651, 3.9 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Name:           latexila
2Version:        2.2.3
3Release:        1%{?_dist_release}
4Summary:        Integrated LaTeX Environment for the GNOME desktop
5
6Group:          Applications/Publishing
7License:        GPLv3+
8URL:            http://projects.gnome.org/latexila/
9Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.2/%{name}-%{version}.tar.xz
10
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13BuildRequires:  gettext
14BuildRequires:  cmake
15BuildRequires:  gtksourceview2-devel
16BuildRequires:  desktop-file-utils
17BuildRequires:  libgee-devel
18BuildRequires:  unique-devel
19BuildRequires:  itstool
20
21Requires:       hicolor-icon-theme
22Requires:       itstool
23Requires:       latexmk
24Requires:       rubber
25Requires:       gsettings-desktop-schemas
26
27Vendor: Project Vine
28Distribution: Vine Linux
29Packager: Takemikaduchi
30
31
32%description
33LaTeXila is an Integrated LaTeX Environment for GNOME. The main features are:
34  * Configurable buttons to compile, convert and view a document in one click
35  * LaTeX commands auto-completion
36  * Symbol tables (Greek letters, arrows, ...)
37  * File browser integrated
38  * Template managing
39  * Menus with the most commonly used LaTeX commands
40  * Easy projects management
41
42%prep
43%setup -q
44
45%build
46%cmake -DCMAKE_C_FLAGS:STRING="%{optflags}" .
47make VERBOSE=1 %{?_smp_mflags}
48
49%install
50rm -rf %{buildroot}
51make install DESTDIR=%{buildroot}
52%find_lang %{name}
53
54#Adding folders for .desktop file and icons
55for s in 16 22 24 32 48; do
56  install -Dp data/images/app/icon$s.png \
57  %{buildroot}%{_datadir}/icons/hicolor/${s}x$s/apps/%{name}.png
58done   
59
60desktop-file-install \
61        --dir %{buildroot}%{_datadir}/applications \
62         %{buildroot}%{_datadir}/applications/%{name}.desktop
63
64%clean
65rm -rf %{buildroot}
66
67%post
68update-desktop-database &> /dev/null || :
69touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
70
71if [ $1 -eq 1 ] ; then
72        glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
73fi
74
75%postun
76update-desktop-database &> /dev/null || :
77
78if [ $1 -eq 0 ] ; then
79        touch --no-create %{_datadir}/icons/hicolor &>/dev/null
80        gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
81fi
82
83glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
84
85%posttrans
86gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
87
88%files -f %{name}.lang
89%defattr(-,root,root,-)
90%doc AUTHORS COPYING README NEWS HACKING TODO
91%{_mandir}/man1/%{name}.1.*
92%{_bindir}/*
93
94%{_datadir}/%{name}/
95%{_datadir}/applications/%{name}.desktop
96%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
97%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
98%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
99%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
100%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
101%{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml
102%{_datadir}/gnome/help/%{name}
103
104%changelog
105* Wed Feb 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1
106- new upstream release
107
108* Mon Oct 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
109- initial build for Vine Linux
110
111
112* Tue Jul 12 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.8-1
113- Update to 2.0.8
114
115* Thu Apr 7 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.7-1
116- Update to 2.0.7
117
118* Sun Mar 20 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.6-1
119- Update to 2.0.6
120
121* Tue Feb 15 2011 Thibault North <tnorth@fedoraproject.org> - 2.0.5-1
122- Update to 2.0.5, thanks Sébastien Wilmet
123
124* Thu Nov 25 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.1-4
125- A few more fixes
126
127* Mon Nov 22 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.1-3
128- Use %%find_lang, fixes by Mohamed El Morabity
129
130* Sun Nov 21 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.1-2
131- Small fixes
132
133* Sun Nov 21 2010 Sébastien Wilmet <sebastien.wilmet@gmail.com> - 2.0.1-1
134- Release 2.0.1
135
136* Sun Nov 14 2010 Thibault North <tnorth@fedoraproject.org> - 2.0.0-1
137- Release 2.0
138
139* Mon Mar 1 2010 Sébastien Wilmet <sebastien.wilmet@gmail.com> - 0.2-1
140- New upstream release
141- Icons support
142
143* Fri Dec 25 2009 Sébastien Wilmet <sebastien.wilmet@gmail.com> - 0.1-1
144- Initial package for Fedora
Note: See TracBrowser for help on using the repository browser.