]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - template.spec
- s/{__make}/{makeinstall}
[projects/template-specs.git] / template.spec
index 67a93083048dd98da68127191907b09ab4a0b54e..47d6f327ab74fe268d12d87787947c75e18cbbaf 100644 (file)
@@ -1,69 +1,83 @@
 Summary:       -
-Summary(de):   -
-Summary(fr):   -
 Summary(pl):   -
-Summary(tr):   -
 Name:          -
 Version:       -
 Release:       -
-License:       GPL
+Epoch:         -
+License:       - (enter GPL/LGPL/BSD/BSD-like/other license name here)
 Group:         -
-Group(de):     -
-Group(fr):     -
-Group(pl):     -
-Group(tr):     -
-Vendor:         -
-Serial:                -
+Vendor:                -
 Icon:          -
-Source0:       -
+Source0:       %{name}-%{version}.tar.gz
+# Source0-md5: -
 Source1:       -
-Source2:       -
-Patch0:                -
-Patch1:                -
-Patch2:                -
+# Source1-md5: -
+Patch0:                %{name}-what.patch
 URL:           -
-BuildPrereq:   -
+BuildRequires: -
+PreReq:                -
+Requires(pre,post):    -
+Requires(preun):       -
+Requires(postun):      -
 Requires:      -
-Prereq:                -
+Provides:      -
+Obsoletes:     -
+Conflicts:     -
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 
-%description -l de
+%description -l pl
 
-%description -l fr
+%package subpackage
+Summary:       -
+Summary(pl):   -
+Group:         -
 
-%description -l pl
+%description subpackage
 
-%description -l tr
+%description subpackage -l pl
 
 %prep
-%setup  -q
+%setup -q -n %{name}-%{version}.orig -a 1
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
-%configure 
+# if ac/am/* rebuilding is necessary, do it in this order and add
+# appropriate BuildRequires
+#%%{__gettextize}
+#%%{__aclocal}
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{makeinstall}
 
-gzip -9nf README ChangeLog 
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %pre
 
-%preun
-
 %post
 
-%postun
+%preun
 
-%clean
-rm -rf $RPM_BUILD_ROOT
+%postun
 
 %files
 %defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+
+%files subpackage
+%defattr(644,root,root,755)
+%doc extras/*.gz
+%{_datadir}/%{name}-ext
This page took 0.034817 seconds and 4 git commands to generate.