|
Alec Leamas |
cda1c2b |
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
Alec Leamas |
cda1c2b |
|
|
Alec Leamas |
1575355 |
Name: adobe-source-libraries
|
|
Alec Leamas |
1575355 |
Version: 1.0.43
|
|
Petr Machata |
af24423 |
Release: 24%{?dist}
|
|
Alec Leamas |
7aea722 |
|
|
Alec Leamas |
1575355 |
Summary: General purpose C++ libraries
|
|
Alec Leamas |
1575355 |
Group: System Environment/Libraries
|
|
Alec Leamas |
1575355 |
# License breakdown: http://stlab.adobe.com/licenses.html
|
|
Alec Leamas |
1575355 |
License: MIT
|
|
Alec Leamas |
1575355 |
URL: http://stlab.adobe.com/
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
Source0: http://downloads.sourceforge.net/project/adobe-source/adobe-source/%{version}/asl_%{version}.tgz
|
|
Alec Leamas |
1575355 |
# pkg-config(1) configuration file, part of packaging.
|
|
Alec Leamas |
1575355 |
Source1: adobe-source-libraries.pc
|
|
Alec Leamas |
7aea722 |
Source2: README.fedora
|
|
Alec Leamas |
1575355 |
# https://sourceforge.net/tracker/?func=detail&aid=3487687&group_id=132417&atid=724218
|
|
Alec Leamas |
da7ddb4 |
# (pathch0, patch1)
|
|
Alec Leamas |
1575355 |
Patch0: asl-gcc.patch
|
|
Alec Leamas |
1575355 |
Patch1: asl-fedora-build-options.patch
|
|
Alec Leamas |
da7ddb4 |
# https://svn.boost.org/trac/boost/ticket/4647
|
|
Alec Leamas |
da7ddb4 |
Patch2: asl-no-concept-check1043.patch
|
|
Alec Leamas |
279addb |
# https://svn.boost.org/trac/boost/ticket/6940
|
|
Alec Leamas |
279addb |
Patch3: asl-time-utc.patch
|
|
Alec Leamas |
af5b0ab |
Patch4: asl-boost-1.50.patch
|
|
Alec Leamas |
57a0aac |
Patch5: asl-C11.patch
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
BuildRequires: boost-build
|
|
Alec Leamas |
1575355 |
BuildRequires: boost-devel
|
|
Alec Leamas |
1575355 |
BuildRequires: doxygen
|
|
Alec Leamas |
1575355 |
BuildRequires: tbb-devel
|
|
Alec Leamas |
1575355 |
BuildRequires: texlive-dvips texlive-latex
|
|
Alec Leamas |
1575355 |
|
|
|
6958ec0 |
# needs to match TBB
|
|
|
c86b11c |
ExcludeArch: s390 s390x
|
|
|
6958ec0 |
|
|
Alec Leamas |
1575355 |
%description
|
|
Alec Leamas |
1575355 |
ASL provides peer-reviewed and portable C++ source libraries. The
|
|
Alec Leamas |
1575355 |
libraries are intended to be widely useful, leveraging and extending
|
|
Alec Leamas |
1575355 |
both the C++ Standard Library and the Boost Libraries.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%package devel
|
|
Alec Leamas |
1575355 |
Summary: Development files for %{name}
|
|
Alec Leamas |
1575355 |
Group: Development/Libraries
|
|
Alec Leamas |
1575355 |
Requires: %{name} = %{version}-%{release}
|
|
Alec Leamas |
1575355 |
Requires: pkgconfig
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%description devel
|
|
Alec Leamas |
1575355 |
Libraries and header files for developing applications that
|
|
Alec Leamas |
1575355 |
use %{name}.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%package doc
|
|
Alec Leamas |
1575355 |
Summary: Documentation
|
|
Alec Leamas |
1575355 |
Group: Development/Libraries
|
|
Alec Leamas |
1575355 |
Requires: %{name} = %{version}-%{release}
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%description doc
|
|
Alec Leamas |
1575355 |
API and other documentation for Adobe Source Libraries (ASL).
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%prep
|
|
Alec Leamas |
1575355 |
%setup -qn source_release
|
|
Alec Leamas |
1575355 |
%patch0 -p1
|
|
Alec Leamas |
1575355 |
%patch1 -p1
|
|
Alec Leamas |
da7ddb4 |
%patch2 -p1
|
|
Alec Leamas |
279addb |
%patch3 -p1
|
|
Alec Leamas |
f41c4c0 |
%patch4 -p1
|
|
Alec Leamas |
57a0aac |
%patch5 -p1
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
find . \( -name *.hpp -o -name *.jpg \) -executable -exec chmod 644 {} \;
|
|
Alec Leamas |
1575355 |
iconv -f iso8859-1 -t utf-8 release_notes.txt > release_notes.txt.conv && \
|
|
Alec Leamas |
1575355 |
mv -f release_notes.txt.conv release_notes.txt
|
|
Alec Leamas |
1575355 |
chmod 644 LICENSE_1_0_0.txt
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
sed -i 's/@optflags@/%{optflags}/g' jamroot.jam
|
|
Alec Leamas |
1575355 |
sed -i 's/@version@/%{version}/g' %{SOURCE1}
|
|
Alec Leamas |
57a0aac |
mv boost-build.jam boost-build.nojam
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%build
|
|
Alec Leamas |
1575355 |
# Using static lib (relinked in next step) due to soname problems:
|
|
Alec Leamas |
1575355 |
# https://svn.boost.org/trac/boost/ticket/2746.
|
|
Alec Leamas |
1575355 |
bjam link=static toolset=gcc variant=release asl_dev
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
rm -rf tmp; mkdir tmp; cd tmp
|
|
Alec Leamas |
1575355 |
ar x ../../built_artifacts/*/*/*/*/threading-multi/libasl_dev.a
|
|
Alec Leamas |
1575355 |
gcc -shared -g -Wl,-soname=libasl_dev.so.%{version} -Wl,-as-needed \
|
|
Alec Leamas |
1575355 |
*.o -o ../libasl_dev.so.%{version} \
|
|
Petr Machata |
5a1485c |
-lboost_thread -lboost_signals -lboost_filesystem
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
#bjam link=static toolset=gcc variant=release documentation/examples
|
|
Alec Leamas |
1575355 |
cd ../documentation
|
|
Alec Leamas |
1575355 |
./build_docs.pl
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%install
|
|
Alec Leamas |
e491bd9 |
cp %SOURCE2 .
|
|
Alec Leamas |
1575355 |
cd documentation
|
|
Alec Leamas |
1575355 |
rm -f build_docs.pl
|
|
Alec Leamas |
1575355 |
find . -name *.dox -delete
|
|
Alec Leamas |
1575355 |
rm -rf asl doxygen_support_files doxyfile performance stldoc \
|
|
Alec Leamas |
1575355 |
structure tutorials widget_lib
|
|
Alec Leamas |
1575355 |
# https://sourceforge.net/projects/adobe-source/forums/forum/449268/topic/5126565
|
|
Alec Leamas |
1575355 |
[ -s performance/index.html ] || rm -f performance/index.html
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
mkdir -p %{buildroot}%{_datadir}/doc/%{name}-%{version}
|
|
Alec Leamas |
1575355 |
cd ..
|
|
Alec Leamas |
1575355 |
mv documentation %{buildroot}%{_datadir}/doc/%{name}-%{version}
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
Alec Leamas |
1575355 |
cp %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig
|
|
Alec Leamas |
1575355 |
mkdir -p %{buildroot}%{_includedir}
|
|
Alec Leamas |
1575355 |
cp -ar adobe %{buildroot}%{_includedir}
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
sofile=libasl_dev.so.%{version}
|
|
Alec Leamas |
1575355 |
mkdir -p %{buildroot}%{_libdir}
|
|
Alec Leamas |
1575355 |
install -m 755 $sofile %{buildroot}%{_libdir}
|
|
Alec Leamas |
1575355 |
cd %{buildroot}%{_libdir}
|
|
Alec Leamas |
1575355 |
ln -sf $sofile ${sofile%%.*}
|
|
Alec Leamas |
1575355 |
ln -sf $sofile ${sofile%%.*.*}
|
|
Alec Leamas |
1575355 |
ln -sf $sofile ${sofile%%.*.*.*}
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%post -p /sbin/ldconfig
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%postun -p /sbin/ldconfig
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%files
|
|
Alec Leamas |
e491bd9 |
%doc LICENSE_1_0_0.txt read_me.html release_notes.txt README.fedora
|
|
Alec Leamas |
1575355 |
%{_libdir}/*.so.*
|
|
Alec Leamas |
cda1c2b |
%exclude %{_pkgdocdir}/documentation
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%files devel
|
|
Alec Leamas |
1575355 |
%{_includedir}/*
|
|
Alec Leamas |
1575355 |
%{_libdir}/*.so
|
|
Alec Leamas |
1575355 |
%{_libdir}/pkgconfig/*.pc
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%files doc
|
|
Alec Leamas |
1575355 |
%doc %{_datadir}/doc/%{name}-%{version}/documentation
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
%changelog
|
|
Petr Machata |
af24423 |
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 1.0.43-24
|
|
Petr Machata |
af24423 |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
af24423 |
|
|
|
c86b11c |
* Sat Oct 25 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.43-23
|
|
|
c86b11c |
- sync tbb arches
|
|
|
c86b11c |
|
|
|
0669d43 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.43-22
|
|
|
0669d43 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
0669d43 |
|
|
|
fcd6f9a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.43-21
|
|
|
fcd6f9a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
fcd6f9a |
|
|
Petr Machata |
e7a0b55 |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 1.0.43-20
|
|
Petr Machata |
e7a0b55 |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
e7a0b55 |
|
|
Alec Leamas |
cda1c2b |
* Sat Aug 09 2013 Alec Leamas <leamas@nowhere.net> - 1.0.43-19
|
|
Alec Leamas |
cda1c2b |
- Fix f20 unversioned docdir glitch
|
|
Alec Leamas |
cda1c2b |
|
|
|
1ba92eb |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.43-18
|
|
|
1ba92eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
1ba92eb |
|
|
Petr Machata |
5a1485c |
* Sat Jul 27 2013 Petr Machata <pmachata@redhat.com> - 1.0.43-17
|
|
Petr Machata |
20151ba |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
5a1485c |
- Boost package doesn't use tagged sonames anymore, drop the -mt
|
|
Petr Machata |
5a1485c |
suffix from linker command line.
|
|
Petr Machata |
20151ba |
|
|
Petr Machata |
5e06e1c |
* Fri May 24 2013 Petr Machata <pmachata@redhat.com> - 1.0.43-16
|
|
Petr Machata |
5e06e1c |
- Rebuild for TBB memory barrier bug
|
|
Petr Machata |
5e06e1c |
|
|
Alec Leamas |
57a0aac |
* Sat Feb 16 2013 Alec Leamas <leamas@nowhere.net> - 1.0.43-15
|
|
Alec Leamas |
57a0aac |
- Patching for new gcc version (C11 compatibility).
|
|
Alec Leamas |
57a0aac |
|
|
|
eba2f60 |
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.0.43-14
|
|
|
eba2f60 |
- Rebuild for Boost-1.53.0
|
|
|
eba2f60 |
|
|
Alec Leamas |
c64b274 |
* Thu Aug 3 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-13
|
|
Alec Leamas |
c64b274 |
- Updating to boost 1.50.
|
|
Alec Leamas |
c64b274 |
|
|
Alec Leamas |
279addb |
* Thu Aug 3 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-12
|
|
Alec Leamas |
279addb |
- Handling boost bug 6940
|
|
|
127694d |
|
|
Alec Leamas |
d3ec279 |
* Thu Apr 5 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-11
|
|
Alec Leamas |
d3ec279 |
- Fixing hard-coded version in .pc file
|
|
Alec Leamas |
d3ec279 |
|
|
Alec Leamas |
7aea722 |
* Tue Apr 3 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-10
|
|
Alec Leamas |
7aea722 |
- Adding README.fedora, typos in spec fixed.
|
|
Alec Leamas |
7aea722 |
|
|
|
6958ec0 |
* Sun Apr 1 2012 Dan HorĂ¡k <dan[at]danny.cz> 1.0.43-9
|
|
|
6958ec0 |
- set ExclusiveArch to match TBB
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
da7ddb4 |
* Wed Mar 28 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-8
|
|
Alec Leamas |
da7ddb4 |
- Adding Patch2: Relaxing certain tests to fit bombono-dvd
|
|
Alec Leamas |
da7ddb4 |
|
|
Alec Leamas |
1575355 |
* Tue Mar 20 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-7
|
|
Alec Leamas |
1575355 |
- Removing remaining documentation sources, minor fixes
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Mon Mar 19 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-7
|
|
Alec Leamas |
1575355 |
- Removing documentation from base package (%%exclude)
|
|
Alec Leamas |
1575355 |
- Removing .dox files from documentation
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Mon Mar 19 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-7
|
|
Alec Leamas |
1575355 |
- Fixing bad source URL.
|
|
Alec Leamas |
1575355 |
- Handling empty performance/index.html
|
|
Alec Leamas |
1575355 |
- Moving documentation.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Sun Mar 18 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-6
|
|
Alec Leamas |
1575355 |
- Using boost-build, purging get-source.sh, related clean-up.
|
|
Alec Leamas |
1575355 |
- Source0 refers directly to sourceforge.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Sat Mar 17 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-5
|
|
Alec Leamas |
1575355 |
- Updating get-source.sh to exclude APL.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Fri Mar 16 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-5.fc15
|
|
Alec Leamas |
1575355 |
- Updating get-source.sh (wrong version packed in v4)
|
|
Alec Leamas |
1575355 |
- Comments update, renamed patch0.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Sun Feb 19 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-4.fc15
|
|
Alec Leamas |
1575355 |
- Fixing David Timms's comment #12.
|
|
Alec Leamas |
1575355 |
- Removing unused parts of bundled boost in get-source.sh.
|
|
Alec Leamas |
1575355 |
- Documenting boost bundling in spec file.
|
|
Alec Leamas |
1575355 |
- Several patches removed, not required anymore.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Thu Feb 16 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-3.fc15
|
|
Alec Leamas |
1575355 |
- Even better handling of instruction set (removed it).
|
|
Alec Leamas |
1575355 |
- Factored out fedora flags to new patch.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Wed Feb 15 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-2.fc15
|
|
Alec Leamas |
1575355 |
- Fixed linkage problems in installed package.
|
|
Alec Leamas |
1575355 |
- Better handling of instruction set in %%prep.
|
|
Alec Leamas |
1575355 |
|
|
Alec Leamas |
1575355 |
* Fri Feb 10 2012 Alec Leamas <leamas@nowhere.net> 1.0.43-1.fc15
|
|
Alec Leamas |
1575355 |
- Initial package
|