BR: gcc-c++
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
af63436465
commit
c4c2e21dea
1 changed files with 2 additions and 13 deletions
15
adplug.spec
15
adplug.spec
|
|
@ -12,6 +12,7 @@ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|||
Source1: http://download.sourceforge.net/%{name}/adplugdb-%{adplugdbver}.tar.gz
|
||||
Patch0: adplug-2.2.1-signed-char.patch
|
||||
License: LGPLv2+
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libbinio-devel >= 1.4
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: texinfo
|
||||
|
|
@ -36,8 +37,6 @@ Summary: Development files for AdPlug
|
|||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: libbinio-devel
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
|
||||
%description devel
|
||||
This package contains development files for the AdPlug AdLib
|
||||
|
|
@ -72,17 +71,7 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||
mkdir -p $RPM_BUILD_ROOT%{shareddata}/%{name}
|
||||
install -p -m 644 %{adplugdbver}/adplug.db $RPM_BUILD_ROOT%{shareddata}/%{name}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post devel
|
||||
/sbin/install-info %{_infodir}/libadplug.info.gz %{_infodir}/dir || :
|
||||
|
||||
%preun devel
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/libadplug.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%{_libdir}/*.so.*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue