]> git.pld-linux.org Git - projects/template-specs.git/blame - template.spec
- BuildArch
[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: -
c1981b58
ER
8Release: 0.1
9Epoch: 0
73d26d4a 10License: - (enter GPL/GPL v2/LGPL/BSD/BSD-like/other license name here)
352b3a3c 11Vendor: -
2eed9aca 12Group: -
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: -
c1981b58 29#BuildArch: noarch
e8b9df06
SZ
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33
e8b9df06
SZ
34%description -l pl
35
352b3a3c
TP
36%package subpackage
37Summary: -
38Summary(pl): -
39Group: -
352b3a3c
TP
40
41%description subpackage
42
43%description subpackage -l pl
44
e8b9df06 45%prep
f1b2d418 46%setup -q -n %{name}-%{version}.orig -a 1
e8b9df06 47%patch0 -p1
e8b9df06
SZ
48
49%build
c42a30cf
JB
50# if ac/am/* rebuilding is necessary, do it in this order and add
51# appropriate BuildRequires
37416b6e 52#%%{__gettextize}
53#%%{__aclocal}
54#%%{__autoconf}
55#%%{__autoheader}
56#%%{__automake}
19bf1c4b 57%configure
e8b9df06
SZ
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
d43856e1
JB
62# create directories if necessary
63#install -d $RPM_BUILD_ROOT
e8b9df06 64
a984843b
SP
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
e8b9df06 67
f5bb3874
JB
68%clean
69rm -rf $RPM_BUILD_ROOT
70
e8b9df06
SZ
71%pre
72
e8b9df06
SZ
73%post
74
b187ef53
JB
75%preun
76
e8b9df06
SZ
77%postun
78
e8b9df06
SZ
79%files
80%defattr(644,root,root,755)
024e628a 81%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
cec32492 82
11877175
ER
83# if _sysconfdir != /etc:
84#%%dir %{_sysconfdir}
d3e00579 85%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
cec32492 86
0b279ca0 87%attr(755,root,root) %{_bindir}/*
cec32492 88
0b279ca0 89%{_datadir}/%{name}
f1b2d418 90
2482ba2c
ER
91# initscript and it's config
92%attr(754,root,root) /etc/rc.d/init.d/%{name}
93%config(noreplace) %verify(not size mtime md5) /etc/sysconfig/%{name}
94
f1b2d418
TP
95%files subpackage
96%defattr(644,root,root,755)
97%doc extras/*.gz
98%{_datadir}/%{name}-ext
This page took 1.944832 seconds and 4 git commands to generate.