207 lines
6.8 KiB
RPMSpec
207 lines
6.8 KiB
RPMSpec
|
Name: kile
|
||
|
Version: 2.1.2
|
||
|
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: http://sourceforge.net/projects/kile/files/stable/kile-%{version}/kile-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: kdelibs4-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libqt4-devel
|
||
|
BuildRequires: libsoprano-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: tetex-latex
|
||
|
## AUTOBUILDREQ-END
|
||
|
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
|
||
|
Requires: tetex-latex
|
||
|
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_kde4 -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
rm -fr %{buildroot}%{_kde4_sharedir}/doc/kile
|
||
|
|
||
|
%find_lang %{name}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||
|
|
||
|
%post
|
||
|
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||
|
exit 0
|
||
|
|
||
|
%posttrans
|
||
|
update-desktop-database -q &>/dev/null
|
||
|
update-mime-database %{_kde4_mimedir} &>/dev/null
|
||
|
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||
|
exit 0
|
||
|
|
||
|
%postun
|
||
|
if [ $1 -eq 0 ]; then
|
||
|
update-desktop-database -q &>/dev/null
|
||
|
update-mime-database %{_kde4_mimedir} &>/dev/null
|
||
|
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
||
|
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
||
|
fi
|
||
|
exit 0
|
||
|
|
||
|
%files -f %{name}.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_kde4_bindir}/kile
|
||
|
%{_kde4_datadir}/kile
|
||
|
%{_kde4_icondir}/hicolor/*/apps/kile.png
|
||
|
%{_kde4_icondir}/hicolor/scalable/apps/kile.svgz
|
||
|
%{_kde4_kcfgdir}/kile.kcfg
|
||
|
%{_kde4_kconfupdatedir}/kile.upd
|
||
|
%{_kde4_kconfupdatedir}/kile*upd.pl
|
||
|
%{_kde4_xdgmimedir}/kile.xml
|
||
|
%{_kde4_xdgappsdir}/kile.desktop
|
||
|
%lang(de) %dir %{_kde4_htmldir}/de/kile
|
||
|
%lang(de) %{_kde4_htmldir}/de/kile/*
|
||
|
%lang(es) %dir %{_kde4_htmldir}/es/kile
|
||
|
%lang(es) %{_kde4_htmldir}/es/kile/*
|
||
|
%lang(fr) %dir %{_kde4_htmldir}/fr/kile
|
||
|
%lang(fr) %{_kde4_htmldir}/fr/kile/*
|
||
|
%lang(it) %dir %{_kde4_htmldir}/it/kile
|
||
|
%lang(it) %{_kde4_htmldir}/it/kile/*
|
||
|
%lang(nl) %dir %{_kde4_htmldir}/nl/kile
|
||
|
%lang(nl) %{_kde4_htmldir}/nl/kile/*
|
||
|
#%lang(pt) %dir %{_kde4_htmldir}/pt/kile
|
||
|
#%lang(pt) %{_kde4_htmldir}/pt/kile/*
|
||
|
%lang(pt_BR) %dir %{_kde4_htmldir}/pt_BR/kile
|
||
|
%lang(pt_BR) %{_kde4_htmldir}/pt_BR/kile/*
|
||
|
%lang(sv) %dir %{_kde4_htmldir}/sv/kile
|
||
|
%lang(sv) %{_kde4_htmldir}/sv/kile/*
|
||
|
%lang(uk) %dir %{_kde4_htmldir}/uk/kile
|
||
|
%lang(uk) %{_kde4_htmldir}/uk/kile/*
|
||
|
%{_datadir}/dbus-1/interfaces/net.sourceforge.kile.main.xml
|
||
|
%doc %lang(en) %{_kde4_htmldir}/en/kile
|
||
|
%doc AUTHORS ChangeLog kile-remote-control.txt README*
|
||
|
|
||
|
%changelog
|
||
|
* Sat Jul 21 2012 Davide Madrisan <davide.madrisan@gmail.com> 2.1.2-1mamba
|
||
|
- update to 2.1.2
|
||
|
|
||
|
* Sun Jan 15 2012 Davide Madrisan <davide.madrisan@gmail.com> 2.1-2mamba
|
||
|
- rebuilt to remove the setgid access right from all the directories
|
||
|
|
||
|
* Wed Oct 19 2011 Automatic Build System <autodist@mambasoft.it> 2.1-1mamba
|
||
|
- update to 2.1
|
||
|
|
||
|
* 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
|
||
|
|