|
|
796159 |
Name: libmetalink
|
|
|
796159 |
Version: 0.1.3
|
|
|
796159 |
Release: 7%{?dist}
|
|
|
796159 |
Summary: Metalink library written in C
|
|
|
796159 |
Group: System Environment/Libraries
|
|
|
796159 |
License: MIT
|
|
|
796159 |
URL: https://launchpad.net/libmetalink
|
|
|
796159 |
Source0: https://launchpad.net/libmetalink/trunk/%{name}-%{version}/+download/%{name}-%{version}.tar.bz2
|
|
|
796159 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
796159 |
BuildRequires: gcc
|
|
|
796159 |
BuildRequires: git
|
|
|
796159 |
BuildRequires: expat-devel
|
|
|
796159 |
BuildRequires: CUnit-devel
|
|
|
796159 |
|
|
|
796159 |
Patch0: 0001-fix-covscan-issues.patch
|
|
|
796159 |
|
|
|
796159 |
%description
|
|
|
796159 |
libmetalink is a Metalink C library. It adds Metalink functionality such as
|
|
|
796159 |
parsing Metalink XML files to programs written in C.
|
|
|
796159 |
|
|
|
796159 |
%package devel
|
|
|
796159 |
Summary: Files needed for developing with %{name}
|
|
|
796159 |
Group: Development/Libraries
|
|
|
796159 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
796159 |
|
|
|
796159 |
%description devel
|
|
|
796159 |
Files needed for building applications with libmetalink.
|
|
|
796159 |
|
|
|
796159 |
%prep
|
|
|
796159 |
%autosetup -S git
|
|
|
796159 |
|
|
|
796159 |
%build
|
|
|
796159 |
%configure --disable-static
|
|
|
796159 |
make %{?_smp_mflags}
|
|
|
796159 |
|
|
|
796159 |
%check
|
|
|
796159 |
make check
|
|
|
796159 |
|
|
|
796159 |
%install
|
|
|
796159 |
rm -rf $RPM_BUILD_ROOT
|
|
|
796159 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
796159 |
find $RPM_BUILD_ROOT -name *.la -exec rm {} \;
|
|
|
796159 |
|
|
|
796159 |
%ldconfig_scriptlets
|
|
|
796159 |
|
|
|
796159 |
%files
|
|
|
796159 |
%defattr(-,root,root,-)
|
|
|
796159 |
%{!?_licensedir:%global license %%doc}
|
|
|
796159 |
%license COPYING
|
|
|
796159 |
%doc README
|
|
|
796159 |
%{_libdir}/libmetalink.so.*
|
|
|
796159 |
|
|
|
796159 |
|
|
|
796159 |
%files devel
|
|
|
796159 |
%defattr(-,root,root,-)
|
|
|
796159 |
%dir %{_includedir}/metalink/
|
|
|
796159 |
%{_includedir}/metalink/metalink_error.h
|
|
|
796159 |
%{_includedir}/metalink/metalink.h
|
|
|
796159 |
%{_includedir}/metalink/metalink_parser.h
|
|
|
796159 |
%{_includedir}/metalink/metalink_types.h
|
|
|
796159 |
%{_includedir}/metalink/metalinkver.h
|
|
|
796159 |
%{_libdir}/libmetalink.so
|
|
|
796159 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
796159 |
%{_mandir}/man3/*
|
|
|
796159 |
|
|
|
796159 |
|
|
|
796159 |
%changelog
|
|
|
796159 |
* Tue Jul 24 2018 Martin Sehnoutka <msehnout@redhat.com> - 0.1.3-7
|
|
|
796159 |
- Resolves: #1606986 Fix issues found by covscan
|
|
|
796159 |
|
|
|
796159 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-6
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.3-5
|
|
|
796159 |
- Switch to %%ldconfig_scriptlets
|
|
|
796159 |
|
|
|
796159 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-4
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-3
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.3-2
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Wed Nov 16 2016 Alejandro Alvarez <aalvarez@cern.ch> - 0.1.3-1
|
|
|
796159 |
- New upstream release
|
|
|
796159 |
|
|
|
796159 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-9
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-8
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-7
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 0.1.2-6
|
|
|
796159 |
- fix license handling
|
|
|
796159 |
|
|
|
796159 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Thu Jun 13 2013 Alejandro Alvarez <aalvarez@cern.ch> - 0.1.2-3
|
|
|
796159 |
- Added BuildRequires: CUnit-devel
|
|
|
796159 |
- Added %%check section
|
|
|
796159 |
- Removed %%defattr
|
|
|
796159 |
- Moved man pages to devel package. There is no need for -doc
|
|
|
796159 |
|
|
|
796159 |
* Mon Jun 10 2013 Alejandro Alvarez <aalvarez@cern.ch> - 0.1.2-2
|
|
|
796159 |
- Escaped macros in changelog
|
|
|
796159 |
- Changed packages summaries
|
|
|
796159 |
- Renamed -docs to -doc, and changed its group to Documentation
|
|
|
796159 |
- Fixed -devel dependencies
|
|
|
796159 |
- Removed -docs dependency on the main package
|
|
|
796159 |
- All header files specified explicitly
|
|
|
796159 |
|
|
|
796159 |
* Mon Apr 22 2013 Alejandro Alvarez <aalvarez@cern.ch> - 0.1.2-1
|
|
|
796159 |
- Updated for new upstream release
|
|
|
796159 |
- Man pages moved to libmetalink-docs package
|
|
|
796159 |
|
|
|
796159 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-7
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-6
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.3-5
|
|
|
796159 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
796159 |
|
|
|
796159 |
* Thu May 07 2009 Ant Bryan <anthonybryan at gmail.com> - 0.0.3-4
|
|
|
796159 |
- Remove Provides: libmetalink-static = %%{version}-%%{release}
|
|
|
796159 |
|
|
|
796159 |
* Tue May 06 2009 Ant Bryan <anthonybryan at gmail.com> - 0.0.3-3
|
|
|
796159 |
- Use %%{_docdir} instead of /usr/share/doc
|
|
|
796159 |
- Own /usr/include/metalink
|
|
|
796159 |
|
|
|
796159 |
* Wed Apr 29 2009 Ant Bryan <anthonybryan at gmail.com> - 0.0.3-2
|
|
|
796159 |
- Incorporate suggested changes: remove .la files, --disable static.
|
|
|
796159 |
|
|
|
796159 |
* Mon Apr 27 2009 Ant Bryan <anthonybryan at gmail.com> - 0.0.3-1
|
|
|
796159 |
- Initial package, 0.0.3.
|
|
|
796159 |
|