add packaging
[platform/upstream/gccmakedep.git] / packaging / gccmakedep.spec
1 #
2 # spec file for package gccmakedep
3 #
4 # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
5 #
6 # All modifications and additions to the file contributed by third parties
7 # remain the property of their copyright owners, unless otherwise agreed
8 # upon. The license for this file, and modifications and additions to the
9 # file, is the same license as for the pristine package itself (unless the
10 # license for the pristine package is not an Open Source License, in which
11 # case the license is the MIT License). An "Open Source License" is a
12 # license that conforms to the Open Source Definition (Version 1.9)
13 # published by the Open Source Initiative.
14
15 Name:           gccmakedep
16 Version:        1.0.2
17 Release:        0
18 License:        MIT
19 Summary:        Utility to list the resource database of an X application
20 Url:            http://xorg.freedesktop.org/
21 Group:          Development/Tools
22 Source0:        http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
23 BuildArch:      noarch
24
25 %description
26 The gccmakedep program calls 'gcc -M' to output makefile rules
27 describing the dependencies of each sourcefile, so that make knows
28 which object files must be recompiled when a dependency has changed.
29
30 %prep
31 %setup -q
32
33 %build
34 %configure
35 make %{?_smp_mflags}
36
37 %install
38 %make_install
39
40 %files
41 %defattr(-,root,root)
42 %license COPYING
43 %{_bindir}/gccmakedep
44 %{_mandir}/man1/gccmakedep.1x%{?ext_man}
45
46 %changelog