A new user interface for you! Read more...

File poedit.spec of Package poedit

#
# spec file for package poedit (Version 1.3.7)
#

# norootforbuild

Name:           poedit
BuildRequires:  db-devel gcc-c++ gtkspell-devel wxGTK-devel zip
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%endif
%if 0%{?mandriva_version}
BuildRequires:  libwxgtku-devel
%endif
Version:        1.4.1
Release:        1
Summary:        A cross-platform Gettext catalogs editing tool
License:        MIT licence
Group:          Productivity/Graphics/Visualization/Other
Autoreqprov:    on
URL:            http://www.poedit.org
Source:         poedit-%{version}.tar.bz2
Requires:       wxGTK
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
poEdit is cross-platform gettext catalogs (.po files) editor. 
It is built with wxWidgets toolkit and can run on any platform 
supported by it. It aims to provide more convenient approach to 
editing catalogs than launching vi and editing the file by hand.


Authors:
--------
    Vaclav Slavik <vslavik@fastmail.fm>

%prep
%setup -n poedit-%{version}

%build
%{?suse_update_config:%{suse_update_config -f}}
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
./configure --prefix=%{_prefix} --mandir=%{_mandir}
make %{?jobs:-j%jobs}

%install
DESTDIR=$RPM_BUILD_ROOT make install
%if 0%{?suse_version}
%suse_update_desktop_file -c poedit poEdit "Tool for editing po files" poedit poedit Development Translation
%endif
%find_lang %{name}  
     
%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang  
%defattr(-,root,root,755)
%doc AUTHORS COPYING NEWS README TODO
%if 0%{?mandriva_version}
%{_mandir}/man1/poedit.1.bz2
%else 
%{_mandir}/man1/poedit.1.gz
%endif
%dir /usr/share/locale/af_ZA
%dir /usr/share/locale/af_ZA/LC_MESSAGES
%dir /usr/share/locale/ast
%dir /usr/share/locale/ast/LC_MESSAGES
%dir /usr/share/locale/es_PR
%dir /usr/share/locale/es_PR/LC_MESSAGES
%dir /usr/share/locale/fa_IR
%dir /usr/share/locale/fa_IR/LC_MESSAGES
%dir /usr/share/locale/fur
%dir /usr/share/locale/fur/LC_MESSAGES
%dir /usr/share/locale/ky
%dir /usr/share/locale/ky/LC_MESSAGES
%dir /usr/share/locale/sq_AL
%dir /usr/share/locale/sq_AL/LC_MESSAGES
/usr/share/poedit
/usr/bin/poedit
/usr/share/applications/poedit.desktop
/usr/share/pixmaps/poedit.png                                                   
/usr/share/icons/*

%changelog 
* Tue Dec 04 2007 - lmichnovic@suse.cz
- update to version 1.3.8
  should fix several bug also with: preserve msgctxt entries in catalogs
* Tue Jul 10 2007 - lmichnovic@suse.cz
- update to version 1.3.7