# # Conditional build: %bcond_with tests # build with tests %bcond_without tests # build without tests # Summary: - Summary(pl): - Name: - Version: - Release: 0.1 Epoch: 0 License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here) #Vendor: - Group: Applications #Icon: - Source0: %{name}-%{version}.tar.gz # Source0-md5: - #Source1: - # Source1-md5: - #Patch0: %{name}-what.patch URL: - #BuildRequires: automake #BuildRequires: - #PreReq: - #Requires(pre,post): - #Requires(preun): - #Requires(postun): - #Requires: - #Provides: - #Obsoletes: - #Conflicts: - #BuildArch: noarch #ExclusiveArch: %{ix86} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description %description -l pl %package subpackage Summary: - Summary(pl): - Group: - %description subpackage %description subpackage -l pl %if 0 %package devel Summary: Development libraries and header files for termcap library Group: Development/Libraries %description devel This is the package containing the development libaries and header files for ... %package static Summary: Static ... library Group: Development/Libraries Requires: %{name}-devel = %{version} %description static Static ... library. %endif %prep %setup -q -n %{name}-%{version}.orig -a 1 #%patch0 -p1 %build # if ac/am/* rebuilding is necessary, do it in this order and add # appropriate BuildRequires #%%{__gettextize} #%%{__libtoolize} #%%{__aclocal} #%%{__autoconf} #%%{__autoheader} #%%{__automake} #cp -f /usr/share/automake/config.sub . %configure %{__make} %install rm -rf $RPM_BUILD_ROOT # create directories if necessary #install -d $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %pre %post #%post -p /sbin/ldconfig %preun %postun #%postun -p /sbin/ldconfig %files %defattr(644,root,root,755) %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO # if _sysconfdir != /etc: #%%dir %{_sysconfdir} %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* %attr(755,root,root) %{_bindir}/* %{_datadir}/%{name} # initscript and its config %attr(754,root,root) /etc/rc.d/init.d/%{name} %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name} %files subpackage %defattr(644,root,root,755) %doc extras/*.gz %{_datadir}/%{name}-ext