[2/3] libsepol: Drop package

Message ID 20171012092810.18910-2-stefan.schantl@ipfire.org
State Accepted
Commit 71ebbb6d5ad12f4c036aa0520dd73561752790a3
Headers
Series [1/3] libsemanage: Drop package |

Commit Message

Stefan Schantl Oct. 12, 2017, 8:28 p.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 libsepol/libsepol.nm | 71 ----------------------------------------------------
 1 file changed, 71 deletions(-)
 delete mode 100644 libsepol/libsepol.nm
  

Patch

diff --git a/libsepol/libsepol.nm b/libsepol/libsepol.nm
deleted file mode 100644
index 951f76e..0000000
--- a/libsepol/libsepol.nm
+++ /dev/null
@@ -1,71 +0,0 @@ 
-###############################################################################
-# IPFire.org    - An Open Source Firewall Solution                            #
-# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
-###############################################################################
-
-name       = libsepol
-version    = 2.5
-release    = 1
-
-groups     = System/Libraries
-url        = http://www.selinuxproject.org
-license    = LGPLv2+
-summary    = SELinux binary policy manipulation library.
-
-description
-	libsepol provides an API for the manipulation of SELinux binary
-	policies.
-end
-
-source_dl  = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20160223/
-sources    = %{thisapp}.tar.gz
-
-build
-	# Keep static libsepol.a for some selinux tools, that needs to link 
-	# against it. We will put it into an own package.
-	keep_libraries = %{libdir}/libsepol.a
-
-	requires
-		flex
-	end
-
-	build
-		make clean
-		make CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}" %{PARALLELISMFLAGS}
-	end
-
-	# Install libraries to correct place.
-	make_install_targets += \
-		LIBDIR="%{BUILDROOT}%{libdir}" \
-		SHLIBDIR="%{BUILDROOT}%{libdir}"
-
-	install_cmds
-		# Remove binaries
-		rm -rf %{BUILDROOT}/usr/bin
-
-		# Remove manpages for binaries
-		rm -rf %{BUILDROOT}/usr/share/man/man8
-	end
-end
-
-packages
-	package %{name}
-	
-	package %{name}-devel
-		template DEVEL
-	end
-
-	package %{name}-debuginfo
-		template DEBUGINFO
-	end
-
-	package %{name}-static
-		summary = Static libraries used to build policy manipulation tools.
-		description = %{summary}
-		groups = Development/Libraries
-
-		files
-			%{libdir}/libsepol.a
-		end
-	end
-end