- specfile update to comply with tcl packaging guidelines
This commit is contained in:
parent
7eecaf9085
commit
ae11bd2178
18
brltty.spec
18
brltty.spec
@ -1,12 +1,15 @@
|
||||
%define pkg_version 3.9
|
||||
%define api_version 0.5.1
|
||||
|
||||
%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
||||
%define pyver %(%{__python} -c "import sys; v=sys.version_info[:2]; print '%d.%d'%v")
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%{!?pyver: %define pyver %(%{__python} -c "import sys; v=sys.version_info[:2]; print '%d.%d'%v")}
|
||||
|
||||
%{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)}
|
||||
%{!?tcl_sitearch: %define tcl_sitearch %{_libdir}/tcl%{tcl_version}}
|
||||
|
||||
Name: brltty
|
||||
Version: %{pkg_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 1.1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Daemons
|
||||
URL: http://mielke.cc/brltty/
|
||||
@ -81,7 +84,7 @@ Version: %{api_version}
|
||||
Group: Development/System
|
||||
License: LGPLv2+
|
||||
Requires: brlapi = %{api_version}
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: tcl-devel tcl
|
||||
Summary: Tcl binding for BrlAPI.
|
||||
%description -n tcl-brlapi
|
||||
This package provides the Tcl binding for BrlAPI.
|
||||
@ -197,8 +200,8 @@ exit 0
|
||||
|
||||
%files -n tcl-brlapi
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/tcl*/brlapi-%{api_version}/libbrlapi_tcl.so
|
||||
%{_libdir}/tcl*/brlapi-%{api_version}/pkgIndex.tcl
|
||||
%{tcl_sitearch}/brlapi-%{api_version}/libbrlapi_tcl.so
|
||||
%{tcl_sitearch}/brlapi-%{api_version}/pkgIndex.tcl
|
||||
|
||||
%files -n python-brlapi
|
||||
%defattr(-,root,root)
|
||||
@ -212,6 +215,9 @@ exit 0
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 09 2008 Tomas Janousek <tjanouse@redhat.com> - 3.9-1.1
|
||||
- specfile update to comply with tcl packaging guidelines
|
||||
|
||||
* Mon Jan 07 2008 Tomas Janousek <tjanouse@redhat.com> - 3.9-1
|
||||
- update to latest upstream (3.9)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user