LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File smake.allrpm.spec of Package smake (Project home:gnuten:RPM-Tests)

Name:           smake
License:        CDDL
Group:          Development/Tools/Building
Version:        1.2.1
Release:        1gnuten 
Source:         smake-1.2.1.orig.tar.gz
Autoreqprov:    on
URL:            http://cdrecord.berlios.de/old/private/makefiles.html
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Joerg Schillings make tool
Packager:	    Michael Noack <gnutensoft@osscc.net>

%description
Joerg Schilling's make tool. This is the recommended make tool for build of
the cdrtools.

Authors:
--------
    J�rg Schilling

%package devel
Summary:	Library and include files generated at compilation of smake
Group:          Development/Tools/Building

%description devel
Library and include files generated at compilation of smake

Authors:
--------
    Joerg Schilling

%prep
%setup -q
#

%build
make INS_BASE=/usr INS_RBASE=/ DESTDIR=$RPM_BUILD_ROOT MANDIR=share/man DEFAULTS_DIR=/usr/share/smake STRIPFLAGS=-s RUNPATH=

%install
make INS_BASE=/usr INS_RBASE=/ DESTDIR=$RPM_BUILD_ROOT MANDIR=share/man DEFAULTS_DIR=/usr/share/smake STRIPFLAGS=-s install RUNPATH=
chmod 644 $RPM_BUILD_ROOT/usr/lib/lib*.a
if [ "%_lib" != "lib" ] ; then
  mkdir -p $RPM_BUILD_ROOT/usr/%_lib
  mv $RPM_BUILD_ROOT/usr/lib/lib*.a $RPM_BUILD_ROOT/usr/%_lib
fi
rm -Rf $RPM_BUILD_ROOT/usr/lib/profiled

mkdir $RPM_BUILD_ROOT/usr/share/smake
mv $RPM_BUILD_ROOT/usr/lib/defaults.smk $RPM_BUILD_ROOT/usr/share/smake/defaults.smk

%clean
rm -Rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc %{_mandir}/man1/*
%attr(544,root,root) /usr/bin/smake
%dir /usr/share/smake
/usr/share/smake/defaults.smk

%files devel
%defattr(-, root, root)
%doc %{_mandir}/man5/*
%dir /usr/include/schily
/usr/include/schily/*
/usr/%{_lib}/lib*.a

%changelog
* Tue Jun 22 2010 - gnutensoft@osscc.net
- changed spec-file to build on more plattforms
* Tue Jun 16 2010 - gnutensoft@osscc.net
- updated to final 1.2.1
* Tue Jun 12 2010 - gnutensoft@osscc.net
- updated to a49
* Tue Dec 01 2009 - hnch@gmx.net
- updated to a48
* Wed Aug 12 2009 - hnch@gmx.net
- updated to day-current snapshot and made minor corrections to the
  spec file
* Wed Apr 15 2009 - hnch@gmx.net
- moved defaults.smk into standard package
* Thu Jan 01 2009 - hnch@gmx.net
- added dir directives to fix build with new linting
* Sat Aug 16 2008 - hnch@gmx.net
- cleaning up the spec file as rpmlint suggests
- moving defaults file to a reasonable location
* Sat Nov 04 2007 - hnch@gmx.net
- changed MANDIR to SuSE default /usr/share/man instead of /usr/man
* Sun Nov 04 2007 - weigelt.bernd@web.de
- testing the library dir name for 64bit-Systems
- and respect the corrent library dir name
* Sat Nov 03 2007 - hnch@gmx.net
- Initial spec file