summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbator <albator@arcadia.vtf>2011-11-25 12:29:01 +0100
committeralbator <albator@arcadia.vtf>2011-11-25 12:29:01 +0100
commit8328abd416a8c182539f0ec3c90a6855eb2b7953 (patch)
tree2bc2476b34ac35a8225dddb12a61eb54bcc8547a
parent16fb38d815435b34830feeb60e8bf76b2347bbf5 (diff)
downloadtde-packaging-8328abd416a8c182539f0ec3c90a6855eb2b7953.tar.gz
tde-packaging-8328abd416a8c182539f0ec3c90a6855eb2b7953.zip
RHEL/Fedora: add 'kile'
-rw-r--r--redhat/applications/kile/kile.xpm176
-rw-r--r--redhat/applications/kile/trinity-kile.spec625
-rw-r--r--redhat/components.txt1
3 files changed, 802 insertions, 0 deletions
diff --git a/redhat/applications/kile/kile.xpm b/redhat/applications/kile/kile.xpm
new file mode 100644
index 000000000..408d2710b
--- /dev/null
+++ b/redhat/applications/kile/kile.xpm
@@ -0,0 +1,176 @@
+/* XPM */
+static char *kile[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 138 2",
+" c black",
+". c #015FBC",
+"X c #1067BE",
+"o c #005DC0",
+"O c #0063C3",
+"+ c #006BC9",
+"@ c #0A6EC9",
+"# c #0071CC",
+"$ c #0E76CE",
+"% c #0076D0",
+"& c #007BD2",
+"* c #0978D0",
+"= c #1467C0",
+"- c #1468C1",
+"; c #136FC9",
+": c #1A6AC1",
+"> c #1372CA",
+", c #1C7BCE",
+"< c #1B7DD0",
+"1 c #267ACD",
+"2 c #2878C6",
+"3 c #2C7ECE",
+"4 c #207ED0",
+"5 c #3D7BC1",
+"6 c #3F83BB",
+"7 c #0080D6",
+"8 c #0086DA",
+"9 c #008ADC",
+"0 c #0A85D8",
+"q c #0C8BDB",
+"w c #1A81D2",
+"e c #2F81D0",
+"r c #2B89D4",
+"t c #2A98D9",
+"y c #3D80C2",
+"u c #3D8ACB",
+"i c #328BD5",
+"p c #3985D0",
+"a c #3A89D3",
+"s c #3D90CF",
+"d c #3296DC",
+"f c #3D92D0",
+"g c #399CDF",
+"h c #399EE0",
+"j c #20A0E4",
+"k c #4981C2",
+"l c #468DD3",
+"z c #4C8DD2",
+"x c #4891D6",
+"c c #518EC8",
+"v c #5C8EC5",
+"b c #5B9ECF",
+"n c #5493D5",
+"m c #519CD1",
+"M c #549ADA",
+"N c #5D98D7",
+"B c #5F9AD8",
+"V c #4FA2DF",
+"C c #53A0DD",
+"Z c #5BA4D2",
+"A c #5BA3DE",
+"S c #40A7E4",
+"D c #4DA4E1",
+"F c #53A9E3",
+"G c #629CD9",
+"H c #7999C3",
+"J c #6DA2DB",
+"K c #79A8CD",
+"L c #71A5DC",
+"P c #73A8DD",
+"I c #7AABDE",
+"U c #6DADE2",
+"Y c #63B2E6",
+"T c #77AEE1",
+"R c #75B4E5",
+"E c #7EB3E3",
+"W c #79BAE8",
+"Q c #829DC4",
+"! c #82A2C7",
+"~ c #82A7CA",
+"^ c #89B6D8",
+"/ c #88BCDF",
+"( c #92A6C5",
+") c #92AECA",
+"_ c #91B3CF",
+"` c #96B6D0",
+"' c #9BBCD5",
+"] c #84B2E1",
+"[ c #8EB7E3",
+"{ c #8EBBE5",
+"} c #92BAE5",
+"| c #98BEE6",
+" . c #A1BED5",
+".. c #B6B6C5",
+"X. c #87C9EF",
+"o. c #95C2E9",
+"O. c #9CC0E7",
+"+. c #9AC5EA",
+"@. c #ADC2D6",
+"#. c #BEC1CF",
+"$. c #B2C2D4",
+"%. c #B6C4DA",
+"&. c #BDC8D7",
+"*. c #A4C5E9",
+"=. c #A1C8E3",
+"-. c #ABCBEB",
+";. c #AAD0EF",
+":. c #AAD3F0",
+">. c #B1CDEC",
+",. c #B5D0ED",
+"<. c #BDD5ED",
+"1. c #B7D6F1",
+"2. c #B4D8F2",
+"3. c #BBD7F0",
+"4. c #BFE6F9",
+"5. c #C0C9D7",
+"6. c #C1CCDD",
+"7. c #C0D6EF",
+"8. c #C6DBEC",
+"9. c #C8D2E0",
+"0. c #C0D7F0",
+"q. c #C3DAF0",
+"w. c #C9DDF2",
+"e. c #D1DEEC",
+"r. c #C6E8FA",
+"t. c #CDE0F3",
+"y. c #D2E3F4",
+"u. c #D4EBF9",
+"i. c #DBE8F6",
+"p. c #DBEDF9",
+"a. c #E1ECF7",
+"s. c #E5EEF8",
+"d. c #E6F1F9",
+"f. c #E9F3FB",
+"g. c #F1F6FB",
+"h. c #F6F9FD",
+"j. c #FEFEFE",
+"k. c None",
+/* pixels */
+"k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.k.k... .%.&.&.&.&.@.' ....k.k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.....9.r.p.f.f.f.f.u.4.<.$...k.k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k...#.e.s.s.s.s.s.s.f.d.s.s.d.s.8.%.....k.k.k.k.k.k.",
+"k.k.k.k.k.k...6.e.i.i.i.i.i.i.i.i.i.i.i.i.i.p.y.=.` k.k.k.k.k.k.",
+"k.k.k.k.k...6.t.y.w.w.y.y.w.w.y.t.t.t.y.t.w.y.w.w.X._ ..k.k.k.k.",
+"k.k.k.k...%.7.7.q.8.0.8.7.w.w.0.7.w.q.7.8.q.7.8.8.3./ ..k.k.k.k.",
+"k.k.k...^ 1.y.t.t.<.>.,.>.7.w.y.i.y.y.0.>.>.>.1.>.1.+.j ..k.k.k.",
+"k.k.k...Y s.j.j.j.w.-.-.-.-.g.j.j.j.s.>.>.-.>.-.-.-.*.S Z ..k.k.",
+"k.k._ t R i.j.j.j.7.*.| *.i.j.j.j.g.>.*.O.O.| | | O.| F t ) k.k.",
+"k.k.K q U i.j.j.j.>.} } 7.h.j.j.h.0.| } } } } } } } } D 9 K k.k.",
+"k...m 9 C y.j.j.j.-.^ O.h.j.j.h.>.] ] ] ^ ] ] } -.=.o.W 9 9 ..k.",
+"k...8 8 d t.j.j.j.*.[ s.j.j.h.q.] ] ] ] I I ] w.j.a.O.f.q 8 N ..",
+"..~ 7 7 0 2.j.j.j.*.y.j.j.j.>.^ ] I I G J J | f.-.y.C r.h 7 s ..",
+"..f 7 7 7 :.j.j.j.i.j.j.j.i.I P L L G G G G | s.] 8.d u.h 7 s ..",
+"..f & & & :.j.j.j.j.j.j.j.s.J G G N N n n n L s.y.i.y.p.& & f ..",
+"..u & & & :.j.j.j.j.j.j.j.j.<.G n n n n l z l U i.j.y.D & & u ..",
+"..u % % % -.j.j.j.q.o.h.j.j.h.*.z z l p e < * % % % % % % % u ..",
+"..u # % # :.j.j.j.F w 1.j.j.j.g.M 1 , $ r +.:.:.:.:.-.:.# % u ..",
+"k...# # # -.j.j.j.C # < p.j.j.j.y.i # # r ,.t.q.q.t.q.t.# # u ..",
+"k.k.c + # -.j.j.j.M + + B d.j.j.j.;.+ + # < < < w < < < + + ! ..",
+"k.k.H + + -.j.j.j.M + + @ T j.j.j.j.] @ , E a E { { { { + H k.k.",
+"k.k.( 2 O -.j.j.j.M + O + @ 7.j.j.j.s.x a s.P s.j.h.j.j.+ H k.k.",
+"k.k...v O 1 a p p ; O O O + ; a a a a 3 O O O O O O O O 5 6 k.k.",
+"k.k.k...O O o . O o o O o o O + O + O O O o O O O O O o ....k.k.",
+"k.k.k.k...5 . o o . o o o O O + O O o o . o o o . o - Q k.k.k.k.",
+"k.k.k.k...Q o o o o o o o o o o o o o o o o o o . o Q ..k.k.k.k.",
+"k.k.k.k.k.k.Q 5 o o o o o o o o o o o o o o o o 5 Q k.k.k.k.k.k.",
+"k.k.k.k.k.k.....= o o o o o o o o o o o o o o . ....k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.....Q 5 o o o o o o o o - : ....k.k.k.k.k.k.k.k.",
+"k.k.k.k.k.k.k.k.k.k.....k H H H H H H k 5 ..k.k.k.k.k.k.k.k.k.k."
+};
diff --git a/redhat/applications/kile/trinity-kile.spec b/redhat/applications/kile/trinity-kile.spec
new file mode 100644
index 000000000..b79b45c11
--- /dev/null
+++ b/redhat/applications/kile/trinity-kile.spec
@@ -0,0 +1,625 @@
+# Default version for this component
+%define kdecomp kile
+%define version 2.0.2
+%define release 1
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?_prefix}" != "/usr"
+%define _variant .opt
+%define _docdir %{_prefix}/share/doc
+%endif
+
+# TDE 3.5.13 specific building variables
+BuildRequires: autoconf automake libtool m4
+%define tde_docdir %{_docdir}/kde
+%define tde_includedir %{_includedir}/kde
+%define tde_libdir %{_libdir}/trinity
+
+
+Name: trinity-%{kdecomp}
+Summary: KDE Integrated LaTeX Environment [Trinity]
+Version: %{?version}
+Release: %{?release}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Publishing
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{kdecomp}-3.5.13.tar.gz
+Source1: %{kdecomp}.xpm
+
+BuildRequires: tqtinterface-devel
+BuildRequires: trinity-kdelibs-devel
+BuildRequires: trinity-kdebase-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+%package i18n-ar
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Arabic (ar) translations for Kile [Trinity]
+%description i18n-ar
+This package contains the Arabic translations for Kile.
+
+%package i18n-bg
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Bulgarian (bg) translations for Kile [Trinity]
+%description i18n-bg
+This package contains the Bulgarian translations for Kile.
+
+%package i18n-br
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Brazilian (br) translations for Kile [Trinity]
+%description i18n-br
+This package contains the Brazilian translations for Kile.
+
+%package i18n-ca
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Catalan (ca) translations for Kile [Trinity]
+%description i18n-ca
+This package contains the Catalan translations for Kile.
+
+%package i18n-cs
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Czech (cs) translations for Kile [Trinity]
+%description i18n-cs
+This package contains the Czech translations for Kile.
+
+%package i18n-cy
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Welsh (cy) translations for Kile [Trinity]
+%description i18n-cy
+This package contains the Welsh translations for Kile.
+
+%package i18n-da
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Danish (da) translations for Kile [Trinity]
+%description i18n-da
+This package contains the Danish translations for Kile.
+
+%package i18n-de
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: German (de) translations for Kile [Trinity]
+%description i18n-de
+This package contains the German translations for Kile.
+
+%package i18n-el
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Greek (el) translations for Kile [Trinity]
+%description i18n-el
+This package contains the greek translations for Kile.
+
+%package i18n-engb
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: British English (en_GB) translations for Kile [Trinity]
+%description i18n-engb
+This package contains the British English (en_GB) translations for Kile [Trinity].
+
+%package i18n-es
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Spanish (es) translations for Kile [Trinity]
+%description i18n-es
+This package contains the Spanish translations for Kile.
+
+%package i18n-et
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Estonian (et) translations for Kile [Trinity]
+%description i18n-et
+This package contains the Estonian translations for Kile.
+
+%package i18n-eu
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Basque (eu) translations for Kile [Trinity]
+%description i18n-eu
+This package contains the Basque translations for Kile.
+
+%package i18n-fi
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Finnish (fi) translations for Kile [Trinity]
+%description i18n-fi
+This package contains the Finnish translations for Kile.
+
+%package i18n-fr
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: French (fr) translations for Kile [Trinity]
+%description i18n-fr
+This package contains the French translations for Kile.
+
+%package i18n-ga
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Irish Gaelic (ga) translations for Kile [Trinity]
+%description i18n-ga
+This package contains the Irish Gaelic translations for Kile.
+
+%package i18n-gl
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Galician (gl) translations for Kile [Trinity]
+%description i18n-gl
+This package contains the Galician translations for Kile.
+
+%package i18n-hi
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Hindi (hi) translations for Kile [Trinity]
+%description i18n-hi
+This package contains the Hindi translations for Kile.
+
+%package i18n-hu
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Hungarian (hu) translations for Kile [Trinity]
+%description i18n-hu
+This package contains the Hungarian translations for Kile.
+
+%package i18n-is
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Icelandic (is) translations for Kile [Trinity]
+%description i18n-is
+This package contains the Icelandic translations for Kile.
+
+%package i18n-it
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Italian (it) translations for Kile [Trinity]
+%description i18n-it
+This package contains the Italian translations for Kile.
+
+%package i18n-ja
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Japanese (ja) translations for Kile [Trinity]
+%description i18n-ja
+This package contains the Japanese translations for Kile.
+
+%package i18n-lt
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Lithuanian (lt) translations for Kile [Trinity]
+%description i18n-lt
+This package contains the Lithuanian translations for Kile.
+
+%package i18n-ms
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Malay (ms) translations for Kile [Trinity]
+%description i18n-ms
+This package contains the Malay translations for Kile.
+
+%package i18n-mt
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Maltese (mt) translations for Kile [Trinity]
+%description i18n-mt
+This package contains the Maltese translations for Kile.
+
+%package i18n-nb
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Norwegian Bookmal (nb) translations for Kile [Trinity]
+%description i18n-nb
+This package contains the Norwegian Bookmal translations for Kile.
+
+%package i18n-nds
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Low Saxon (nds) translations for Kile [Trinity]
+%description i18n-nds
+This package contains the Low Saxon translations for Kile.
+
+%package i18n-nl
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Dutch (nl) translations for Kile [Trinity]
+%description i18n-nl
+This package contains the Dutch translations for Kile.
+
+%package i18n-nn
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Norwegian Nynorsk (nn) translations for Kile [Trinity]
+%description i18n-nn
+This package contains the Norwegian Nynorsk translations for Kile.
+
+%package i18n-pa
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Punjabi (pa) translations for Kile [Trinity]
+%description i18n-pa
+This package contains the Punjabi translations for Kile.
+
+%package i18n-pl
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Polish (pl) translations for Kile [Trinity]
+%description i18n-pl
+This package contains the Polish translations for Kile.
+
+%package i18n-pt
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Portuguese (pt) translations for Kile [Trinity]
+%description i18n-pt
+This package contains the Portuguese translations for Kile.
+
+%package i18n-ptbr
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Brazilian Portuguese (pt_BR) translations for Kile [Trinity]
+%description i18n-ptbr
+This package contains the Brazilian Portuguese translations for Kile.
+
+%package i18n-ro
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Romanian (ro) translations for Kile [Trinity]
+%description i18n-ro
+This package contains the Romanian translations for Kile.
+
+%package i18n-ru
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Russian (ru) translations for Kile [Trinity]
+%description i18n-ru
+This package contains the Russian translations for Kile.
+
+%package i18n-rw
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Kinyarwanda (rw) translations for Kile [Trinity]
+%description i18n-rw
+This package contains the Kinyarwanda translations for Kile.
+
+%package i18n-sk
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Slovak (sk) translations for Kile [Trinity]
+%description i18n-sk
+This package contains the Slovak translations for Kile.
+
+%package i18n-sr
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Serbian (sr) translations for Kile [Trinity]
+%description i18n-sr
+This package contains the Serbian translations for Kile.
+
+%package i18n-srlatin
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Latin Serbian (sr@Latn) translations for Kile [Trinity]
+%description i18n-srlatin
+This package contains the Latin Serbian translations for Kile.
+
+%package i18n-sv
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Swedish (sv) translations for Kile [Trinity]
+%description i18n-sv
+This package contains the Swedish translations for Kile.
+
+%package i18n-ta
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Tamil (ta) translations for Kile [Trinity]
+%description i18n-ta
+This package contains the Tamil translations for Kile.
+
+%package i18n-th
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Thai (th) translations for Kile [Trinity]
+%description i18n-th
+This package contains the Thai translations for Kile.
+
+%package i18n-tr
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Turkish (tr) translations for Kile [Trinity]
+%description i18n-tr
+This package contains the Turkish translations for Kile.
+
+%package i18n-uk
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Ukrainian (uk) translations for Kile [Trinity]
+%description i18n-uk
+This package contains the Ukrainian translations for Kile.
+
+%package i18n-zhcn
+Group: Applications/Publishing
+Requires: %{name} >= %{version}
+Provides: trinity-kile-i18n
+Summary: Chinese Simplified (zh_CN) translations for Kile [Trinity]
+%description i18n-zhcn
+This package contains the Chinese Simplified translations for Kile.
+
+
+%description
+Kile is a user-friendly LaTeX source editor and TeX shell for KDE.
+
+The source editor is a multi-document editor designed for .tex and .bib
+files. Menus, wizards and auto-completion are provided to assist with
+tag insertion and code generation. A structural view of the document
+assists with navigation within source files.
+
+The TeX shell integrates the various tools required for TeX processing.
+It assists with LaTeX compilation, DVI and postscript document viewing,
+generation of bibliographies and indices and other common tasks.
+
+Kile can support large projects consisting of several smaller files.
+
+%prep
+%setup -q -n applications/%{kdecomp}
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+sed -i admin/acinclude.m4.in \
+ -e "s,/usr/include/tqt,%{_includedir}/tqt,g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+export PATH="%{_bindir}:${PATH}"
+export LDFLAGS="-L%{_libdir} -I%{_includedir}"
+
+%configure \
+ --disable-rpath \
+ --with-extra-includes=%{_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__install -D -p -m0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/kile.xpm
+%__chmod +x %{buildroot}%{_datadir}/apps/kile/test/runTests.sh
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/kile
+%{_datadir}/applications/kde/kile.desktop
+%{_datadir}/apps/katepart/syntax/bibtex.xml
+%{_datadir}/apps/katepart/syntax/latex.xml
+%{_datadir}/apps/kconf_update
+%{_datadir}/apps/kile
+%{_datadir}/config.kcfg/kile.kcfg
+%{_datadir}/icons/hicolor/*/apps/kile.png
+%{_datadir}/icons/hicolor/scalable/apps/kile.svgz
+%{_docdir}/HTML/en/kile
+%{_datadir}/mimelnk/text/x-kilepr.desktop
+%{_datadir}/pixmaps/kile.xpm
+
+%files i18n-da
+%lang(da) %{_docdir}/HTML/da/kile
+%lang(da) %{_datadir}/locale/da/LC_MESSAGES/kile.mo
+
+%files i18n-es
+%lang(es) %{_docdir}/HTML/es/kile
+%lang(es) %{_datadir}/locale/es/LC_MESSAGES/kile.mo
+
+%files i18n-et
+%lang(et) %{_docdir}/HTML/et/kile
+%lang(et) %{_datadir}/locale/et/LC_MESSAGES/kile.mo
+
+%files i18n-it
+%lang(it) %{_docdir}/HTML/it/kile
+%lang(it) %{_datadir}/locale/it/LC_MESSAGES/kile.mo
+
+%files i18n-nl
+%lang(nl) %{_docdir}/HTML/nl/kile
+%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/kile.mo
+
+%files i18n-pt
+%lang(pt) %{_docdir}/HTML/pt/kile
+%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/kile.mo
+
+%files i18n-sv
+%lang(sv) %{_docdir}/HTML/sv/kile
+%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/kile.mo
+
+%files i18n-ar
+%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/kile.mo
+
+%files i18n-bg
+%lang(bg) %{_datadir}/locale/bg/LC_MESSAGES/kile.mo
+
+%files i18n-br
+%lang(br) %{_datadir}/locale/br/LC_MESSAGES/kile.mo
+
+%files i18n-ca
+%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/kile.mo
+
+%files i18n-cs
+%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/kile.mo
+
+%files i18n-cy
+%lang(cy) %{_datadir}/locale/cy/LC_MESSAGES/kile.mo
+
+%files i18n-de
+%lang(de) %{_datadir}/locale/de/LC_MESSAGES/kile.mo
+
+%files i18n-el
+%lang(el) %{_datadir}/locale/el/LC_MESSAGES/kile.mo
+
+%files i18n-engb
+%lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/kile.mo
+
+%files i18n-eu
+%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/kile.mo
+
+%files i18n-fi
+%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/kile.mo
+
+%files i18n-fr
+%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/kile.mo
+
+%files i18n-ga
+%lang(ga) %{_datadir}/locale/ga/LC_MESSAGES/kile.mo
+
+%files i18n-gl
+%lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/kile.mo
+
+%files i18n-hi
+%lang(hi) %{_datadir}/locale/hi/LC_MESSAGES/kile.mo
+
+%files i18n-hu
+%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/kile.mo
+
+%files i18n-is
+%lang(is) %{_datadir}/locale/is/LC_MESSAGES/kile.mo
+
+%files i18n-ja
+%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/kile.mo
+
+%files i18n-lt
+%lang(lt) %{_datadir}/locale/lt/LC_MESSAGES/kile.mo
+
+%files i18n-ms
+%lang(ms) %{_datadir}/locale/ms/LC_MESSAGES/kile.mo
+
+%files i18n-mt
+%lang(mt) %{_datadir}/locale/mt/LC_MESSAGES/kile.mo
+
+%files i18n-nb
+%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/kile.mo
+
+%files i18n-nds
+%lang(nds) %{_datadir}/locale/nds/LC_MESSAGES/kile.mo
+
+%files i18n-nn
+%lang(nn) %{_datadir}/locale/nn/LC_MESSAGES/kile.mo
+
+%files i18n-pa
+%lang(pa) %{_datadir}/locale/pa/LC_MESSAGES/kile.mo
+
+%files i18n-pl
+%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/kile.mo
+
+%files i18n-ptbr
+%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/kile.mo
+
+%files i18n-ro
+%lang(ro) %{_datadir}/locale/ro/LC_MESSAGES/kile.mo
+
+%files i18n-ru
+%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/kile.mo
+
+%files i18n-rw
+%lang(rw) %{_datadir}/locale/rw/LC_MESSAGES/kile.mo
+
+%files i18n-sk
+%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/kile.mo
+
+%files i18n-sr
+%lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/kile.mo
+
+%files i18n-srlatin
+%lang(sr@Latn) %{_datadir}/locale/sr@Latn/LC_MESSAGES/kile.mo
+
+%files i18n-ta
+%lang(ta) %{_datadir}/locale/ta/LC_MESSAGES/kile.mo
+
+%files i18n-th
+%lang(th) %{_datadir}/locale/th/LC_MESSAGES/kile.mo
+
+%files i18n-tr
+%lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/kile.mo
+
+%files i18n-uk
+%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/kile.mo
+
+%files i18n-zhcn
+%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/kile.mo
+
+
+
+
+%Changelog
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/components.txt b/redhat/components.txt
index 1a8ac75ca..2da055a56 100644
--- a/redhat/components.txt
+++ b/redhat/components.txt
@@ -76,3 +76,4 @@ applications/ktechlab
applications/piklab
applications/keep
applications/tellico
+applications/kile