blob: da71ea58f87e7b72cb32e2f9a4a1cc2d220e3489 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
Summary: RPM handler
Summary(pl.UTF-8): narzędzie do obsługi RPMów
Name: prowizorka
Version: 0.1
Release: 1
License: GPL
Group: Applications/System
Source0: %{name}.tar.gz
#BuildRequires: bzip2-devel
#BuildRequires: conflib-devel
BuildRequires: db3-devel
BuildRequires: db1-devel
#BuildRequires: newt-devel
BuildRequires: popt-devel
#BuildRequires: postgresql-devel
BuildRequires: rpm-devel
#BuildRequires: slang-devel
#BuildRequires: trurlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
prowizorka is a tool to allow easy installation of RPM packages.
%description -l pl.UTF-8
prowizorka jest narzędziem które pozwala na łatwą instalację pakietów
RPM.
%package BOOT
Summary: prowizorka for bootdisk
Summary(pl.UTF-8): prowizorka dla dysku startowego
Group: Applications/System
%description BOOT
prowizorka version for bootdisk.
%description BOOT -l pl.UTF-8
Wersja prowizorki przeznaczona dla dysku startowego.
%prep
%setup -q -n %{name}
%build
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
install rpmmenlib/%{name} $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
install gentocf/gentocf $RPM_BUILD_ROOT%{_libdir}/bootdisk/sbin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%files BOOT
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/bootdisk/sbin/*
|