spec cleanups

epel9
Tom Callaway 9 years ago
parent c98c8ae142
commit a41a05eee7

@ -1,9 +1,9 @@
%define rc_subver rc5 %global rc_subver rc5
Summary: ASCII art library Summary: ASCII art library
Name: aalib Name: aalib
Version: 1.4.0 Version: 1.4.0
Release: 0.27.%{rc_subver}%{?dist} Release: 0.28.%{rc_subver}%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://aa-project.sourceforge.net/aalib/ URL: http://aa-project.sourceforge.net/aalib/
@ -14,7 +14,6 @@ Patch2: aalib-1.4rc5-bug149361.patch
Patch3: aalib-1.4rc5-rpath.patch Patch3: aalib-1.4rc5-rpath.patch
Patch4: aalib-1.4rc5-x_libs.patch Patch4: aalib-1.4rc5-x_libs.patch
Patch5: aalib-1.4rc5-libflag.patch Patch5: aalib-1.4rc5-libflag.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel BuildRequires: slang-devel libXt-devel gpm-devel ncurses-devel
BuildRequires: autoconf libtool BuildRequires: autoconf libtool
@ -61,19 +60,12 @@ make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir} rm -f $RPM_BUILD_ROOT{%{_libdir}/libaa.la,%{_infodir}/dir}
# clean up multilib conflicts # clean up multilib conflicts
touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/aclocal/aalib.m4 touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/aalib-config $RPM_BUILD_ROOT%{_datadir}/aclocal/aalib.m4
%clean
rm -rf $RPM_BUILD_ROOT
%post libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
@ -88,7 +80,6 @@ fi
%files %files
%defattr(-,root,root,-)
%{_bindir}/aafire %{_bindir}/aafire
%{_bindir}/aainfo %{_bindir}/aainfo
%{_bindir}/aasavefont %{_bindir}/aasavefont
@ -96,12 +87,11 @@ fi
%{_mandir}/man1/aafire.1* %{_mandir}/man1/aafire.1*
%files libs %files libs
%defattr(-,root,root,-) %doc README ChangeLog NEWS
%doc README COPYING ChangeLog NEWS %license COPYING
%{_libdir}/libaa.so.* %{_libdir}/libaa.so.*
%files devel %files devel
%defattr(-,root,root,-)
%{_bindir}/aalib-config %{_bindir}/aalib-config
%{_mandir}/man3/* %{_mandir}/man3/*
%{_libdir}/libaa.so %{_libdir}/libaa.so
@ -110,6 +100,9 @@ fi
%{_datadir}/aclocal/aalib.m4 %{_datadir}/aclocal/aalib.m4
%changelog %changelog
* Tue Jan 19 2016 Tom Callaway <spot@fedoraproject.org> - 1.4.0-0.28.rc5
- spec cleanups
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.27.rc5 * Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-0.27.rc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save