gummi/gummi.spec
wangtaozhi b30bbf4773 Package init
- 初始化提交
2023-06-26 13:46:33 +08:00

56 lines
1.6 KiB
RPMSpec

Name: gummi
Version: 0.8.3
Release: 1
Summary: A LaTeX editor for the Linux platform in C/GTK+
Group: Publishing
License: MIT
URL: https://github.com/alexandervdm/gummi
Source0: https://github.com/alexandervdm/gummi/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch0: 0001-fix-compile-error.patch
Patch1: 0001-fix-the-synctex-path-error.patch
BuildRequires: intltool
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtksourceview-4)
BuildRequires: pkgconfig(gtkspell3-3.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(poppler-glib)
BuildRequires: pkgconfig(synctex)
%description
Gummi is a LaTeX editor for the Linux platform, written in C/GTK+. It was
designed with simplicity in mind, but hopes to appeal to both novice and more
advanced LaTeX writers. Gummi was released as free opensource software under
the MIT license.
%prep
%autosetup -p1
# switch to gtksourceview4
perl -pi -e 's/gtksourceview-3.0/gtksourceview-4/g' configure.ac
perl -pi -e 's/gtksourceview3/gtksourceview4/g' configure.ac
%build
autoreconf -fi
%configure --with-synctex-libs=lsynctex --with-synctex-cflags=/usr/include/synctex
%make_build
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_datadir}/pixmaps/%{name}.png
%{_libdir}/%{name}/
%{_mandir}/man1/%{name}.1*
%changelog
* Mon Jun 05 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 0.8.3-1
- Package init