[packages/doomsday] cleanup devel files packaging
glen
glen at pld-linux.org
Sun Oct 18 13:57:00 CEST 2015
commit 1305a4f7bf3d6850a9a2a5c81cefed3ccf13097e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Oct 18 14:56:54 2015 +0300
cleanup devel files packaging
doomsday.spec | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/doomsday.spec b/doomsday.spec
index 14eb688..9237d14 100644
--- a/doomsday.spec
+++ b/doomsday.spec
@@ -25,13 +25,13 @@ BuildRequires: OpenGL-GLU-devel
BuildRequires: OpenGL-devel
BuildRequires: SDL2-devel
BuildRequires: SDL2_mixer-devel
-BuildRequires: qt4-qmake
BuildRequires: assimp-devel
BuildRequires: curl-devel
BuildRequires: libpng-devel
BuildRequires: ncurses-devel
BuildRequires: python
BuildRequires: python-modules
+BuildRequires: qt4-qmake
BuildRequires: rpmbuild(macros) >= 1.595
Requires(post): /sbin/ldconfig
Requires: TiMidity++
@@ -46,7 +46,7 @@ hardware accelerated 3D graphics, surround sound and much more.
jDoom, jHeretic i jHexen dla Linuksa.
%prep
-%setup -q -n doomsday-%{subver}-%{version}
+%setup -q -n %{name}-%{subver}-%{version}
#%patch0 -p1
#%patch1 -p1
@@ -64,6 +64,12 @@ install -d $RPM_BUILD_ROOT%{_desktopdir}
%{__make} -C build install \
INSTALL_ROOT=$RPM_BUILD_ROOT
+# no -devel package. cleanup
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdeng_*.so
+# junk links
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdeng_*.so.1.15
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libdeng_core.so.2.0
+
install -d $RPM_BUILD_ROOT%{_pixmapsdir}
cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/doom.png
cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/hexen.png
@@ -141,6 +147,7 @@ EOF
%attr(755,root,root) %{_libdir}/libdeng_shell.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libdeng_shell.so.1
+
%{_libdir}/doomsday
%{_datadir}/doomsday
%{_desktopdir}/*.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/doomsday.git/commitdiff/1305a4f7bf3d6850a9a2a5c81cefed3ccf13097e
More information about the pld-cvs-commit
mailing list