sdcv/sdcv.spec

106 lines
3.2 KiB
RPMSpec
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: sdcv
Version: 0.4.2
Release: 12%{?dist}
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
Patch13: %{name}-arm64.patch
BuildRequires: zlib-devel glib2-devel gettext-devel autoconf automake
BuildRequires: readline-devel
%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
%patch13 -p1
%build
autopoint --force
autoreconf -i
%configure --with-readline
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
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri May 17 2013 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-11
- Support for the ARM 64 bit CPU architecture (aarch64)
* Fri Mar 15 2013 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-10
- Fix build with gcc-4.8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed May 11 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-6
- Increment release number to become AutoQA happy
* Sat May 07 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-5
- Enable readline support
- Thank to Vadim V. Raskhozhev <iamdexpl@gmail.com>
* Thu Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-4
- fixed License tag
* Wed Jan 12 2011 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-3
- rename patchs for better legibity
- fixed doc section
* Fri Dec 31 2010 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-2
- some minor bugfixes and gettext patch
* Thu Dec 30 2010 Pavel Zhukov <landgraf@fedoraproject.org> - 0.4.2-1
- Initial package
- version 0.4.2