227f0c4
Name:           libkate
a02fa4f
Version:        0.4.1
de5b6a7
Release:        16%{?dist}
227f0c4
Summary:        Libraries to handle the Kate bitstream format
227f0c4
227f0c4
License:        BSD
c0c5ba9
URL:            http://git.xiph.org/?p=users/oggk/kate.git;a=summary
227f0c4
Source0:        http://libkate.googlecode.com/files/libkate-%{version}.tar.gz
227f0c4
Igor Gnatenko 1a6201e
BuildRequires:  gcc
a59cbdd
BuildRequires:  python2-devel
227f0c4
BuildRequires:  libogg-devel
227f0c4
BuildRequires:  liboggz
227f0c4
BuildRequires:  libpng-devel
227f0c4
BuildRequires:  bison
227f0c4
BuildRequires:  flex
c0c5ba9
%ifarch %{valgrind_arches}
227f0c4
BuildRequires:  valgrind
d38182a
%endif
227f0c4
BuildRequires:  doxygen
227f0c4
 
227f0c4
227f0c4
%description
227f0c4
This is libkate, the reference implementation of a codec for the Kate bitstream
227f0c4
format.
227f0c4
Kate is a karaoke and text codec meant for encapsulation in an Ogg container.
227f0c4
It can carry text, images, and animate them.
227f0c4
227f0c4
Kate is meant to be used for karaoke alongside audio/video streams (typically
227f0c4
Vorbis and Theora), movie subtitles, song lyrics, and anything that needs text
227f0c4
data at arbitrary time intervals.
227f0c4
227f0c4
227f0c4
%package        devel
227f0c4
Summary:        Development files for %{name}
c0c5ba9
Requires:       %{name}%{?_isa} = %{version}-%{release}
227f0c4
Requires:       libogg-devel
227f0c4
227f0c4
%description    devel
227f0c4
The %{name}-devel package contains libraries and header files for
227f0c4
developing applications that use %{name}.
227f0c4
227f0c4
%package utils
227f0c4
Summary:        Encoder/Decoder utilities for %{name}
c0c5ba9
Requires:       %{name}%{?_isa} = %{version}-%{release}
227f0c4
Requires:       liboggz
227f0c4
227f0c4
%description utils
227f0c4
The %{name}-utils package contains the katedec/kateenc binaries for %{name}.
227f0c4
a56f014
%package docs
a56f014
Summary:        Documentation for %{name}
47c6953
a56f014
BuildArch:      noarch
a56f014
a56f014
%description docs
a56f014
The %{name}-docs package contains the docs for %{name}.
a56f014
227f0c4
227f0c4
%prep
227f0c4
%setup -q
227f0c4
227f0c4
# We regenerate theses files at built step
227f0c4
rm tools/kate_parser.{c,h}
227f0c4
rm tools/kate_lexer.c
227f0c4
227f0c4
227f0c4
%build
97c6469
export PYTHON=python2
a02fa4f
%configure --disable-static
227f0c4
227f0c4
# Remove rpath
227f0c4
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
227f0c4
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
227f0c4
c0c5ba9
%make_build
227f0c4
227f0c4
227f0c4
%install
97c6469
export PYTHON=python2
c0c5ba9
%make_install
227f0c4
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
227f0c4
227f0c4
# Fix for header timestramps
227f0c4
touch -r $RPM_BUILD_ROOT%{_includedir}/kate/kate_config.h \
227f0c4
 $RPM_BUILD_ROOT%{_includedir}/kate/kate.h
227f0c4
227f0c4
227f0c4
%check
227f0c4
make check
227f0c4
227f0c4
c0c5ba9
%ldconfig_scriptlets
227f0c4
227f0c4
227f0c4
%files
a02fa4f
%exclude %{_docdir}/libkate/html
a02fa4f
%doc %{_docdir}/libkate
227f0c4
%{_libdir}/*.so.*
227f0c4
227f0c4
%files devel
227f0c4
%doc examples/
227f0c4
%{_includedir}/kate/
227f0c4
%{_libdir}/*.so
227f0c4
%{_libdir}/pkgconfig/*.pc
227f0c4
227f0c4
%files utils
2a4d384
%{python2_sitelib}/kdj/
227f0c4
%{_bindir}/KateDJ
227f0c4
%{_bindir}/katalyzer
227f0c4
%{_bindir}/katedec
227f0c4
%{_bindir}/kateenc
227f0c4
%{_mandir}/man1/KateDJ.*
227f0c4
%{_mandir}/man1/katalyzer.*
227f0c4
%{_mandir}/man1/katedec.*
227f0c4
%{_mandir}/man1/kateenc.*
227f0c4
a56f014
%files docs
a02fa4f
%doc %{_docdir}/libkate/html
a56f014
227f0c4
227f0c4
%changelog
de5b6a7
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-16
de5b6a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
de5b6a7
c0c5ba9
* Tue Jul 17 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-15
c0c5ba9
- Few clean-up
c0c5ba9
852361e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-14
852361e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
852361e
92ceeeb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-13
92ceeeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
92ceeeb
a59cbdd
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.1-12
a59cbdd
- Update Python 2 dependency declarations to new packaging standards
a59cbdd
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
a59cbdd
6899901
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-11
6899901
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6899901
1651987
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-10
1651987
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1651987
505013f
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-9
505013f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
505013f
2ce8e19
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-8
2ce8e19
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2ce8e19
575e9e5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-7
575e9e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
575e9e5
9068e5f
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-6
9068e5f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9068e5f
5ec4c33
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-5
5ec4c33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5ec4c33
5599e52
* Fri Jul 25 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-4
5599e52
- Update valgrind arches
5599e52
b597015
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-3
b597015
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b597015
6ea40ef
* Mon Aug 12 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.4.1-2
a02fa4f
- Update to 0.4.1
a02fa4f
- Spec file clean-up
6ea40ef
- Set the current valgrind arches
a02fa4f
- Use unversioned docdir - rhbz#993818
a02fa4f
5d0dd97
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-8
5d0dd97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5d0dd97
bcd854a
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-7
bcd854a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bcd854a
dd86aef
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-6
dd86aef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
dd86aef
f7262c5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-5
f7262c5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f7262c5
ed27497
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.3.8-4
ed27497
- Rebuild for new libpng
ed27497
82501f0
* Tue Mar 08 2011 Dennis Gilmore <dennis@ausil.us> - 0.3.8-3
82501f0
- no valgrind on sparc or arm arches
82501f0
e8fc4b6
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-2
e8fc4b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e8fc4b6
f956521
* Fri Dec 10 2010 Nicolas Chauvet <kwizart@gmail.com> - 0.3.8-1
f956521
- Update to 0.3.8
f956521
d38182a
* Sat Aug 28 2010 Dan HorĂ¡k <dan[at]danny.cz> - 0.3.7-3
d38182a
- no valgrind on s390(x)
d38182a
1974651
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.7-2
1974651
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
1974651
f10e815
* Wed Nov 25 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 0.3.7-1
f10e815
- Update to 0.3.7
f10e815
57c4334
* Fri Oct 16 2009 kwizart < kwizart at gmail.com > - 0.3.6-1
57c4334
- Update to 0.3.6
57c4334
d66fec4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.4-2
d66fec4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d66fec4
b73ef39
* Wed Jul  8 2009 kwizart < kwizart at gmail.com > - 0.3.4-1
b73ef39
- Update to 0.3.4
b73ef39
a56f014
* Mon Jun 29 2009 kwizart < kwizart at gmail.com > - 0.3.3-2
a56f014
- Split -docs - Fix #508589
a56f014
2b92167
* Mon May 11 2009 kwizart < kwizart at gmail.com > - 0.3.3-1
2b92167
- Update to 0.3.3
2b92167
227f0c4
* Fri Apr 10 2009 kwizart < kwizart at gmail.com > - 0.3.1-3
227f0c4
- Use Fedora compliant (using version) _docdir directory.
227f0c4
- Remove shebangs when not needed.
227f0c4
- Bundle examples within -devel
227f0c4
- Use global instead of define
227f0c4
227f0c4
* Sat Apr  4 2009 kwizart < kwizart at gmail.com > - 0.3.1-2
227f0c4
- Prevent conflict with GNU getline() in recent rawhide
227f0c4
227f0c4
* Tue Mar 17 2009 kwizart < kwizart at gmail.com > - 0.3.1-1
227f0c4
- Update to 0.3.1
227f0c4
227f0c4
* Tue Jan 13 2009 kwizart < kwizart at gmail.com > - 0.3.0-1
227f0c4
- Update to 0.3.0
227f0c4
- Add KateDJ and katalyzer in -utils
227f0c4
- Add BR liboggz and -utils Requires liboggz
227f0c4
c0c5ba9
* Thu Nov 27 2008 kwizart < kwizart at gmail.com > - 0.2.7-1
227f0c4
- Update to 0.2.7
227f0c4
227f0c4
* Mon Oct 20 2008 kwizart < kwizart at gmail.com > - 0.2.5-1
227f0c4
- Update to 0.2.5
227f0c4
227f0c4
* Mon Sep 29 2008 kwizart < kwizart at gmail.com > - 0.2.1-1
227f0c4
- Update to 0.2.1
227f0c4
227f0c4
* Thu Sep 11 2008 kwizart < kwizart at gmail.com > - 0.1.12-1
227f0c4
- Update to 0.1.12
227f0c4
227f0c4
* Thu Sep  4 2008 kwizart < kwizart at gmail.com > - 0.1.11-1
227f0c4
- Update to 0.1.11
227f0c4
227f0c4
* Wed Sep  3 2008 kwizart < kwizart at gmail.com > - 0.1.10-1
227f0c4
- Update to 0.1.10
227f0c4
227f0c4
* Tue Sep  2 2008 kwizart < kwizart at gmail.com > - 0.1.9-1
227f0c4
- Update to 0.1.9
227f0c4
227f0c4
* Fri Aug 29 2008 kwizart < kwizart at gmail.com > - 0.1.8-1
227f0c4
- Update to 0.1.8
227f0c4
227f0c4
* Mon Aug 11 2008 kwizart < kwizart at gmail.com > - 0.1.7-1
227f0c4
- Initial spec file
227f0c4