kile/kile.spec

203 lines
7.1 KiB
RPMSpec
Raw Normal View History

Name: kile
Version: 2.9.93
Release: 1mamba
Summary: A user friendly TeX/LaTeX editor for the KDE desktop environment
Group: Graphical Desktop/Applications/Publishing
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://kile.sourceforge.net/
Source: https://downloads.sourceforge.net/project/kile/unstable/kile-3.0b3/kile-%{version}.tar.bz2
#Source: https://downloads.sourceforge.net/project/kile/unstable/kile-%{version}/kile-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
BuildRequires: tetex-latex
## AUTOBUILDREQ-END
Requires: tetex-latex
Obsoletes: kile-i18n-ar < 2.9.93
Obsoletes: kile-i18n-bg < 2.9.93
Obsoletes: kile-i18n-br < 2.9.93
Obsoletes: kile-i18n-ca < 2.9.93
Obsoletes: kile-i18n-cs < 2.9.93
Obsoletes: kile-i18n-cy < 2.9.93
Obsoletes: kile-i18n-da < 2.9.93
Obsoletes: kile-i18n-de < 2.9.93
Obsoletes: kile-i18n-el < 2.9.93
Obsoletes: kile-i18n-en_GB < 2.9.93
Obsoletes: kile-i18n-es < 2.9.93
Obsoletes: kile-i18n-et < 2.9.93
Obsoletes: kile-i18n-eu < 2.9.93
Obsoletes: kile-i18n-fi < 2.9.93
Obsoletes: kile-i18n-fr < 2.9.93
Obsoletes: kile-i18n-ga < 2.9.93
Obsoletes: kile-i18n-gl < 2.9.93
Obsoletes: kile-i18n-hi < 2.9.93
Obsoletes: kile-i18n-hu < 2.9.93
Obsoletes: kile-i18n-is < 2.9.93
Obsoletes: kile-i18n-it < 2.9.93
Obsoletes: kile-i18n-ja < 2.9.93
Obsoletes: kile-i18n-lt < 2.9.93
Obsoletes: kile-i18n-ms < 2.9.93
Obsoletes: kile-i18n-mt < 2.9.93
Obsoletes: kile-i18n-nb < 2.9.93
Obsoletes: kile-i18n-nds < 2.9.93
Obsoletes: kile-i18n-nl < 2.9.93
Obsoletes: kile-i18n-nn < 2.9.93
Obsoletes: kile-i18n-pa < 2.9.93
Obsoletes: kile-i18n-pl < 2.9.93
Obsoletes: kile-i18n-pt < 2.9.93
Obsoletes: kile-i18n-pt_BR < 2.9.93
Obsoletes: kile-i18n-ro < 2.9.93
Obsoletes: kile-i18n-ru < 2.9.93
Obsoletes: kile-i18n-rw < 2.9.93
Obsoletes: kile-i18n-sk < 2.9.93
Obsoletes: kile-i18n-sr < 2.9.93
#Obsoletes: kile-i18n-sr@Latn < 2.9.93
Obsoletes: kile-i18n-sv < 2.9.93
Obsoletes: kile-i18n-ta < 2.9.93
Obsoletes: kile-i18n-th < 2.9.93
Obsoletes: kile-i18n-tr < 2.9.93
Obsoletes: kile-i18n-uk < 2.9.93
Obsoletes: kile-i18n-zh_CN < 2.9.93
Provides: kile4 = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: kile4 < 2.9.93
%description
Kile is a user friendly TeX/LaTeX editor for the KDE desktop environment.
The main features are:
* Compile, convert and view your document with one click.
* Auto-completion of (La)TeX commands
* Templates and wizards makes starting a new document very little work.
* Easy insertion of many standard tags and symbols and the option to define
(an arbitrary number of) user defined tags.
* Inverse and forward search: click in the DVI viewer and jump to the corresponding
LaTeX line in the editor, or jump from the editor to the corresponding page in the viewer.
* Finding chapter or sections is very easy, Kile constructs a list of all the chapter etc.
in your document. You can use the list to jump to the corresponding section.
* Collect documents that belong together into a project.
* Easy insertion of citations and references when using projects.
* Advanced editing commands.
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
rm -fr %{buildroot}%{_kde5_sharedir}/doc/kile
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
exit 0
%posttrans
update-desktop-database -q &>/dev/null
update-mime-database -n %{_kde5_mimedir} &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
update-mime-database -n %{_kde5_mimedir} &>/dev/null
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
fi
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/kile.categories
%{_kde5_bindir}/kile
%{_kde5_datadir}/kile
%{_kde5_icondir}/hicolor/*/apps/kile.png
%{_datadir}/icons/hicolor/scalable/apps/kile.svg
%{_kde5_kcfgdir}/kile.kcfg
%{_kde5_kconfupdatedir}/kile.upd
%{_kde5_kconfupdatedir}/kile*upd.pl
%{_kde5_xdgmimedir}/kile.xml
%{_libdir}/libkdeinit5_kile.so
%{_datadir}/applications/org.kde.kile.desktop
%{_datadir}/metainfo/org.kde.kile.appdata.xml
%{_datadir}/dbus-1/interfaces/net.sourceforge.kile.main.xml
%doc %lang(ca) %{_kde5_htmldir}/ca/kile
%doc %lang(en) %{_kde5_htmldir}/en/kile
%doc %lang(de) %{_kde5_htmldir}/de/kile
%doc %lang(fr) %{_kde5_htmldir}/fr/kile
%doc %lang(it) %{_kde5_htmldir}/it/kile
%doc %lang(nl) %{_kde5_htmldir}/nl/kile
%doc %lang(pl) %{_kde5_htmldir}/pl/kile
%doc %lang(pt_BR) %{_kde5_htmldir}/pt_BR/kile
%doc %lang(sv) %{_kde5_htmldir}/sv/kile
%doc %lang(uk) %{_kde5_htmldir}/uk/kile
%doc AUTHORS COPYING ChangeLog kile-remote-control.txt README*
%changelog
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.93-1mamba
- update to 2.9.93
* Sat Aug 04 2018 Automatic Build System <autodist@mambasoft.it> 2.9.92-1mamba
- automatic version update by autodist
* Sat Dec 23 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.9.91-1mamba
- update to 2.9.91
* Tue Feb 15 2011 Davide Madrisan <davide.madrisan@gmail.com> 2.1b5-1mamba
- update to 2.1b5
* Tue Nov 02 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.1b4-1mamba
- update to 2.1b4
* Tue May 19 2009 Automatic Build System <autodist@mambasoft.it> 2.0.3-2mamba
- automatic rebuild by autodist
* Wed Feb 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1mamba
- automatic update by autodist
* Wed Oct 29 2008 Aleph0 <aleph0@openmamba.org> 2.0.2-1mamba
- update to 2.0.2
* Wed Nov 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
- update to 2.0
- added requirement for tetex-latex
* Mon Feb 12 2007 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.3-1qilnx
- update to version 1.9.3 by autospec
- rebuilt with the new installation prefix /opt/kde3
* Tue Jul 11 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.9.1-1qilnx
- update to version 1.9.1 by autospec
* Mon May 08 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.9-1qilnx
- update to version 1.9 by autospec
- added translations for Brazilian, Catalan, Czech, Welsh, German, Greek,
Estonian, Irish, Galician, Hindi Hungarian, Icelandic, Japanese,
Lithuanian, Maltese, Norwegian Bokmaal, Norwegian Nynorsk, Punjabi,
Polish, Romanian, Russian, Kinyarwanda, Slovak, Turkish, and
Simplified Chinese languages
* Mon Jun 13 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.8.1-1qilnx
- update to version 1.8.1 by autospec
* Fri May 20 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.7.1-2qilnx
- rebuild
* Wed Nov 24 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.7.1-1qilnx
- package created by autospec