1 | #
|
---|
2 | # spec file for package obs-service-dsc_filelist
|
---|
3 | #
|
---|
4 | # Copyright (c) 2012 dass IT GmbH, 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 | # Please submit bugfixes or comments via http://bugs.opensuse.org/
|
---|
16 | #
|
---|
17 |
|
---|
18 |
|
---|
19 | Name: obs-service-dsc_filelist
|
---|
20 | Summary: An OBS source service: Update dsc filelist
|
---|
21 | License: GPL-2.0+
|
---|
22 | Group: Development/Tools/Building
|
---|
23 | Version: 0.1
|
---|
24 | Release: 0
|
---|
25 | Source: %{name}_%{version}.orig.tar.gz
|
---|
26 | Requires: sed
|
---|
27 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
28 | BuildArch: noarch
|
---|
29 |
|
---|
30 | %description
|
---|
31 | This is a source service for openSUSE Build Service.
|
---|
32 |
|
---|
33 | Very simply script to update the filelist in a .dsc files according to the existing files.
|
---|
34 |
|
---|
35 | %prep
|
---|
36 | %setup -c
|
---|
37 |
|
---|
38 | %build
|
---|
39 |
|
---|
40 | %install
|
---|
41 | mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service
|
---|
42 | install -m 0755 usr/lib/obs/service/dsc_filelist $RPM_BUILD_ROOT/usr/lib/obs/service
|
---|
43 | install -m 0644 usr/lib/obs/service/dsc_filelist.service $RPM_BUILD_ROOT/usr/lib/obs/service
|
---|
44 |
|
---|
45 | %files
|
---|
46 | %defattr(-,root,root)
|
---|
47 | %dir /usr/lib/obs
|
---|
48 | /usr/lib/obs/service
|
---|
49 |
|
---|
50 | %changelog
|
---|