]>
Commit | Line | Data |
---|---|---|
4def2844 | 1 | Summary: LaTeX plugin for gedit |
4e35e290 | 2 | Summary(pl.UTF-8): Wtyczka LaTeX dla gedita |
4def2844 | 3 | Name: gedit-plugin-LaTeXPlugin |
8cee9347 | 4 | Version: 0.2 |
4def2844 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: X11/Applications/Editors | |
8cee9347 CM |
8 | Source0: http://downloads.sourceforge.net/gedit-latex/LaTeXPlugin-%{version}.tar.gz |
9 | # Source0-md5: 714bbe2c24337a8a8ea3e444a5d729fc | |
4def2844 | 10 | Patch0: %{name}-path.patch |
11 | URL: http://live.gnome.org/Gedit/LaTeXPlugin | |
8cee9347 | 12 | Requires: gedit >= 2.16.0 |
4def2844 | 13 | Requires: perl |
14 | Requires: rubber | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | LaTeX plugin for gedit. | |
19 | ||
56bb7fdc | 20 | %description -l pl.UTF-8 |
4def2844 | 21 | Wtyczka LaTeX dla gedita. |
22 | ||
23 | %prep | |
24 | %setup -qc | |
8cee9347 | 25 | #%patch0 -p1 |
4def2844 | 26 | |
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
8cee9347 | 29 | install -d $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/GeditLaTeXPlugin |
4def2844 | 30 | |
8cee9347 CM |
31 | mv GeditLaTeXPlugin/ChangeLog . |
32 | cp -R GeditLaTeXPlugin $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/ | |
33 | cp GeditLaTeXPlugin.gedit-plugin $RPM_BUILD_ROOT%{_libdir}/gedit/plugins | |
4def2844 | 34 | |
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc ChangeLog | |
8cee9347 CM |
41 | %{_libdir}/gedit/plugins/GeditLaTeXPlugin |
42 | %{_libdir}/gedit/plugins/*.gedit-plugin |