kile/kile.spec

200 lines
6.5 KiB
RPMSpec
Raw Normal View History

Name: kile
Version: 2.9.92
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.0b2/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
Obsoletes: kile-i18n-bg
Obsoletes: kile-i18n-br
Obsoletes: kile-i18n-ca
Obsoletes: kile-i18n-cs
Obsoletes: kile-i18n-cy
Obsoletes: kile-i18n-da
Obsoletes: kile-i18n-de
Obsoletes: kile-i18n-el
Obsoletes: kile-i18n-en_GB
Obsoletes: kile-i18n-es
Obsoletes: kile-i18n-et
Obsoletes: kile-i18n-eu
Obsoletes: kile-i18n-fi
Obsoletes: kile-i18n-fr
Obsoletes: kile-i18n-ga
Obsoletes: kile-i18n-gl
Obsoletes: kile-i18n-hi
Obsoletes: kile-i18n-hu
Obsoletes: kile-i18n-is
Obsoletes: kile-i18n-it
Obsoletes: kile-i18n-ja
Obsoletes: kile-i18n-lt
Obsoletes: kile-i18n-ms
Obsoletes: kile-i18n-mt
Obsoletes: kile-i18n-nb
Obsoletes: kile-i18n-nds
Obsoletes: kile-i18n-nl
Obsoletes: kile-i18n-nn
Obsoletes: kile-i18n-pa
Obsoletes: kile-i18n-pl
Obsoletes: kile-i18n-pt
Obsoletes: kile-i18n-pt_BR
Obsoletes: kile-i18n-ro
Obsoletes: kile-i18n-ru
Obsoletes: kile-i18n-rw
Obsoletes: kile-i18n-sk
Obsoletes: kile-i18n-sr
Obsoletes: kile-i18n-sr@Latn
Obsoletes: kile-i18n-sv
Obsoletes: kile-i18n-ta
Obsoletes: kile-i18n-th
Obsoletes: kile-i18n-tr
Obsoletes: kile-i18n-uk
Obsoletes: kile-i18n-zh_CN
Provides: kile4 = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: kile4
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 %{_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 %{_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
%{_kde5_icondir}/hicolor/scalable/apps/kile.svgz
%{_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 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