2013-06-14 15:34:25 +02:00
|
|
|
#
|
|
|
|
# spec file for package libtranscript
|
|
|
|
#
|
2014-02-10 13:31:31 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-06-14 15:34:25 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libtranscript
|
|
|
|
%define lname libtranscript1
|
2014-07-21 21:12:32 +02:00
|
|
|
Version: 0.3.1
|
2013-06-14 15:34:25 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A character set conversion library
|
|
|
|
License: GPL-3.0
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: http://os.ghalkes.nl/t3/libtranscript.html
|
|
|
|
|
|
|
|
#Git-Clone: git://github.com/gphalkes/transcript
|
|
|
|
Source: http://os.ghalkes.nl/dist/%name-%version.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gettext-tools
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
|
|
|
libtranscript is a character set conversion library which allows
|
|
|
|
great control over the conversion.
|
|
|
|
|
|
|
|
%package -n %lname
|
|
|
|
Summary: A character conversion library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
|
|
|
libtranscript is a character set conversion library which allows
|
|
|
|
great control over the conversion.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for libtranscript, a character conversion library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libtranscript is a character set conversion library which allows
|
|
|
|
great control over the conversion.
|
|
|
|
|
|
|
|
This subpackage contains libraries and header files for developing
|
|
|
|
applications that want to make use of libtranscript.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-02-10 13:31:31 +01:00
|
|
|
export CC=gcc
|
2013-06-14 15:34:25 +02:00
|
|
|
%configure --docdir="%_docdir/%name"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
b="%buildroot"
|
|
|
|
make install DESTDIR="$b"
|
|
|
|
rm -f "$b/%_libdir"/*.la
|
|
|
|
%if 0%{?fdupes:1}
|
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig -n %lname
|
|
|
|
%postun -p /sbin/ldconfig -n %lname
|
|
|
|
|
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_libdir/libtranscript.so.1*
|
|
|
|
%doc COPYING
|
|
|
|
%_libdir/transcript1/
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_includedir/transcript/
|
|
|
|
%_libdir/libtranscript.so
|
|
|
|
%_libdir/pkgconfig/libtranscript.pc
|
|
|
|
%_docdir/%name/
|
|
|
|
%exclude %_docdir/%name/COPYING
|
|
|
|
|
|
|
|
%changelog
|