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