2015-01-16 12:38:24 +00:00
|
|
|
#
|
|
|
|
# spec file for package libmrss
|
|
|
|
#
|
2023-01-02 00:21:02 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2015-01-16 12:38:24 +00: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.
|
|
|
|
|
2023-01-02 00:21:02 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-01-16 12:38:24 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define lname libmrss0
|
2017-01-08 16:11:23 +00:00
|
|
|
Name: libmrss
|
2023-01-02 00:21:02 +00:00
|
|
|
Version: 0.19.3
|
2015-01-16 12:38:24 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: RSS Parsing Library
|
2023-01-02 00:21:02 +00:00
|
|
|
License: LGPL-2.1-only
|
2015-01-16 12:38:24 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2023-01-02 00:21:02 +00:00
|
|
|
URL: http://www.autistici.org/bakunin/codes.php
|
|
|
|
# Download from commit cc2f489ba698a2227065731b714905ab56b1de1a since 0.19.3 has not officially been tagged.
|
|
|
|
Source: libmrss-%{version}.tar.xz
|
2017-01-08 16:11:23 +00:00
|
|
|
Source1: baselibs.conf
|
2010-02-17 19:36:43 +00:00
|
|
|
Patch1: libmrss-curl_compat.patch
|
2023-01-02 00:21:02 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2015-01-16 12:38:24 +00:00
|
|
|
BuildRequires: curl-devel
|
|
|
|
BuildRequires: libnxml-devel
|
2023-01-02 00:21:02 +00:00
|
|
|
BuildRequires: libtool
|
2017-01-08 16:11:23 +00:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-02-17 07:02:28 +00:00
|
|
|
|
|
|
|
%description
|
2010-02-17 07:31:48 +00:00
|
|
|
libmRSS is a C library for parsing, writing, and creating RSS (Rich Site
|
|
|
|
Summary, Really Simple Syndication, and RDF Site Summary) and ATOM files or
|
|
|
|
streams. The formats supported are: RSS 0.91, RSS 0.92, RSS 1.0, RSS 2.0, ATOM
|
|
|
|
0.3, and ATOM 1.0.
|
2010-02-17 07:02:28 +00:00
|
|
|
|
2017-01-08 16:11:23 +00:00
|
|
|
%package -n %{lname}
|
2010-02-17 07:31:48 +00:00
|
|
|
Summary: RSS Parsing Library
|
|
|
|
Group: System/Libraries
|
2010-02-17 07:02:28 +00:00
|
|
|
|
2017-01-08 16:11:23 +00:00
|
|
|
%description -n %{lname}
|
2010-02-17 07:31:48 +00:00
|
|
|
libmRSS is a C library for parsing, writing, and creating RSS (Rich Site
|
|
|
|
Summary, Really Simple Syndication, and RDF Site Summary) and ATOM files or
|
|
|
|
streams. The formats supported are: RSS 0.91, RSS 0.92, RSS 1.0, RSS 2.0, ATOM
|
|
|
|
0.3, and ATOM 1.0.
|
2010-02-17 07:02:28 +00:00
|
|
|
|
|
|
|
%package devel
|
2017-01-08 16:11:23 +00:00
|
|
|
Summary: Headers and development package for libmrss
|
2010-02-17 07:31:48 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-01-08 16:11:23 +00:00
|
|
|
Requires: %{lname} = %{version}
|
2015-01-16 12:38:24 +00:00
|
|
|
Requires: curl-devel
|
|
|
|
Requires: libnxml-devel
|
2010-02-17 07:02:28 +00:00
|
|
|
|
|
|
|
%description devel
|
2010-02-17 07:31:48 +00:00
|
|
|
libmRSS is a C library for parsing, writing, and creating RSS (Rich Site
|
|
|
|
Summary, Really Simple Syndication, and RDF Site Summary) and ATOM files or
|
|
|
|
streams. The formats supported are: RSS 0.91, RSS 0.92, RSS 1.0, RSS 2.0, ATOM
|
|
|
|
0.3, and ATOM 1.0.
|
2010-02-17 07:02:28 +00:00
|
|
|
|
|
|
|
%prep
|
2023-01-02 00:21:02 +00:00
|
|
|
%autosetup -p1
|
2010-02-17 07:02:28 +00:00
|
|
|
|
2017-01-08 16:11:23 +00:00
|
|
|
%build
|
2023-01-02 00:21:02 +00:00
|
|
|
./autogen.sh
|
2015-01-16 12:38:24 +00:00
|
|
|
%configure --disable-static
|
2012-01-31 14:57:17 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-02-17 07:02:28 +00:00
|
|
|
|
|
|
|
%install
|
2015-01-16 12:38:24 +00:00
|
|
|
%make_install
|
2017-01-08 16:11:23 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-02-17 07:02:28 +00:00
|
|
|
|
2017-01-08 16:11:23 +00:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
2010-02-17 07:02:28 +00:00
|
|
|
|
2017-01-08 16:11:23 +00:00
|
|
|
%files -n %{lname}
|
2010-02-17 07:02:28 +00:00
|
|
|
%defattr(-,root,root)
|
2015-01-16 12:38:24 +00:00
|
|
|
%{_libdir}/libmrss.so.*
|
2023-01-02 00:21:02 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS README ChangeLog
|
2010-02-17 07:02:28 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/pkgconfig/mrss.pc
|
2010-02-17 07:31:48 +00:00
|
|
|
%{_libdir}/libmrss.so
|
2010-02-17 07:02:28 +00:00
|
|
|
%{_includedir}/mrss.h
|
|
|
|
|
|
|
|
%changelog
|