aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/data/rpm/rpmbuild/SPECS/gbp-test-native.spec
blob: 38b07e4848bed0cf4d41168b0b6cd9b2543c22da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Name:       gbp-test-native
Summary:    Test package for git-buildpackage
Version:    1.0
Release:    1
Group:      Development/Libraries
License:    GPLv2
Source1:    %{name}-%{version}.zip
BuildRequires:  unzip

%description
Package for testing the RPM functionality of git-buildpackage.
Mimics a "native" package


%prep
unzip %{SOURCE1}
%setup -T -D


%build
make


%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_datadir}/%{name}
cp -R * %{buildroot}/%{_datadir}/%{name}



%files
%defattr(-,root,root,-)
%dir %{_datadir}/%{name}
%{_datadir}/%{name}