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

Revision 6323, 4.2 KB checked in by Takemikaduchi, 12 years ago (diff)

cinnamon,muffin: New Package
others: new upstream release

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