diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-01-10 15:26:56 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-01-10 15:26:56 +0100 |
commit | 666d3be9ced31b01a650cabcf04d08868dcccb44 (patch) | |
tree | 7f6edf008965143ccfe6c1da53b0486de565333a /libircclient.spec | |
parent | fc4bca9655ce79817453f6ab806dcc0f78f742ba (diff) |
Diffstat (limited to 'libircclient.spec')
-rw-r--r-- | libircclient.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libircclient.spec b/libircclient.spec index 73a09f9..3b5f43c 100644 --- a/libircclient.spec +++ b/libircclient.spec @@ -8,6 +8,8 @@ License: LGPLv3+ Group: Development/Libraries URL: http://www.ulduzsoft.com/libircclient/ Source0: http://downloads.sourceforge.net/libircclient/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel # Correct install target to use includedir and libdir Patch0: libircclient-1.7-install.patch @@ -48,6 +50,8 @@ make %{?_smp_mflags} %install +rm -rf ${RPM_BUILD_ROOT} + make install DESTDIR=${RPM_BUILD_ROOT} # this header is not supposed to be installed @@ -58,6 +62,10 @@ install -pm 644 src/params.h ${RPM_BUILD_ROOT}%{_includedir}/libirc_params.h install -Dpm 644 man/%{name}.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/%{name}.1 +%clean +rm -rf ${RPM_BUILD_ROOT} + + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig |