Follow the recent packaging guideline changes
This commit is contained in:
parent
ecf20d96b3
commit
c103349fd1
16
convmv.spec
16
convmv.spec
@ -1,14 +1,12 @@
|
||||
Summary: Convert filename encodings
|
||||
Name: convmv
|
||||
Version: 1.15
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
Group: Applications/System
|
||||
License: GPLv2 or GPLv3
|
||||
URL: http://j3e.de/linux/convmv
|
||||
Source0: http://j3e.de/linux/convmv/convmv-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
This package contains the tool convmv with which you can convert the encodings
|
||||
@ -17,27 +15,27 @@ of filenames, e.g. from Latin1 to UTF-8.
|
||||
%prep
|
||||
%setup -q
|
||||
tar -xf testsuite.tar
|
||||
# This is needed to preserve the timestamp of convmv file
|
||||
sed -i 's/install/install -p/g' Makefile
|
||||
|
||||
%build
|
||||
make
|
||||
make %{_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make PREFIX=%{_prefix} DESTDIR=%{buildroot} install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc CREDITS Changes GPL2 TODO
|
||||
%{_bindir}/convmv
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed May 28 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.15-2
|
||||
- Follow the recent packaging guideline changes
|
||||
|
||||
* Wed Sep 11 2013 Nils Philippsen <nils@redhat.com> - 1.15-1
|
||||
- version 1.15
|
||||
- reenable testsuite
|
||||
|
Loading…
Reference in New Issue
Block a user