Пакет libsratom: 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 117 118 119 | # BEGIN SourceDeps(oneline): BuildRequires: waf # END SourceDeps(oneline) %add_optflags %optflags_shared %define oldname sratom # %%oldname or %%version is ahead of its definition. Predefining for rpm 4.0 compatibility. %define name sratom %define version 0.4.6 %global maj 0 %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{oldname}-%{version}} Name: libsratom Version: 0.4.6 Release: alt1_4 Summary: A C library for serializing LV2 plugins Group: System/Libraries License: MIT URL: http://drobilla.net/software/%{oldname}/ Source0: http://download.drobilla.net/%{oldname}-%{version}.tar.bz2 BuildRequires: python BuildRequires: doxygen BuildRequires: graphviz BuildRequires: sord-devel >= 0.12.0 BuildRequires: lv2-devel >= 1.0.0 Source44: import.info Provides: sratom = %{version}-%{release} %description %{oldname} is a new C library for serializing LV2 atoms to/from Turtle. It is intended to be a full serialization solution for LV2 atoms, allowing implementations to serialize binary atoms to strings and read them back again. This is particularly useful for saving plugin state, or implementing plugin control with network transparency. %package devel Summary: Development libraries and headers for %{oldname} Group: Development/C Requires: %{name} = %{version} Provides: sratom-devel = %{version}-%{release} %description devel %{oldname} is a C library for serializing LV2 atoms to/from Turtle. It is intended to be a full serialization solution for LV2 atoms, allowing implementations to serialize binary atoms to strings and read them back again. This is particularly useful for saving plugin state, or implementing plugin control with network transparency. This package contains the headers and development libraries for %{oldname}. %prep %setup -n %{oldname}-%{version} -q # for packagers sake, build the tests with debug symbols sed -i -e "s| '-ftest-coverage'\]|\ '-ftest-coverage'\] + '%{optflags}'.split(' ')|" wscript %build export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./waf configure -v \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --datadir=%{_datadir} \ --docdir=%{_docdir}/%{oldname} \ --test \ --docs ./waf build -v %{?_smp_mflags} %install DESTDIR=%{buildroot} ./waf install chmod +x %{buildroot}%{_libdir}/lib%{oldname}-0.so.* install -pm 644 COPYING NEWS README %{buildroot}%{_docdir}/%{oldname} # tests failing - see http://dev.drobilla.net/ticket/832 #%%check #./build/sratom_test %files %{_docdir}/%{oldname} %exclude %{_docdir}/%{oldname}/%{oldname}-%{maj}/ %{_libdir}/lib%{oldname}-%{maj}.so.* %files devel %{_docdir}/%{oldname}/%{oldname}-%{maj}/ %{_libdir}/lib%{oldname}-%{maj}.so %{_libdir}/pkgconfig/%{oldname}-%{maj}.pc %{_includedir}/%{oldname}-%{maj}/ %{_mandir}/man3/* %changelog * Mon Feb 15 2016 Igor Vlasenko <viy@altlinux.ru> 0.4.6-alt1_4 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.4.6-alt1_3 - update to new release by fcimport * Mon Oct 27 2014 Igor Vlasenko <viy@altlinux.ru> 0.4.6-alt1_2 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 0.4.4-alt1_2 - update to new release by fcimport * Thu Jan 16 2014 Igor Vlasenko <viy@altlinux.ru> 0.4.4-alt1_1 - update to new release by fcimport * Fri Jan 03 2014 Igor Vlasenko <viy@altlinux.ru> 0.4.2-alt1_6 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.2-alt1_5 - update to new release by fcimport * Sun May 26 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.2-alt1_4 - update to new release by fcimport * Tue Mar 26 2013 Igor Vlasenko <viy@altlinux.ru> 0.2.0-alt1_5 - fc import |