Changeset 41


Ignore:
Timestamp:
Aug 9, 2007, 11:37:29 PM (13 years ago)
Author:
Bruno Cornec
Message:

spec update (another try)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pbconf/project-builder/rpm/pb.spec

    r35 r41  
    3131
    3232%build
    33 %{__rm} -rf $RPM_BUILD_ROOT
    34 %{__perl} Makefile.PL %{prefix}
    35 make OPTIMIZE="$RPM_OPT_FLAGS" PREFIX=%{prefix} %{?_smp_mflags} VERSION=%{version}
     33%{__perl} Makefile.PL INSTALLDIRS=vendor
     34%make VERSION=%{version}
    3635#perl -p -i -e 's|/usr/local/bin|/usr/bin|g;' *.pm examples/*
    3736
    3837%install
    39 eval `perl '-V:installarchlib'`
    40 mkdir -p $RPM_BUILD_ROOT/$installarchlib
    41 make install PREFIX=$RPM_BUILD_ROOT/%{prefix}
     38%{__rm} -rf %{buildroot}
     39%makeinstall_std
    4240
    4341%clean
     
    4644%files
    4745%defattr(-,root,root)
    48 %config(noreplace) %{_sysconfdir}/%{name}/%{name}.pb
     46%config(noreplace) %{_sysconfdir}/%{name}/%{name}
    4947%doc ChangeLog svn.log
    5048%doc INSTALL COPYING README TODO AUTHORS NEWS
    5149
    52 %{_libdir}/perl5/site_perl/*
     50%{perl_vendorlib}/AppConfig.pm
     51%{_mandir}/*/*
    5352%{_bindir}/*
    54 #%{_mandir}/man8/*
    5553
    5654%changelog
Note: See TracChangeset for help on using the changeset viewer.