Accepting request 105304 from Education

- fix license to be in spdx format

- Remove redundant/obsolete tags/sections from specfile
  (cf. packaging guidelines)
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/105304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enca?expand=0&rev=11
This commit is contained in:
Stephan Kulow 2012-02-16 15:12:39 +00:00 committed by Git OBS Bridge
commit ad9ac29786
2 changed files with 17 additions and 9 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Feb 15 20:15:09 UTC 2012 - lars@linux-schulserver.de
- fix license to be in spdx format
-------------------------------------------------------------------
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
- Remove redundant/obsolete tags/sections from specfile
(cf. packaging guidelines)
- Use %_smp_mflags for parallel build
-------------------------------------------------------------------
Fri Apr 14 13:38:21 UTC 2011 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package enca
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@ Summary: Detects encoding of text files
Group: Productivity/Other
Version: 1.13
Release: 7
License: GPLv2
License: GPL-2.0
Url: http://gitorious.org/enca
Source: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
@ -48,7 +48,7 @@ Install Enca if you need to cope with text files of dubious origin
and unknown encoding and convert them to some reasonable encoding.
%package -n libenca0
License: GPLv2
License: GPL-2.0
Group: System/Libraries
Summary: Header files and libraries for Enca development
@ -61,7 +61,7 @@ Install enca-devel if you are going to create applications using the Enca
library.
%package devel
License: GPLv2
License: GPL-2.0
Requires: libenca0 = %{version}
Requires: glibc-devel
Group: Development/Libraries/C and C++
@ -80,8 +80,7 @@ library.
%build
%configure --disable-static --without-librecode
# %make %{?jobs:-j%jobs}
make
make %{?_smp_mflags}
%install
%makeinstall HTML_DIR=%{gtk_doc}/html
@ -92,9 +91,6 @@ rm %{buildroot}/%{_libdir}/libenca.la
%postun -n libenca0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog ChangeLog.prelib FAQ ChangeLog.old README THANKS TODO