]> git.pld-linux.org Git - packages/poedit.git/blob - poedit.spec
- start update to 1.2.2 (waiting for fixed wxWindows)
[packages/poedit.git] / poedit.spec
1 # TODO:
2 # - install GNOME and KDE releated files (MIME files)
3 Summary:        Gettext catalogs editor
4 Summary(pl):    Edytor katalogów gettexta
5 Name:           poedit
6 Version:        1.2.2
7 Release:        0.5
8 License:        BSD
9 Group:          Applications/Editors
10 Source0:        http://dl.sf.net/%{name}/%{name}-%{version}.tar.bz2
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-system_libs.patch
14 URL:            http://poedit.sourceforge.net/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gtk+2-devel
18 BuildRequires:  wxGTK2-unicode-devel >= 2.4.0-0.8
19 Requires:       gettext
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22
23 %description
24 poEdit is cross-platform gettext catalogs (.po files) editor. It is
25 built with wxWindows toolkit and can run on Unix or Windows. It aims
26 to provide convenient way of editing gettext catalogs. It features
27 UTF-8 support, fuzzy and untranslated records highlighting,
28 whitespaces highlighting, references browser, headers editing and can
29 be used to create new catalogs or update existing catalogs from source
30 code by single click.
31
32 %description -l pl
33 poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
34 .po). U¿ywa toolkitu wxWindows, wiêc mo¿e dzia³aæ pod uniksem oraz pod
35 Windows. Mo¿liwo¶ci programu to: obs³uga UTF-8, pod¶wietlanie rekordów
36 nie przet³umaczonych i "fuzzy", pod¶wietlanie odstêpów, przegl±darka
37 odwo³añ, edycja nag³ówków, tworzenie nowych katalogów oraz
38 uaktualnianie istniej±cych z plików ¼ród³owych przez jedno klikniêcie.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__autoconf}
45 %configure \
46         --disable-transmem \
47         --with-wx-config=wxgtk2u-2.4-config
48 %{__make} EXTRADIR="" gizmoslib="-lwx_gtk2u_gizmos-2.4" xrclib="-lwx_gtk2u_xrc-2.4" expatlib="-lexpat" 
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 #%doc NEWS LICENSE README AUTHORS docs/*.html docs/img
68 %attr(755,root,root) %{_bindir}/poedit
69 %{_datadir}/poedit
70 %{_desktopdir}/*
71 %{_pixmapsdir}/*
72 %{_mandir}/man1/*
This page took 0.055636 seconds and 3 git commands to generate.