2011-01-13 21:00:55 +00:00
|
|
|
|
Name: sdcv
|
|
|
|
|
Version: 0.4.2
|
2011-05-11 04:39:04 +00:00
|
|
|
|
Release: 6%{?dist}
|
2011-01-13 21:00:55 +00:00
|
|
|
|
Summary: Console version of StarDict program
|
|
|
|
|
Group: Applications/System
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://sdcv.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Patch1: %{name}-allignment.patch
|
|
|
|
|
Patch2: %{name}-c++.patch
|
|
|
|
|
Patch3: %{name}-cs.po.patch
|
|
|
|
|
Patch5: %{name}-fix-tests.patch
|
|
|
|
|
Patch6: %{name}-format.patch
|
|
|
|
|
Patch7: %{name}-gettext.patch
|
|
|
|
|
Patch8: %{name}-locales.patch
|
|
|
|
|
Patch9: %{name}-manpage.patch
|
|
|
|
|
Patch10: %{name}-sk.po.patch
|
|
|
|
|
Patch11: %{name}-use-env-home.patch
|
|
|
|
|
Patch12: %{name}-zlib-return-value.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: zlib-devel glib2-devel gettext-devel autoconf automake
|
2011-05-07 10:00:32 +00:00
|
|
|
|
BuildRequires: readline-devel
|
2011-01-13 21:00:55 +00:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
SDCV is simple, cross-platform text-base utility for work with
|
|
|
|
|
dictionaries in StarDict's format.
|
|
|
|
|
|
|
|
|
|
%description -l ru
|
|
|
|
|
SDCV - простая, консольная утилита работы
|
|
|
|
|
со словарям в формате Starict
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch5 -p1
|
|
|
|
|
%patch6 -p1
|
|
|
|
|
%patch7 -p1
|
|
|
|
|
%patch8 -p1
|
|
|
|
|
%patch9 -p1
|
|
|
|
|
%patch10 -p1
|
|
|
|
|
%patch11 -p1
|
|
|
|
|
%patch12 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autopoint --force
|
|
|
|
|
autoreconf
|
2011-05-07 10:00:32 +00:00
|
|
|
|
%configure --with-readline
|
2011-01-13 21:00:55 +00:00
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README NEWS AUTHORS BUGS NEWS TODO
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_mandir}/man1/sdcv.1.gz
|
|
|
|
|
%{_mandir}/uk/man1/sdcv.1.gz
|
|
|
|
|
|
|
|
|
|
%changelog
|
2011-05-11 04:39:04 +00:00
|
|
|
|
* Wed May 11 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-6
|
|
|
|
|
- Increment release number to become AutoQA happy
|
|
|
|
|
|
2011-05-07 10:00:32 +00:00
|
|
|
|
* Sat May 07 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-5
|
|
|
|
|
- Enable readline support
|
|
|
|
|
- Thank to Vadim V. Raskhozhev <iamdexpl@gmail.com>
|
2011-02-09 12:36:20 +00:00
|
|
|
|
|
2011-05-07 10:00:32 +00:00
|
|
|
|
* Thu Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-4
|
2011-01-13 21:00:55 +00:00
|
|
|
|
- fixed License tag
|
|
|
|
|
|
2011-05-07 10:00:32 +00:00
|
|
|
|
* Wed Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-3
|
2011-01-13 21:00:55 +00:00
|
|
|
|
- rename patchs for better legibity
|
|
|
|
|
- fixed doc section
|
|
|
|
|
|
2011-05-07 10:00:32 +00:00
|
|
|
|
* Fri Dec 31 2010 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-2
|
2011-01-13 21:00:55 +00:00
|
|
|
|
- some minor bugfixes and gettext patch
|
|
|
|
|
|
2011-05-07 10:00:32 +00:00
|
|
|
|
* Thu Dec 30 2010 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-1
|
2011-01-13 21:00:55 +00:00
|
|
|
|
- Initial package
|
|
|
|
|
- version 0.4.2
|
|
|
|
|
|