Packaged tkAppInit.c into devel subpackage (#702088)

Removed spec code for deprecated prolog.ps file (#702088)
Removed rpmlint warning - macro in comment
This commit is contained in:
Jaroslav Škarvada 2011-05-05 23:33:32 +02:00
parent 00f228eb36
commit bcaa5bde2e

13
tk.spec
View File

@ -4,7 +4,7 @@
Summary: The graphical toolkit for the Tcl scripting language
Name: tk
Version: %{vers}
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 1
License: TCL
Group: Development/Languages
@ -74,7 +74,7 @@ make install -C unix INSTALL_ROOT=$RPM_BUILD_ROOT TK_LIBRARY=%{_datadir}/%{name}
ln -s wish%{majorver} $RPM_BUILD_ROOT%{_bindir}/wish
# for linking with -l%{name}
# for linking with -l%%{name}
ln -s lib%{name}%{majorver}.so $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
mkdir -p $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/{generic/ttk,unix}
@ -87,8 +87,6 @@ find generic unix -name "*.h" -exec cp -p '{}' $RPM_BUILD_ROOT/%{_includedir}/%{
# remove buildroot traces
sed -i -e "s|$PWD/unix|%{_libdir}|; s|$PWD|%{_includedir}/%{name}-private|" $RPM_BUILD_ROOT/%{_libdir}/%{name}Config.sh
rm -rf $RPM_BUILD_ROOT/%{_datadir}/%{name}%{majorver}/tkAppInit.c
rm -rf $RPM_BUILD_ROOT/%{_datadir}/%{name}%{majorver}/prolog.ps
%clean
rm -rf $RPM_BUILD_ROOT
@ -104,6 +102,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%{_bindir}/wish*
%{_datadir}/%{name}%{majorver}
%exclude %{_datadir}/%{name}%{majorver}/tkAppInit.c
%{_libdir}/lib%{name}%{majorver}.so
%{_libdir}/%{name}%{majorver}
%{_mandir}/man1/*
@ -117,8 +116,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib%{name}stub%{majorver}.a
%{_libdir}/%{name}Config.sh
%{_mandir}/man3/*
%{_datadir}/%{name}%{majorver}/tkAppInit.c
%changelog
* Thu May 05 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.5.9-4
- Packaged tkAppInit.c into devel subpackage (#702088)
- Removed spec code for deprecated prolog.ps file (#702088)
- Removed rpmlint warning - macro in comment
* Thu Feb 17 2011 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.5.9-3
- Fix xft detection (#677692)