Sync from SUSE:ALP:Source:Standard:1.0 librcd revision a523dc48bd83237d2691804fbd83f8ef

This commit is contained in:
Adrian Schröter 2024-10-14 15:07:24 +02:00
commit b068f3c8e6
5 changed files with 184 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
librcd0

BIN
librcd-0.1.14.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

70
librcd.changes Normal file
View File

@ -0,0 +1,70 @@
-------------------------------------------------------------------
Sun Nov 15 09:29:56 UTC 2015 - jengelh@inai.de
- Utilize new URL for source tarball (old one yielded NXDOMAIN).
Update summary/description slightly.
-------------------------------------------------------------------
Fri Dec 6 19:02:07 UTC 2013 - jengelh@inai.de
- Set RPM groups after SRPM rename
-------------------------------------------------------------------
Fri Dec 6 18:19:30 UTC 2013 - lazy.kent@opensuse.org
- Update to 0.1.14.
* Added pkgconfig file.
-------------------------------------------------------------------
Mon Jun 18 09:58:22 UTC 2012 - coolo@suse.com
- add baselibs.conf for librcc0 to use -32bit
-------------------------------------------------------------------
Fri Dec 16 10:57:58 UTC 2011 - lazy.kent@opensuse.org
- Corrected License tag according to SPDX standard.
- Use full URL as a source.
- Spec clean up and formatting.
-------------------------------------------------------------------
Tue Nov 22 16:10:07 UTC 2011 - jengelh@medozas.de
- Remove redundant/unwanted tags/section (cf. specfile guidelines)
- Use %_smp_mflags for parallel building
-------------------------------------------------------------------
Tue Nov 22 10:17:33 UTC 2011 - coolo@suse.com
- add libtool as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Wed Apr 7 10:49:09 UTC 2010 - lazy.kent.suse@gmail.com
- corrected Summary
-------------------------------------------------------------------
Fri Apr 2 19:32:38 UTC 2010 - lazy.kent.suse@gmail.com
- add COPYING
-------------------------------------------------------------------
Mon Mar 8 14:26:14 UTC 2010 - lazy.kent.suse@gmail.com
- spec-file reworked
-------------------------------------------------------------------
Sat Feb 13 00:00:00 MSK 2010 - csa@dside.dyndns.org
- Update to 0.1.13
-------------------------------------------------------------------
Mon Oct 6 00:00:00 MSD 2008 - andamasov@gmail.com
- Update to 0.1.11
-------------------------------------------------------------------
Wed Jun 18 00:00:00 MSD 2008 - highwaystar.ru@gmail.com
- initial OBS build

87
librcd.spec Normal file
View File

@ -0,0 +1,87 @@
#
# spec file for package librcd
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
%define major 0
Name: librcd
Version: 0.1.14
Release: 0
Summary: Russian Character Set Detection Library
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Url: http://rusxmms.sourceforge.net
Source: http://darksoft.org/files/rusxmms/%name-%version.tar.bz2
Source100: baselibs.conf
BuildRequires: libtool
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
librcd is a library for automatic encoding detection of
Russian/Ukrainian language texts.
%package -n %{name}%{major}
Summary: Russian Charset Detection Library
Group: System/Libraries
%description -n %{name}%{major}
librcd is a library for automatic encoding detection of
Russian/Ukrainian language texts. It is optimized for very small
words and phrases.
%package devel
Summary: Development files for librcd, a charset detection library
Group: Development/Libraries/C and C++
Requires: %{name}%{major} = %{version}
%description devel
librcd is a library for automatic encoding detection of
Russian/Ukrainian language texts. It is optimized for very small
words and phrases.
This subpackage contains libraries and header files for developing
applications that want to make use of librcd.
%prep
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
rm -f %{buildroot}%{_libdir}/*.la
rm -rf %{_builddir}/%{name}-%{version}/examples/{.deps,Makefile}
%post -n %{name}%{major} -p /sbin/ldconfig
%postun -n %{name}%{major} -p /sbin/ldconfig
%files -n %{name}%{major}
%defattr(-,root,root,-)
%{_libdir}/librcd.so.*
%files devel
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README examples
%{_includedir}/*
%{_libdir}/librcd.so
%{_libdir}/pkgconfig/*
%changelog