]> git.pld-linux.org Git - packages/poedit.git/blame - poedit.spec
- looks like there is no mime files
[packages/poedit.git] / poedit.spec
CommitLineData
1ed336e1
AF
1# TODO:
2# - install GNOME and KDE releated files (MIME files)
44f004ee 3Summary: Gettext catalogs editor
6a574a25 4Summary(pl.UTF-8): Edytor katalogów gettexta
44f004ee 5Name: poedit
5b23f424
SS
6Version: 1.3.6
7Release: 0.1
581edbe9 8License: BSD
44f004ee 9Group: Applications/Editors
b33233e4 10Source0: http://dl.sourceforge.net/poedit/%{name}-%{version}.tar.gz
5b23f424 11# Source0-md5: 01bab36f3065daf9dcddb5dedd7c7143
298b8b66 12Source1: %{name}.desktop
13Source2: %{name}.png
298b8b66 14URL: http://poedit.sourceforge.net/
dbcc8486 15BuildRequires: autoconf
16BuildRequires: automake
cd5c21fc 17BuildRequires: gtk+2-devel
f7c9bb11 18BuildRequires: gtkspell-devel
fa9eb83a 19BuildRequires: wxGTK2-unicode-devel >= 2.6.0
30fc8ace 20BuildRequires: zip
44f004ee 21Requires: gettext
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
44f004ee 24%description
25poEdit is cross-platform gettext catalogs (.po files) editor. It is
26built with wxWindows toolkit and can run on Unix or Windows. It aims
27to provide convenient way of editing gettext catalogs. It features
28UTF-8 support, fuzzy and untranslated records highlighting,
29whitespaces highlighting, references browser, headers editing and can
30be used to create new catalogs or update existing catalogs from source
31code by single click.
32
2ebfd298
JR
33%description -l pl.UTF-8
34poEdit jest wieloplatformowym edytorem katalogów gettexta (plików
35.po). Używa toolkitu wxWindows, więc może działać pod Uniksem oraz pod
36Windows. Możliwości programu to: obsługa UTF-8, podświetlanie rekordów
37nie przetłumaczonych i niepewnych ("fuzzy"), podświetlanie odstępów,
38przeglądarka odwołań, edycja nagłówków, tworzenie nowych katalogów
39oraz uaktualnianie istniejących z plików źródłowych przez jedno
40kliknięcie.
352f1a7f 41
44f004ee 42%prep
9781da42 43%setup -q
44f004ee 44
45%build
f7c9bb11
AF
46%{__aclocal} -I admin
47%{__autoconf}
48%{__automake}
cd5c21fc 49%configure \
50 --disable-transmem \
fa9eb83a 51 --with-wx-config=wx-gtk2-unicode-config \
8009eafe 52 --%{?debug:en}%{!?debug:dis}able-debug
cec224ee 53
9781da42
JB
54%{__make} \
55 EXTRADIR="" \
9781da42 56 expatlib="-lexpat"
44f004ee 57
58%install
59rm -rf $RPM_BUILD_ROOT
6f7e60c4 60install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir},%{_datadir}/mime-info/}
44f004ee 61
cd5c21fc 62%{__make} install \
f7c9bb11 63 EXTRADIR="" \
298b8b66 64 DESTDIR=$RPM_BUILD_ROOT
44f004ee 65
cd5c21fc 66install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
298b8b66 67install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
2009968d 68#install install/poedit.{mime,keys} $RPM_BUILD_ROOT%{_datadir}/mime-info/
44f004ee 69
cd5c21fc 70%find_lang %{name}
71
44f004ee 72%clean
352f1a7f 73rm -rf $RPM_BUILD_ROOT
44f004ee 74
cd5c21fc 75%files -f %{name}.lang
44f004ee 76%defattr(644,root,root,755)
cd5c21fc 77#%doc NEWS LICENSE README AUTHORS docs/*.html docs/img
298b8b66 78%attr(755,root,root) %{_bindir}/poedit
79%{_datadir}/poedit
2009968d 80#{_datadir}/mime-info/%{name}*
2fa29b63 81%{_desktopdir}/*.desktop
298b8b66 82%{_pixmapsdir}/*
2009968d
SS
83%{_iconsdir}/hicolor/16x16/apps/poedit.png
84%{_iconsdir}/hicolor/32x32/apps/poedit.png
85%{_iconsdir}/hicolor/48x48/apps/poedit.png
86%{_iconsdir}/hicolor/scalable/apps/poedit.svg
cd5c21fc 87%{_mandir}/man1/*
This page took 1.65591 seconds and 4 git commands to generate.