Package libmetalink: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | # BEGIN SourceDeps(oneline): BuildRequires: libxml2-devel # END SourceDeps(oneline) Group: System/Libraries %add_optflags %optflags_shared # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} Name: libmetalink Version: 0.1.3 Release: alt1_13 Summary: Metalink library written in C License: MIT URL: https://launchpad.net/libmetalink Source0: https://launchpad.net/libmetalink/trunk/%{name}-%{version}/+download/%{name}-%{version}.tar.bz2 # https://bugs.launchpad.net/libmetalink/+bug/1888672 Patch0: libmetalink-0.1.3-ns_uri.patch BuildRequires: gcc BuildRequires: libexpat-devel BuildRequires: CUnit-devel Source44: import.info %description libmetalink is a Metalink C library. It adds Metalink functionality such as parsing Metalink XML files to programs written in C. %package devel Group: Development/Other Summary: Files needed for developing with %{name} Requires: %{name} = %{version}-%{release} %description devel Files needed for building applications with libmetalink. %prep %setup -q %patch0 -p1 %build %configure --disable-static %make_build %check make check %install %makeinstall_std find $RPM_BUILD_ROOT -name *.la -exec rm {} \; %files %{!?_licensedir:%global license %%doc} %doc --no-dereference COPYING %doc README %{_libdir}/libmetalink.so.* %files devel %dir %{_includedir}/metalink/ %{_includedir}/metalink/metalink_error.h %{_includedir}/metalink/metalink.h %{_includedir}/metalink/metalink_parser.h %{_includedir}/metalink/metalink_types.h %{_includedir}/metalink/metalinkver.h %{_libdir}/libmetalink.so %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/* %changelog * Sat Dec 26 2020 Igor Vlasenko <viy@altlinux.ru> 0.1.3-alt1_13 - update to new release by fcimport * Mon May 07 2018 Igor Vlasenko <viy@altlinux.ru> 0.1.3-alt1_6 - update to new release by fcimport * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 0.1.3-alt1_4 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.1.3-alt1_2 - update to new release by fcimport * Mon Dec 19 2016 Igor Vlasenko <viy@altlinux.ru> 0.1.3-alt1_1 - update to new release by fcimport * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 0.1.2-alt1_9 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.1.2-alt1_8 - update to new release by fcimport * Mon Dec 22 2014 Igor Vlasenko <viy@altlinux.ru> 0.1.2-alt1_7 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.1.2-alt1_5 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.1.2-alt1_4 - update to new release by fcimport * Fri Jun 21 2013 Igor Vlasenko <viy@altlinux.ru> 0.1.2-alt1_3 - update to new release by fcimport * Wed Jun 13 2012 Igor Vlasenko <viy@altlinux.ru> 0.0.3-alt3_7 - fixed build * Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 0.0.3-alt2_7 - update to new release by fcimport * Fri Dec 23 2011 Igor Vlasenko <viy@altlinux.ru> 0.0.3-alt2_6 - spec cleanup thanks to ldv@ * Sat Dec 17 2011 Igor Vlasenko <viy@altlinux.ru> 0.0.3-alt1_6 - initial import by fcimport |