Bump to chrpath 0.16 06/265006/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix sandbox/dh0128.kwak/chrpath-0.16-20211006 tizen_7.0_base tizen_7.0_base_hotfix accepted/tizen/7.0/base/20221116.025700 accepted/tizen/7.0/base/hotfix/20221116.055117 accepted/tizen/base/20211115.010627 accepted/tizen/base/20221115.103538 submit/tizen_base/20211110.054739 tizen_7.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 7 Oct 2021 00:41:21 +0000 (09:41 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 7 Oct 2021 01:07:04 +0000 (10:07 +0900)
Change-Id: Id11f0c1243e9367caaafdb1cea7d199ec012f79d
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/chrpath.manifest [new file with mode: 0644]
packaging/chrpath.spec [new file with mode: 0644]

diff --git a/packaging/chrpath.manifest b/packaging/chrpath.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/chrpath.spec b/packaging/chrpath.spec
new file mode 100644 (file)
index 0000000..4dd7303
--- /dev/null
@@ -0,0 +1,42 @@
+Name:           chrpath
+Version:        0.16
+Release:        1
+License:        GPL-2.0+
+Summary:        Modify rpath of compiled programs
+Url:            http://www.tux.org/pub/X-Windows/ftp.hungry.com/chrpath/
+Group:          Development/Tools
+Source0:        %{name}-%{version}.tar.gz
+Source1001:    chrpath.manifest
+
+%description
+chrpath allows you to modify the dynamic library load path (rpath) of
+compiled programs.  Currently, only removing and modifying the rpath
+is supported.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%build
+export CFLAGS+=" -fPIC"
+export LDFLAGS+=" -pie"
+
+chmod +x ./bootstrap
+./bootstrap
+%configure --disable-static
+# Call make instruction with smp support
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -rf %{buildroot}%{_prefix}/doc/%{name}-%{version}
+%remove_docs
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%{_bindir}/chrpath
+
+