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