- removed COPYING from doc (known - GPL)
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 7 May 2002 13:01:22 +0000 (13:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't use subshells

Changed files:
    aptitude.spec -> 1.16

aptitude.spec

index 6a41e5e..da691b0 100644 (file)
@@ -4,20 +4,19 @@ Summary(pl):  Frontend dla apta oparty na bibliotece ncurses
 Name:          aptitude
 Version:       0.0.8.6
 Release:       2cl
+License:       GPL
+Group:         Applications/Archiving
 URL:           http://www.debian.org/Packages/unstable/admin/aptitude.html
 Source0:       http://ftp.debian.org/debian/pool/main/a/aptitude/%{name}_%{version}.orig.tar.gz
 Patch0:                %{name}-patch
 Patch1:                %{name}-rpm4.patch
 Patch2:                %{name}-am_fix.patch
-License:       GPL
-Group:         Applications/Archiving
-BuildRequires: gzip
 BuildRequires: apt-devel >= 0.3.19cnc36
-BuildRequires: ncurses-devel
-BuildRequires: libstdc++-devel
-BuildRequires: gettext-devel
-BuildRequires: automake
 BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: libstdc++-devel
+BuildRequires: ncurses-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description 
@@ -55,20 +54,23 @@ automake -a -c -f
 %configure
 %{__make}
 
-gzip -9nf AUTHORS INSTALL NEWS COPYING README TODO %{name}-hackers-guide.txt
+gzip -9nf AUTHORS INSTALL NEWS README TODO %{name}-hackers-guide.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-rm -rf %{buildroot}
-install -d %{buildroot}%{_localstatedir}/lib/%{name}/
-install -D -m755 src/%{name} %{buildroot}/%{_bindir}/%{name}
-install -D help.txt %{buildroot}%{_datadir}/%{name}/help.txt
-install -D %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
-(cd po;make install prefix=%{buildroot}/%{_prefix})
+install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}/
+
+install -D -m755 src/%{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -D help.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/help.txt
+install -D %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
+cd po
+%{__make} install prefix=$RPM_BUILD_ROOT%{_prefix}
+cd ..
+
 %find_lang %{name}
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
@@ -76,5 +78,5 @@ rm -rf %{buildroot}
 %{_mandir}/man1/%{name}.1*
 %{_datadir}/%{name}/help.txt
 %{_localstatedir}/lib/%{name}
-%doc AUTHORS.gz INSTALL.gz NEWS.gz COPYING.gz
+%doc AUTHORS.gz INSTALL.gz NEWS.gz
 %doc README.gz TODO.gz %{name}-hackers-guide.txt.gz
This page took 0.032201 seconds and 4 git commands to generate.