source: obs/obs-service-dsc_filelist/obs-service-dsc_filelist.spec@ 1142

Last change on this file since 1142 was 1127, checked in by joergs, on Dec 19, 2012 at 5:52:25 PM

initial

File size: 1.5 KB
Line 
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
19Name: obs-service-dsc_filelist
20Summary: An OBS source service: Update dsc filelist
21License: GPL-2.0+
22Group: Development/Tools/Building
23Version: 0.1
24Release: 0
25Source: %{name}_%{version}.orig.tar.gz
26Requires: sed
27BuildRoot: %{_tmppath}/%{name}-%{version}-build
28BuildArch: noarch
29
30%description
31This is a source service for openSUSE Build Service.
32
33Very 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
41mkdir -p $RPM_BUILD_ROOT/usr/lib/obs/service
42install -m 0755 usr/lib/obs/service/dsc_filelist $RPM_BUILD_ROOT/usr/lib/obs/service
43install -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
Note: See TracBrowser for help on using the repository browser.