# autoproject.spec # # alane@geeksrus.net # updated for 0.14 by Hans Ecke # Summary: autoproject - create a skeleton source package for a new program Name: autoproject Version: 0.14 Release: 2 Copyright: GPL Group: Development/Tools #Vendor: #Distribution: #Icon: URL: http://hans.ecke.ws/autoproject Packager: hans@ecke.ws Source: %{name}-%{version}.tar.gz #Source1: #Patch0: autoproject-0.10.1-2.patch #Patch1: autoproject-0.10.1-3.patch #Provides: #Requires: #Conflicts: #Prereq: #Prefix: /usr BuildRoot: /var/tmp/%{name}-root %description autoproject interviews the user, then creates a source package for a new program which follows the GNU programming standards. The new package uses autoconf to configure itself, and automake to create the Makefile. `make distcheck' succeeds. The idea is that you execute autoproject just once when you start a new project. It will ask a few questions, then create a new directory and populate it with standard files, customized for the new project. %prep %setup -q #%patch0 -p1 #%patch1 -p1 %build %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall %{_gzipbin} %{buildroot}%{_mandir}/man1/*.1 %pre %post %preun %postun %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %docdir /usr/man/man1 /usr/bin/autoproject /usr/share/man/man1/autoproject.1.gz /usr/share/autoproject/ %changelog