Browse Source

neon-0.32.1-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
001a91fe9d
1 changed files with 14 additions and 9 deletions
  1. 14 9
      n/neon/neon-vl.spec

+ 14 - 9
n/neon/neon-vl.spec

@@ -3,7 +3,7 @@
 Name: neon
 Summary: An HTTP and WebDAV client library.
 Summary(ja): HTTP と WebDAV クライアントのライブラリ
-Version: 0.31.2
+Version: 0.32.1
 Release: 1%{?_dist_release}
 Group: system
 Vendor: Project Vine
@@ -24,6 +24,7 @@ BuildRequires: libxml2-devel
 BuildRequires: sed
 BuildRequires: zlib-devel
 BuildRequires: keyutils-libs-devel
+BuildRequires: xmlto
 
 %description
 neon is an HTTP and WebDAV client library, with a C interface;
@@ -55,7 +56,7 @@ C言語による HTTP と WebDAV クライアントのライブラリの開発
 ## to build compat32 for x86_64 architecture support
 %package -n compat32-%{name}
 Summary: C language HTTP and WebDAV client library.
-Group: system
+Group: system,legacy
 Requires: expat
 Requires: zlib >= 1.1.4
 
@@ -65,7 +66,7 @@ A C language HTTP and WebDAV client library.
 
 %package -n compat32-%{name}-devel
 Summary: A C language HTTP and WebDAV client library.
-Group: programming
+Group: programming,legacy
 Requires: compat32-%{name} = %{version}
 Requires: compat32-zlib-devel
 #Requires: compat32-openssl-devel
@@ -89,6 +90,7 @@ The development library for the C language HTTP and WebDAV client library.
 #	-e 's/type = t/cert_&/' \
 #	-i src/ne_gnutls.c
 
+
 %build
 %configure \
 	--with-expat \
@@ -109,6 +111,9 @@ sed -ri "/^dependency_libs/{s,-l[^ ']*,,g}" \
 
 %find_lang %{name}
 
+rm -rf pkgdoc
+mv -f %{buildroot}%{_docdir}/neon-%{version} ./pkgdoc
+
 ## remove unuse files
 rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 
@@ -117,18 +122,14 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -rf $RPM_BUILD_ROOT
 
 
-%ldconfig_scriptlets
-%ldconfig_scriptlets -n compat32-%{name}
-
-
 %files -f %{name}.lang
 %defattr(-,root,root)
-%doc AUTHORS BUGS ChangeLog INSTALL.win32 NEWS README THANKS TODO
-%doc doc/html
+%doc AUTHORS BUGS ChangeLog INSTALL.win32 NEWS README.md THANKS TODO
 %{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root)
+%doc pkgdoc/*
 %{_bindir}/*
 %{_includedir}/*
 %{_mandir}/man1/*
@@ -152,6 +153,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Nov 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.32.1-1
+- new upstream release.
+- dropped ldconfig scriptlets.
+
 * Sun Feb 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.31.2-1
 - new upstream release.