Author Topic: Kile Latex update - yet again  (Read 784 times)

Offline Chrisboo

  • Full Member
  • ***
  • Posts: 72
Kile Latex update - yet again
« on: July 14, 2011, 12:49:44 AM »
Hello,
I gave it a try before but tex was faster than me with 2.1 beta 5. Now 2.1 stable was released and I gave it another try. I also added a few things which I was told to while packaging beta5. Here is the srpm (http://dl.dropbox.com/u/6623917/kile-2.1-1pclos2011.src.rpm) and the spec file:

Code: [Select]
Name: kile
Summary: Integrated LaTeX Environment for KDE4
Version: 2.1
Release: %mkrel 1
Source0: http://sourceforge.net/projects/kile/files/stable/kile-%{version}/%{name}-%{version}.tar.xz
License: GPLv2+
Group:         Graphical desktop/KDE4
URL: http://kile.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: kdelibs4-devel
BuildRequires:  desktop-file-utils
BuildRequires:  docbook-style-xsl
Requires: texlive-latex
Requires: okular
Obsoletes:      kile-i18n-de
Obsoletes:      kile-i18n-es
Obsoletes:      kile-i18n-fr
Obsoletes:      kile-i18n-it
Obsoletes:      kile-i18n-nl
Obsoletes:      kile-i18n-pt
Obsoletes:      kile-i18n-en_GB
Obsoletes:      kile-i18n-da
Obsoletes:      kile-i18n-pt_BR
Obsoletes:      kile-i18n-sv
Obsoletes:      kile-i18n-ta
Obsoletes: %{name} < %version
Requires: glibc >= 2.12.1
Requires: libstdc++6 >= 4.5.2

%description
Kile is an integrated LaTeX Environment for KDE4.

%description -l de
Kile ist eine LaTeX-Umgebung für KDE4.

%description -l fr
Kile est un environnement intégré de LaTeX pour KDE4.

%description -l es
Kile es un entorno integrado de LaTeX para KDE4.

%description -l pl
Kile jest zintegrowany LaTeX Środowiska dla KDE4.

%description -l sr
КИЛЕ је интегрисана ЛаТеХ животну средину за КДЕ4.

%description -l nl
Kile is een geïntegreerde LaTeX Milieu voor KDE4.


%files
%defattr(-,root,root,0755)
%{_bindir}
%{_datadir}

#--------------------------------------------------------------------

%prep
%setup -q -n %{name}-%{version}

%build
%cmake_kde4
%make

%install
rm -fr %buildroot
%{makeinstall_std} -C build

# menu
desktop-file-install --vendor="" \
  --remove-key='Encoding' \
  --remove-category="Application" \
  --remove-category="Publishing" \
  --add-category="X-MandrivaLinux-Office-Publishing" \
  --dir %{buildroot}%{_kde_datadir}/applications/kde4 %{buildroot}%{_kde_datadir}/applications/kde4/*


%changelog
* Sat Jul 9 2011 Chrisboo <---removed---> 2.1-1pclos2011
- update to 2.1 stable
- added docbook-style-xsl to BuildRequires
- added bindir and datadir macros to the file section
- added okular as requirement.

* Fri Apr 29 2011 Texstar <texstar at gmail.com> 2.1.b5-1pclos2011
- 2.1 b5

* Mon Feb 21 2011 Texstar <texstar at gmail.com> 2.1-3pclos2011
- rebuild against kde 4.6.0

* Sun Aug 29 2010 Texstar <texstar at gmail.com> 2.1-2pclos2010
- rebuild for 4.5.1

* Thu Jan 28 2010 Texstar <texstar at gmail.com> 2.1-1pclos2010
- rebuild

* Mon Sep 06 2009 Texstar <texstar at gmail.com> 2.1-beta2-1pclos2009
- create

Edit: removed my mail address
« Last Edit: July 14, 2011, 12:51:18 AM by Chrisboo »