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