]> git.pld-linux.org Git - packages/archway.git/blob - archway.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/archway.git] / archway.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        ArchWay is a new advanced GUI for GNU Arch
3 Summary(pl.UTF-8):      ArchWay to nowy, zaawansowany GUI dla GNU Arch
4 Name:           archway
5 Version:        0.2.1
6 Release:        1
7 License:        GPL
8 Group:          Development/Version Control
9 Source0:        http://savannah.nongnu.org/download/archway/%{name}-%{version}.tar.gz
10 # Source0-md5:  130b7aaec6fc57a5bc0d132158455ce9
11 URL:            http://www.nongnu.org/archway/
12 BuildRequires:  perl-Gtk2
13 BuildRequires:  rpm-perlprov
14 Requires:       tla
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 ArchWay is a new advanced GUI for GNU Arch.
20
21 %description -l pl.UTF-8
22 ArchWay to nowy, zaawansowany graficzny interfejs użytkownika (GUI)
23 dla GNU Arch.
24
25 %prep
26 %setup -q
27
28 %build
29 %{__make}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{_bindir}
34
35 %{__make} install \
36         bindir=$RPM_BUILD_ROOT%{_bindir} \
37         datadir=$RPM_BUILD_ROOT%{_datadir} \
38         PERL=%{_bindir}/perl
39
40 %{__perl} -pi -e "s#$RPM_BUILD_ROOT##g" \
41         $RPM_BUILD_ROOT%{_bindir}/* \
42         $RPM_BUILD_ROOT%{_datadir}/%{name}/perllib/ArchWay/Session.pm
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/*
50 %{_datadir}/%{name}
This page took 0.119453 seconds and 3 git commands to generate.