Dominique Leuenberger 2018-03-04 11:50:18 +00:00 committed by Git OBS Bridge
commit b2a490f226
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 20:22:45 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 8 23:51:40 UTC 2017 - dimstar@opensuse.org Wed Feb 8 23:51:40 UTC 2017 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package uchardet # spec file for package uchardet
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,21 +15,20 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define major 0
%define major 0
Name: uchardet Name: uchardet
Version: 0.0.6 Version: 0.0.6
Release: 0 Release: 0
License: MPL-1.1 or GPL-2.0+ or LGPL-2.1+
Summary: Universal Charset Detection Library Summary: Universal Charset Detection Library
Url: https://www.freedesktop.org/wiki/Software/uchardet/ License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later
Group: Productivity/Text/Utilities Group: Productivity/Text/Utilities
URL: https://www.freedesktop.org/wiki/Software/uchardet/
Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
uchardet is a C language binding of the original C++ implementation of uchardet is a C language binding of the original C++ implementation of
@ -93,9 +92,10 @@ rm -f %{buildroot}%{_libdir}/libuchardet.a
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %license COPYING
%doc AUTHORS
%{_bindir}/%{name} %{_bindir}/%{name}
%doc %{_mandir}/man?/* %{_mandir}/man?/*
%files -n libuchardet%{major} %files -n libuchardet%{major}
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -103,7 +103,8 @@ rm -f %{buildroot}%{_libdir}/libuchardet.a
%files -n libuchardet-devel %files -n libuchardet-devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS COPYING %license COPYING
%doc AUTHORS
%{_includedir}/%{name} %{_includedir}/%{name}
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc