X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fbyacc.spec;h=4ff8b7f75e593a9a55e7fbe527967a2f46362b43;hb=ddc01728c77dd88fc52c42ceb24baab23b9939dd;hp=725287520711092ea0ca49896c0362393a451dab;hpb=757f2ba064a0e658804479e3126ac8648e71fac8;p=external%2Fbyacc.git diff --git a/packaging/byacc.spec b/packaging/byacc.spec index 7252875..4ff8b7f 100644 --- a/packaging/byacc.spec +++ b/packaging/byacc.spec @@ -1,4 +1,3 @@ -#specfile originally created for Fedora, modified for Moblin Linux %define byaccdate 20091027 Summary: Berkeley Yacc, a parser generator @@ -6,10 +5,10 @@ Name: byacc Version: 1.9.%{byaccdate} Release: 2 License: Public Domain -Group: Development/Tools +Group: Platform Development/Building URL: http://invisible-island.net/byacc/byacc.html Source: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source1001: packaging/byacc.manifest %description Byacc (Berkeley Yacc) is a public domain LALR parser generator which @@ -19,17 +18,17 @@ If you are going to do development on your system, you will want to install this package. %prep -%setup -q -n %{name}-%{version} +%setup -q %build +cp %{SOURCE1001} . %configure --disable-dependency-tracking -make %{?_smp_mflags} +make %{?jobs:-j%jobs} %install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install -ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc -ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1 +%make_install +ln -s yacc %{buildroot}/%{_bindir}/byacc +ln -s yacc.1 %{buildroot}/%{_mandir}/man1/byacc.1 %check echo ====================TESTING========================= @@ -37,7 +36,7 @@ make check echo ====================TESTING END===================== %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} %files %doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README