remove obsolete macros
This commit is contained in:
parent
7c70b3d053
commit
9e8d922623
10
slang.spec
10
slang.spec
@ -8,7 +8,6 @@ Source: ftp://space.mit.edu/pub/davis/slang/v2.2/%{name}-%{version}.tar.bz2
|
||||
# fix file permissions
|
||||
Patch1: slang-2.2.4-perms.patch
|
||||
URL: http://www.jedsoft.org/slang/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libpng-devel pcre-devel zlib-devel
|
||||
%if 0%{?fedora:1}
|
||||
BuildRequires: oniguruma-devel
|
||||
@ -76,8 +75,6 @@ head -n -1800 < changes.txt > changes.txt_ && tail -n 1800 < changes.txt | \
|
||||
make RPATH="" install_doc_dir=%{_docdir}/%{name}-%{version}
|
||||
|
||||
%install
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
make install-all INSTALL="install -p" RPATH="" DESTDIR=$RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_ROOT%{_docdir}/{slang,slsh}
|
||||
|
||||
@ -86,20 +83,15 @@ for h in slang.h slcurses.h; do
|
||||
ln -s ../$h $RPM_BUILD_ROOT%{_includedir}/slang/$h
|
||||
done
|
||||
|
||||
%clean
|
||||
rm -rf ${RPM_BUILD_ROOT}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING NEWS doc/README changes.txt doc/*/slang*.txt doc/*.txt
|
||||
%{_libdir}/libslang*.so.*
|
||||
|
||||
%files slsh
|
||||
%defattr(-,root,root)
|
||||
%doc slsh/doc/html/slsh*.html
|
||||
%config(noreplace) %{_sysconfdir}/slsh.rc
|
||||
%{_bindir}/slsh
|
||||
@ -108,7 +100,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_datadir}/slsh
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc doc/*/cslang*.txt doc/*/cref.txt
|
||||
%{_libdir}/libslang*.so
|
||||
%{_libdir}/pkgconfig/slang.pc
|
||||
@ -116,7 +107,6 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%{_includedir}/slang
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libslang*.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user