]>
Commit | Line | Data |
---|---|---|
8e58c33d | 1 | Summary: Unicode text editor |
2a341ab1 | 2 | Summary(pl.UTF-8): Edytor tekstu unicode |
3f8c0143 | 3 | Name: yudit |
3b84805f | 4 | Version: 2.9.2 |
8992f5d4 | 5 | Release: 1 |
b11584c2 | 6 | Epoch: 1 |
8992f5d4 | 7 | License: GPL v2 |
8992f5d4 MB |
8 | Group: X11/Applications/Editors |
9 | Source0: http://yudit.org/download/%{name}-%{version}.tar.bz2 | |
3b84805f | 10 | # Source0-md5: c50d2ccc28f42572865354dec71effe2 |
0bc5400b | 11 | Source1: %{name}.desktop |
00bc2d55 | 12 | Patch0: %{name}-use_locale_by_default.patch |
fd760a5d | 13 | URL: http://yudit.org/ |
0bc5400b | 14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
537a035c | 16 | BuildRequires: gettext-tools >= 0.10 |
c7a60923 | 17 | BuildRequires: libstdc++-devel |
bd7e924c | 18 | BuildRequires: xorg-lib-libX11-devel |
3f8c0143 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
00bc2d55 | 21 | %define _noautocompressdoc FAQ.TXT |
3f8c0143 | 22 | |
23 | %description | |
24 | Yudit is a unicode text editor for the X Window System. It does not | |
25 | need localized environment or unicode fonts. It supports simultanious | |
26 | processing of many languages, input methods, conversions for local | |
27 | character standards. This package includes X11 editor interface, shell | |
28 | conversion utilities and it also has support for postscript printing. | |
3f8c0143 | 29 | |
73252570 | 30 | %description -l pl.UTF-8 |
8e58c33d | 31 | Yudit jest edytorem tekstu w standardzie unicode dla systemu X Window. |
73252570 JR |
32 | Nie wymaga zloakalizowanego środowiska, ani fontów unicode. Wspiera |
33 | jednoczesne przetwarzanie wielu języków, sposobów wprowadzania tekstu, | |
34 | konwersji z lokalnych standardów kodowania. Pakiet tan zawiera | |
35 | interferjs edytora dla X11, narzędzia do konwersji, a także wspiera | |
3f8c0143 | 36 | drukowanie PostScript. |
3f8c0143 | 37 | |
38 | %prep | |
8992f5d4 | 39 | %setup -q |
6ba10bc1 | 40 | %patch0 -p1 |
3f8c0143 | 41 | |
42 | %build | |
970c6af4 | 43 | %{__aclocal} |
419aae31 | 44 | %{__autoconf} |
b11584c2 | 45 | %configure |
5f528f6a | 46 | |
aa9d8510 | 47 | %{__make} -j1 |
b11584c2 | 48 | |
3f8c0143 | 49 | %install |
50 | rm -rf $RPM_BUILD_ROOT | |
94b38c7b | 51 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
3f8c0143 | 52 | |
3f8c0143 | 53 | %{__make} install \ |
54 | DESTDIR=$RPM_BUILD_ROOT | |
0bc5400b | 55 | |
3f8c0143 | 56 | install gnome-yudit.png $RPM_BUILD_ROOT%{_pixmapsdir}/yudit.png |
94b38c7b | 57 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
00bc2d55 | 58 | ln -sf ../../doc $RPM_BUILD_ROOT%{_datadir}/yudit/doc |
3f8c0143 | 59 | |
3896d254 | 60 | rm -rf doc/??/FAQ.TXT.in |
71a7f24b | 61 | |
3f8c0143 | 62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %files | |
66 | %defattr(644,root,root,755) | |
8992f5d4 | 67 | %doc CHANGELOG.TXT FAQ.TXT NEWS.TXT README.TXT TODO.TXT *BUGS.TXT |
5f528f6a | 68 | %doc doc/*.utf8 doc/problems doc/HOWTO-*.txt |
e301ee60 | 69 | %lang(bg) %doc doc/bg |
5f528f6a | 70 | %lang(cs) %doc doc/cs |
3f64bcc5 | 71 | %lang(de) %doc doc/de |
72 | %lang(es) %doc doc/es | |
73 | %lang(fi) %doc doc/fi | |
74 | %lang(hu) %doc doc/hu | |
8992f5d4 | 75 | %lang(it) %doc doc/it |
3f64bcc5 | 76 | %lang(ja) %doc doc/ja |
5f528f6a JB |
77 | %lang(ko) %doc doc/ko |
78 | %lang(ru) %doc doc/ru | |
79 | %lang(sr) %doc doc/sr | |
8992f5d4 | 80 | %lang(te) %doc doc/te |
5f528f6a | 81 | %lang(vi) %doc doc/vi |
3f64bcc5 | 82 | %lang(yi) %doc doc/yi |
00bc2d55 | 83 | %lang(zh_HK,zh_TW) %doc doc/zh |
3f64bcc5 | 84 | |
b11584c2 AM |
85 | %attr(755,root,root) %{_bindir}/* |
86 | %{_mandir}/man?/* | |
3f8c0143 | 87 | |
88 | %dir %{_datadir}/yudit | |
89 | %{_datadir}/yudit/data | |
00bc2d55 | 90 | %{_datadir}/yudit/doc |
3f8c0143 | 91 | %{_datadir}/yudit/fonts |
4f2aca54 | 92 | %{_datadir}/yudit/src |
94b38c7b | 93 | %{_desktopdir}/yudit.desktop |
3f8c0143 | 94 | %{_pixmapsdir}/yudit.png |
95 | %dir %{_datadir}/yudit/locale | |
9c8a6b19 | 96 | %{_datadir}/yudit/locale/en |
3896d254 | 97 | %lang(am) %{_datadir}/yudit/locale/am |
98 | %lang(ar) %{_datadir}/yudit/locale/ar | |
99 | %lang(az) %{_datadir}/yudit/locale/az | |
3f8c0143 | 100 | %lang(bg) %{_datadir}/yudit/locale/bg |
3896d254 | 101 | %lang(bn) %{_datadir}/yudit/locale/bn |
5f528f6a | 102 | %lang(cs) %{_datadir}/yudit/locale/cs |
3f8c0143 | 103 | %lang(de) %{_datadir}/yudit/locale/de |
5f528f6a | 104 | %lang(el) %{_datadir}/yudit/locale/el |
3f8c0143 | 105 | %lang(es) %{_datadir}/yudit/locale/es |
b11584c2 | 106 | %lang(fi) %{_datadir}/yudit/locale/fi |
3f8c0143 | 107 | %lang(fr) %{_datadir}/yudit/locale/fr |
8992f5d4 MB |
108 | %lang(ga) %{_datadir}/yudit/locale/ga |
109 | %lang(gu) %{_datadir}/yudit/locale/gu | |
e301ee60 | 110 | %lang(hi) %{_datadir}/yudit/locale/hi |
3f8c0143 | 111 | %lang(hu) %{_datadir}/yudit/locale/hu |
112 | %lang(ja) %{_datadir}/yudit/locale/ja | |
8992f5d4 | 113 | %lang(ko) %{_datadir}/yudit/locale/ko |
5f528f6a | 114 | %lang(mn) %{_datadir}/yudit/locale/mn |
8992f5d4 MB |
115 | %lang(mr) %{_datadir}/yudit/locale/mr |
116 | %lang(pa) %{_datadir}/yudit/locale/pa | |
5f528f6a JB |
117 | %lang(pl) %{_datadir}/yudit/locale/pl |
118 | %lang(ru) %{_datadir}/yudit/locale/ru | |
3f8c0143 | 119 | %lang(sl) %{_datadir}/yudit/locale/sl |
120 | %lang(sr) %{_datadir}/yudit/locale/sr | |
e301ee60 | 121 | %lang(ta) %{_datadir}/yudit/locale/ta |
3896d254 | 122 | %lang(uk) %{_datadir}/yudit/locale/uk |
8992f5d4 | 123 | %lang(ur) %{_datadir}/yudit/locale/ur |
3896d254 | 124 | %lang(vi) %{_datadir}/yudit/locale/vi |
3f8c0143 | 125 | %lang(yi) %{_datadir}/yudit/locale/yi |
aa9d8510 | 126 | %lang(zh_CN) %{_datadir}/yudit/locale/zh_CN |
00bc2d55 | 127 | %lang(zh_HK,zh_TW) %{_datadir}/yudit/locale/zh |
3f8c0143 | 128 | %dir %{_datadir}/yudit/config |
129 | %config %{_datadir}/yudit/config/* | |
aa9d8510 | 130 | %dir %{_datadir}/yudit/syntax |
131 | %{_datadir}/yudit/syntax/README.TXT |