]> git.pld-linux.org Git - projects/template-specs.git/blame - template.spec
- added GPL v2
[projects/template-specs.git] / template.spec
CommitLineData
66c7fa65
ER
1# Conditional build:
2%bcond_with tests # build with tests
3%bcond_without tests # build without tests
e8b9df06 4Summary: -
e8b9df06 5Summary(pl): -
e8b9df06
SZ
6Name: -
7Version: -
8Release: -
9b1ba2b6 9Epoch: -
73d26d4a 10License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
e8b9df06 11Group: -
352b3a3c 12Vendor: -
e8b9df06 13Icon: -
f1b2d418 14Source0: %{name}-%{version}.tar.gz
023a0cc4 15# Source0-md5: -
e8b9df06 16Source1: -
023a0cc4 17# Source1-md5: -
24a89e79 18Patch0: %{name}-what.patch
e8b9df06 19URL: -
19bf1c4b 20BuildRequires: -
77f7693c 21PreReq: -
1927f23c 22Requires(pre,post): -
352b3a3c
TP
23Requires(preun): -
24Requires(postun): -
6d0960dd 25Requires: -
9b1ba2b6
JB
26Provides: -
27Obsoletes: -
352b3a3c 28Conflicts: -
e8b9df06
SZ
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32
e8b9df06
SZ
33%description -l pl
34
352b3a3c
TP
35%package subpackage
36Summary: -
37Summary(pl): -
38Group: -
352b3a3c
TP
39
40%description subpackage
41
42%description subpackage -l pl
43
e8b9df06 44%prep
f1b2d418 45%setup -q -n %{name}-%{version}.orig -a 1
e8b9df06 46%patch0 -p1
e8b9df06
SZ
47
48%build
c42a30cf
JB
49# if ac/am/* rebuilding is necessary, do it in this order and add
50# appropriate BuildRequires
37416b6e 51#%%{__gettextize}
52#%%{__aclocal}
53#%%{__autoconf}
54#%%{__autoheader}
55#%%{__automake}
19bf1c4b 56%configure
e8b9df06
SZ
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
d43856e1
JB
61# create directories if necessary
62#install -d $RPM_BUILD_ROOT
e8b9df06 63
a984843b
SP
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
e8b9df06 66
f5bb3874
JB
67%clean
68rm -rf $RPM_BUILD_ROOT
69
e8b9df06
SZ
70%pre
71
e8b9df06
SZ
72%post
73
b187ef53
JB
74%preun
75
e8b9df06
SZ
76%postun
77
e8b9df06
SZ
78%files
79%defattr(644,root,root,755)
024e628a 80%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
0b279ca0 81%attr(755,root,root) %{_bindir}/*
82%{_datadir}/%{name}
f1b2d418
TP
83
84%files subpackage
85%defattr(644,root,root,755)
86%doc extras/*.gz
87%{_datadir}/%{name}-ext
This page took 0.0791 seconds and 4 git commands to generate.