diff --git a/.cvsignore b/.cvsignore index e69de29..bc08fb7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +orc-0.4.4.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..0bf66ec --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +orc-0_4_4-2_fc14:F-13:orc-0.4.4-2.fc14.src.rpm:1271248678 diff --git a/orc.spec b/orc.spec new file mode 100644 index 0000000..d72f25a --- /dev/null +++ b/orc.spec @@ -0,0 +1,146 @@ +Name: orc +Version: 0.4.4 +Release: 2%{?dist} +Summary: The Oil Run-time Compiler + +Group: System Environment/Libraries +License: BSD +URL: http://code.entropywave.com/projects/orc/ +Source0: http://code.entropywave.com/download/orc/orc-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: gtk-doc, libtool + + +%description +Orc is a library and set of tools for compiling and executing +very simple programs that operate on arrays of data. The "language" +is a generic assembly language that represents many of the features +available in SIMD architectures, including saturated addition and +subtraction, and many arithmetic operations. + +%package doc +Summary: Documentation for Orc +Group: Development/Languages +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for Orc. + +%package devel +Summary: Development files and static libraries for Orc +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-compiler +Requires: pkgconfig + +%description devel +This package contains the files needed to build packages that depend +on orc. + +%package compiler +Summary: Orc compiler +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description compiler +The Orc compiler, to produce optimized code. + + + +%prep +%setup -q + +autoreconf -vif + + +%build +%configure --disable-static --enable-gtk-doc + +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} INSTALL="install -p" + +# Remove unneeded files. +find %{buildroot}/%{_libdir} -name \*.a -or -name \*.la -delete +rm -rf %{buildroot}/%{_libdir}/orc + +touch -r stamp-h1 %{buildroot}%{_includedir}/%{name}-0.4/orc/orc-stdint.h + + +%clean +rm -rf %{buildroot} + + +%check +make check + + +%post -p /sbin/ldconfig + + +%postun -p /sbin/ldconfig + + + +%files +%defattr(-,root,root,-) +%doc COPYING README +%{_libdir}/liborc-*.so.* + +%files doc +%defattr(-,root,root,-) +%doc %{_datadir}/gtk-doc/html/orc/ + +%files devel +%defattr(-,root,root,-) +%doc examples/*.c +%{_includedir}/%{name}-0.4/ +%{_libdir}/liborc-*.so +%{_libdir}/pkgconfig/orc-0.4.pc + +%files compiler +%defattr(-,root,root,-) +%{_bindir}/orcc + + + +%changelog +* Mon Apr 05 2010 Fabian Deutsch - 0.4.4-2 +- Docs as noarch. +- Sanitize timestamps of header files. +- orcc in -compiler subpackage. + +* Tue Mar 30 2010 Fabian Deutsch - 0.4.4-1 +- Updated to 0.4.4: Includes bugfixes for x86_64. + +* Wed Mar 17 2010 Fabian Deutsch - 0.4.3-2 +- Running autoreconf to prevent building problems. +- Added missing files to docs. +- Added examples to devel docs. + +* Thu Mar 04 2010 Fabian Deutsch - 0.4.3-1 +- Updated to 0.4.3 + +* Sun Oct 18 2009 Fabian Deutsch - 0.4.2-4 +- Removed unused libdir + +* Sun Oct 18 2009 Fabian Deutsch - 0.4.2-3 +- Specfile cleanup +- Removed tools subpackage +- Added docs subpackage + +* Sat Oct 03 2009 Fabian Deutsch - 0.4.2-2 +- Use orc as pakage name +- spec-file cleanup +- Added devel requirements +- Removed an rpath issue + +* Fri Oct 02 2009 Fabian Deutsch - 0.4.2-1 +- Initial release + diff --git a/sources b/sources index e69de29..ed6509b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +35f3b7283f391ab8ade7f94332940414 orc-0.4.4.tar.gz