Changes of Revision 2
[-] | Changed | libtheora.spec |
x 1
2 + 3 # norootforbuild 4 5 %define addprov libtheora 6
7 %define addprovenc libtheoraenc 8 %define nameenc libtheoraenc1 9 10 -%define ver 1.0.final 11 -%define rel 1 12 - 13 Name: %{name} 14 -# Packmandepends: libogg libvorbis 15 -Summary: ogg/theora video codec library 16 -Summary(de): ogg/theora Videocodec-Bibliothek 17 -Version: %{ver} 18 -Release: %{rel} 19 +Summary: Ogg/theora video codec library 20 +Summary(de): Ogg/theora Videocodec-Bibliothek 21 +Version: 1.1.0 22 +Release: 3 23 License: BSD 3-Clause 24 Group: Productivity/Multimedia/Other 25 Url: http://www.xiph.org/ 26 - 27 -Source0: libtheora-1.0.tar.bz2 28 - 29 +Source0: libtheora-%{version}.tar.bz2 30 +Vendor: Packman 31 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 32 BuildRequires: gcc 33 +BuildRequires: xorg-x11-libs 34 +BuildRequires: xorg-x11-devel 35 BuildRequires: libogg >= 1.1 36 BuildRequires: libogg-devel >= 1.1 37 BuildRequires: libvorbis >= 1.0.1 38 BuildRequires: libvorbis-devel >= 1.0.1 39 BuildRequires: SDL 40 BuildRequires: SDL-devel 41 -Obsoletes: %{addprov} <= %{version} 42 +Obsoletes: %{addprov} < %{version} 43 Provides: %{addprov} = %{version}-%{release} 44 45 %description 46
47 48 %package -n %{namedec} 49 Group: System/Libraries 50 -Summary: libtheora %{namedec} 51 +Summary: Theora %{namedec} 52 Provides: %{addprovdec} = %{version}-%{release} 53 54 %description -n %{namedec} 55 +Theora is Xiph.Org's first publicly released video codec, intended 56 +for use within the Ogg's project's Ogg multimedia streaming system. 57 +Theora is derived directly from On2's VP3 codec. 58 libtheora %{namedec} shared library 59 60 %description -n %{namedec} -l de 61 +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür 62 +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt 63 +zu werden. Theora wurde direkt von On2s VP3 Codec abgeleitet. 64 libtheora %{namedec} Bibliothek 65 66 67 %package -n %{nameenc} 68 Group: System/Libraries 69 -Summary: libtheora %{nameenc} 70 +Summary: Theora %{nameenc} 71 Provides: %{addprovenc} = %{version}-%{release} 72 73 %description -n %{nameenc} 74 +Theora is Xiph.Org's first publicly released video codec, intended 75 +for use within the Ogg's project's Ogg multimedia streaming system. 76 +Theora is derived directly from On2's VP3 codec. 77 libtheora %{nameenc} shared library 78 79 %description -n %{nameenc} -l de 80 +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür 81 +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt 82 +zu werden. Theora wurde direkt von On2s VP3 Codec abgeleitet. 83 libtheora %{nameenc} Bibliothek 84 85 86 -%package -n libtheora-utils 87 -Summary: ogg/theora utilities 88 -Summary(de): ogg/theora Programme 89 +%package -n theora-utils 90 +Summary: Ogg/theora utilities 91 +Summary(de): Ogg/theora Programme 92 Group: Productivity/Multimedia/Other 93 Requires: %{name} = %{version}-%{release} 94 Requires: %{namedec} = %{version}-%{release} 95 Requires: %{nameenc} = %{version}-%{release} 96 97 -%description -n libtheora-utils 98 -ogg/theora utilities 99 +%description -n theora-utils 100 +Theora is Xiph.Org's first publicly released video codec, intended 101 +for use within the Ogg's project's Ogg multimedia streaming system. 102 +Theora is derived directly from On2's VP3 codec. 103 +Ogg/theora utilities 104 105 -%description -n libtheora-utils -l de 106 -ogg/theora Programme 107 +%description -n theora-utils -l de 108 +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür 109 +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt 110 +zu werden. Theora wurde direkt von On2s VP3 Codec a 111 +ff8 112 +bgeleitet. 113 +Ogg/theora Programme 114 115 116 %package -n libtheora-devel 117 -Summary: ogg/theora development package 118 -Summary(de): ogg/theora Entwicklerpaket 119 +Summary: Ogg/theora development package 120 +Summary(de): Ogg/theora Entwicklerpaket 121 Group: Development/Libraries/C and C++ 122 Requires: %{name} = %{version}-%{release} 123 Requires: %{namedec} = %{version}-%{release} 124
125 Requires: SDL-devel 126 127 %description -n libtheora-devel 128 -ogg/theora development package 129 +Theora is Xiph.Org's first publicly released video codec, intended 130 +for use within the Ogg's project's Ogg multimedia streaming system. 131 +Theora is derived directly from On2's VP3 codec. 132 +Ogg/theora development package 133 134 %description -n libtheora-devel -l de 135 -ogg/theora Entwicklerpaket 136 +Theora ist Xiph.Orgs erster frei veröffentlichter Vidoeocodec, dafür 137 +geeignet um im Ogg-Projekt "Ogg Multimedia Streaming System" eingesetzt 138 +zu werden. Theora wurde direkt von On2s VP3 Codec abgeleitet. 139 +Ogg/theora Entwicklerpaket 140 141 %debug_package 142 143 %prep 144 -%setup -q -n libtheora-1.0 145 +%setup -q -n libtheora-%{version} 146 147 %build 148 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" 149
150 %{__make} %{?jobs:-j%{jobs}} docdir=%{_docdir}/%{name} 151 152 %install 153 -%__make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install 154 +[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} 155 +mkdir %{buildroot} 156 +%{makeinstall} docdir=%{_docdir}/%{name} 157 %{__install} -d ${RPM_BUILD_ROOT}%{_bindir} 158 # Use non-generic name here to prevent vague meaning: 159 %{__install} examples/.libs/dump_video ${RPM_BUILD_ROOT}%{_bindir}/dump_video_theora 160 %{__install} examples/.libs/encoder_example ${RPM_BUILD_ROOT}%{_bindir}/encoder_example_theora 161 %{__install} examples/.libs/player_example ${RPM_BUILD_ROOT}%{_bindir}/player_example_theora 162 -# And provide symlinks to old names (<= openSUSE 10.2): 163 -%if 0%{?suse_version} <= 1020 164 -pushd ${RPM_BUILD_ROOT}%{_bindir} && %{__ln_s} dump_video_theora ${RPM_BUILD_ROOT}%{_bindir}/dump_video && popd 165 -pushd ${RPM_BUILD_ROOT}%{_bindir} && %{__ln_s} encoder_example_theora ${RPM_BUILD_ROOT}%{_bindir}/encoder_example && popd 166 -pushd ${RPM_BUILD_ROOT}%{_bindir} && %{__ln_s} player_example_theora ${RPM_BUILD_ROOT}%{_bindir}/player_example && popd 167 -%endif 168 # Install remaining parts of documentation. 169 %{__cp} -a AUTHORS CHANGES COPYING LICENSE README ${RPM_BUILD_ROOT}%{_docdir}/%{name} 170 cd examples 171
172 %{__cp} -a . ${RPM_BUILD_ROOT}%{_docdir}/%{name}/examples 173 cd ${RPM_BUILD_ROOT}%{_docdir}/%{name}/examples 174 %{__rm} -rf .deps Makefile* 175 +%{__rm} -f %{buildroot}/%{_libdir}/*.a 176 +%{__rm} -f %{buildroot}/%{_docdir}/%{name}/doxygen-build.stamp 177 178 %check 179 %{__make} check 180
181 182 %post -p /sbin/ldconfig 183 %postun -p /sbin/ldconfig 184 - 185 %post -n %{namedec} -p /sbin/ldconfig 186 %postun -n %{namedec} -p /sbin/ldconfig 187 - 188 %post -n %{nameenc} -p /sbin/ldconfig 189 %postun -n %{nameenc} -p /sbin/ldconfig 190 191
192 %defattr(-,root,root) 193 %{_libdir}/libtheoraenc.so.1* 194 195 -%files -n libtheora-utils 196 +%files -n theora-utils 197 %defattr(-, root, root) 198 %{_bindir}/* 199 200
201 |
||
Changed | libtheora-1.1.0.tar.bz2 ^ |