diff options
author | jk7744.park <jk7744.park@samsung.com> | 2015-09-09 02:20:21 +0900 |
---|---|---|
committer | jk7744.park <jk7744.park@samsung.com> | 2015-09-09 02:20:21 +0900 |
commit | fc7f27ee4b9a0523fe57f8ad2e8edf057d2034e7 (patch) | |
tree | 396ba284386385d66cdb864bbb773ac6eaa959c5 | |
parent | 6d0800f6b379cd96ba56c1a80de96834ef469248 (diff) | |
download | fakeroot-tizen_2.3.1.tar.gz fakeroot-tizen_2.3.1.tar.bz2 fakeroot-tizen_2.3.1.zip |
tizen 2.3.1 releasetizen_2.3.1_releasesubmit/tizen_2.3.1/20150915.095346tizen_2.3.1
-rw-r--r-- | packaging/fakeroot.changes | 19 | ||||
-rw-r--r-- | packaging/fakeroot.manifest | 5 | ||||
-rw-r--r-- | packaging/fakeroot.spec | 35 |
3 files changed, 37 insertions, 22 deletions
diff --git a/packaging/fakeroot.changes b/packaging/fakeroot.changes index 2cdfc38..ed20740 100644 --- a/packaging/fakeroot.changes +++ b/packaging/fakeroot.changes @@ -1,14 +1,11 @@ -* Sat Jan 26 00:31:42 UTC 2013 - tracy.graydon@intel.com -- Fix build dep on util-linux. Should be util-linux-ng for 2.0alpha +* Wed Jun 22 2011 Chris Ferron <chris.e.ferron@linux.intel.com> - 1.12.4 +- removed util-linux-ng as it has been replaced by util-linux. -* Thu Jun 21 2012 Anas Nashif <anas.nashif@intel.com> 9cb0a26 -- change tarball name to make gbs work +* Sat Jan 30 2010 Zhang, Qiang Z<qiang.z.zhang@intel.com> 1.12.4 +- Update to 1.12.4 -* Wed May 30 2012 Ryan Ware <ryan.r.ware@intel.com> 641d1df -- Add default Smack manifest for fakeroot.spec - -* Mon May 21 2012 Kim Kibum <kb0929.kim@samsung.com> a3e1b09 -- Upload Tizen:Base source -[ Hyesook Choi ] -- Initial empty repository +* Tue Feb 19 2009 Zhang, Qiang Z<qiang.z.zhang@intel.com> 1.12.1 +- Update to 1.12.1 +* Tue Jan 06 2009 Anas Nashif <anas.nashif@intel.com> 1.11 +- Initial import into Moblin diff --git a/packaging/fakeroot.manifest b/packaging/fakeroot.manifest deleted file mode 100644 index 017d22d..0000000 --- a/packaging/fakeroot.manifest +++ /dev/null @@ -1,5 +0,0 @@ -<manifest> - <request> - <domain name="_"/> - </request> -</manifest> diff --git a/packaging/fakeroot.spec b/packaging/fakeroot.spec index 0d3953b..4a09340 100644 --- a/packaging/fakeroot.spec +++ b/packaging/fakeroot.spec @@ -1,3 +1,4 @@ + Name: fakeroot Summary: Gives a fake root environment Version: 1.12.4 @@ -5,15 +6,15 @@ Release: 19 Group: Development/Tools License: GPL+ URL: http://fakeroot.alioth.debian.org/ -Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}-%{version}.tar.gz -Source1001: packaging/fakeroot.manifest +Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.tar.gz Requires: util-linux Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: gcc-c++ -BuildRequires: util-linux-ng +BuildRequires: util-linux BuildRequires: sharutils +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description fakeroot runs a command in an environment wherein it appears to have @@ -26,14 +27,18 @@ had the user really been root. %prep -%setup -q +%setup -q -n %{name}-%{version} %build -cp %{SOURCE1001} . for file in ./doc/*/*.1; do iconv -f latin1 -t utf8 < $file > $file.new mv -f $file.new $file done + + + + + # all build scripts in origin specfile as the following: for type in sysv tcp; do mkdir obj-$type @@ -54,6 +59,11 @@ cd .. done %install +rm -rf %{buildroot} +# Please write install script under ">> install post" + +# all install scripts in origin specfile as the following: +rm -rf %{buildroot} for type in sysv tcp; do make -C obj-$type install libdir=%{_libdir}/libfakeroot DESTDIR=%{buildroot} chmod 644 %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so @@ -67,6 +77,18 @@ ln -s faked-tcp %{buildroot}%{_bindir}/faked ln -s fakeroot-tcp %{buildroot}%{_bindir}/fakeroot ln -s libfakeroot-tcp.so %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so +%check +for type in sysv tcp; do + echo 'Bypassing check '$type +# make -C obj-$type check +done + + + +%clean +rm -rf %{buildroot} + + %post -p /sbin/ldconfig @@ -74,7 +96,8 @@ ln -s libfakeroot-tcp.so %{buildroot}%{_libdir}/libfakeroot/libfakeroot-0.so %files -%manifest fakeroot.manifest +%defattr(-,root,root,-) +%doc AUTHORS BUGS COPYING DEBUG debian/changelog doc/README.saving %{_bindir}/faked-* %{_bindir}/faked %{_bindir}/fakeroot-* |