diff --git a/README.md b/README.md index d602d8b..c279f4d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xmlsec1 +XML Security Library is a C library based on LibXML2. The library supports major XML security standards. + diff --git a/xmlsec1.spec b/xmlsec1.spec new file mode 100644 index 0000000..f7dfb53 --- /dev/null +++ b/xmlsec1.spec @@ -0,0 +1,94 @@ +Name: xmlsec1 +Version: 1.2.25 +Release: 1mamba +Summary: XML Security Library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: https://www.aleksey.com/xmlsec/index.html +Source: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 xmlsec1' to get the list of build requirements. +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +XML Security Library is a C library based on LibXML2. The library supports major XML security standards. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/xmlsec1 +%{_bindir}/xmlsec1-config +%{_libdir}/xmlsec1Conf.sh +%{_datadir}/doc/xmlsec1/images/*.png +%{_datadir}/doc/xmlsec1/api/*.png +%{_datadir}/doc/xmlsec1/api/images/*.png +%{_datadir}/doc/xmlsec1/api/*.html +%{_datadir}/doc/xmlsec1/*.html +%{_datadir}/doc/xmlsec1/favicon.ico +%{_datadir}/doc/xmlsec1/images/*.gif +%{_mandir}/man1/*.1.gz +%doc AUTHORS COPYING + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/*.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/xmlsec1/xmlsec/*.h +%{_includedir}/xmlsec1/xmlsec/gcrypt/*.h +%{_includedir}/xmlsec1/xmlsec/nss/*.h +%{_includedir}/xmlsec1/xmlsec/openssl/*.h +%{_includedir}/xmlsec1/xmlsec/gnutls/*.h +%{_includedir}/xmlsec1/xmlsec/private/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/aclocal/*.m4 +%doc ChangeLog NEWS README TODO + + +%changelog +* Tue Sep 12 2017 Ercole 'ercolinux' Carpanetto 1.2.25-1mamba +- package created using the webbuild interface