Michal Čihař 2014-08-12 12:01:10 +00:00 committed by Git OBS Bridge
parent f9b5718a1a
commit c7d000303a

View File

@ -1,7 +1,7 @@
#
# spec file for package enca
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 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
@ -16,19 +16,19 @@
#
%define gtk_doc %{_datadir}/gtk-doc
Name: enca
Version: 1.15
Release: 0
Summary: Detects encoding of text files
License: GPL-2.0
Group: Productivity/Other
Version: 1.15
Release: 0
Url: http://cihar.com/software/enca/
Source: http://dl.cihar.com/%{name}/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
Requires: sed
%define gtk_doc %{_datadir}/gtk-doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
Requires: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Enca is an Extremely Naive Charset Analyser. It detects character set and
@ -59,10 +59,10 @@ Install enca-devel if you are going to create applications using the Enca
library.
%package devel
Requires: glibc-devel
Requires: libenca0 = %{version}
Summary: Header files and libraries for Enca development
Group: Development/Libraries/C and C++
Requires: glibc-devel
Requires: libenca0 = %{version}
%description devel
The enca-devel package contains the static libraries and header files
@ -80,7 +80,7 @@ library.
make %{?_smp_mflags}
%install
%makeinstall HTML_DIR=%{gtk_doc}/html
make DESTDIR=%{buildroot} install %{?_smp_mflags} HTML_DIR=%{gtk_doc}/html
# the .la file is not needed without static libs
rm %{buildroot}/%{_libdir}/libenca.la