Spec file fix.

SVN revision: 81704
This commit is contained in:
Michael Jennings 2012-12-26 10:08:24 +00:00
parent f1bc91e76f
commit 6449aba3b9
1 changed files with 11 additions and 1 deletions

View File

@ -19,6 +19,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
edbus provides a convenience wrapper for EFL applications using DBus. edbus provides a convenience wrapper for EFL applications using DBus.
%package devel %package devel
Summary: edbus headers, static libraries, documentation and test programs Summary: edbus headers, static libraries, documentation and test programs
Group: System Environment/Libraries Group: System Environment/Libraries
@ -27,38 +28,47 @@ Requires: %{name} = %{version}
%description devel %description devel
Headers, static libraries, test programs and documentation for edbus Headers, static libraries, test programs and documentation for edbus
%prep %prep
%setup -q %setup -q
%build %build
%{configure} --prefix=%{_prefix} %{configure} --prefix=%{_prefix}
%{__make} %{?_smp_mflags} %{?mflags} %{__make} %{?_smp_mflags} %{?mflags}
%install %install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
# Get rid of unneeded testing cruft. # Get rid of unneeded testing cruft.
%{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name} %{__rm} -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
%clean %clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig /sbin/ldconfig
%postun %postun
/sbin/ldconfig /sbin/ldconfig
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS COPYING* README %doc AUTHORS COPYING* README
%{_bindir}/%{name}*
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
%defattr(-, root, root) %defattr(-, root, root)
%{_includedir}/edbus-1/*.h %{_includedir}/%{name}*/
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.la %{_libdir}/*.la
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog