Merge branch 'f13-conditional-doc-builds-single' into f14

* f13-conditional-doc-builds-single:
  Add '--without doc' conditional for faster test builds

Conflicts:
	erlang.spec
This commit is contained in:
Hans Ulrich Niedermann 2010-08-02 17:18:29 +02:00
commit 76f2f7ffaa

View File

@ -2,11 +2,13 @@
# Do NOT change %%{upstream_rel} unless UPSTREAM has actually changed it!
%global upstream_rel 0
%bcond_without doc
%global n_uvr %{name}-%{upstream_ver}-%{upstream_rel}
Name: erlang
Version: %{upstream_ver}
Release: %{upstream_rel}.5%{?dist}
Release: %{upstream_rel}.6%{?dist}
Summary: General-purpose programming language and runtime environment
Group: Development/Languages
@ -972,7 +974,9 @@ pushd xemacs-erlang
popd
make
%if %{with doc}
make docs
%endif
%install
@ -1005,7 +1009,9 @@ rm -f "$RPM_BUILD_ROOT%{_xemacs_sitelispdir}/erlang/erlang-flymake.el"
install -m 0644 xemacs-erlang/*.elc "$RPM_BUILD_ROOT%{_xemacs_sitelispdir}/erlang/"
make DESTDIR=$RPM_BUILD_ROOT install
%if %{with doc}
make DESTDIR=$RPM_BUILD_ROOT install-docs
%endif
# fix 0775 permission on some directories
find $RPM_BUILD_ROOT%{_libdir}/erlang/lib/ssl-*/examples/ -type d -perm 0775 | xargs chmod 755
@ -1013,6 +1019,7 @@ find $RPM_BUILD_ROOT%{_libdir}/erlang/lib/kernel-*/examples/uds_dist -type d -pe
chmod 0755 $RPM_BUILD_ROOT%{_libdir}/erlang/bin
# Relocate doc-files into the proper directory
%if %{with doc}
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{n_uvr}/lib
pushd .
cd $RPM_BUILD_ROOT%{_libdir}/erlang
@ -1025,6 +1032,7 @@ cp -av AUTHORS EPLICENCE README.md $RPM_BUILD_ROOT%{_docdir}/%{n_uvr}
mv -v $RPM_BUILD_ROOT%{_libdir}/erlang/PR.template $RPM_BUILD_ROOT%{_docdir}/%{n_uvr}
mv -v $RPM_BUILD_ROOT%{_libdir}/erlang/README $RPM_BUILD_ROOT%{_docdir}/%{n_uvr}
mv -v $RPM_BUILD_ROOT%{_libdir}/erlang/COPYRIGHT $RPM_BUILD_ROOT%{_docdir}/%{n_uvr}
%endif
# Win32-specific man-pages
rm -f $RPM_BUILD_ROOT%{_libdir}/erlang/man/man1/erlsrv.*
@ -1050,6 +1058,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%if %{with doc}
%dir %{_docdir}/%{n_uvr}/
%doc %{_docdir}/%{n_uvr}/AUTHORS
%doc %{_docdir}/%{n_uvr}/COPYRIGHT
@ -1057,11 +1066,14 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_docdir}/%{n_uvr}/PR.template
%doc %{_docdir}/%{n_uvr}/README
%doc %{_docdir}/%{n_uvr}/README.md
%endif
%files appmon
%defattr(-,root,root)
%{_libdir}/erlang/lib/appmon-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/appmon.*
%endif
%files asn1
%defattr(-,root,root)
@ -1069,12 +1081,15 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/asn1-*/ebin
%{_libdir}/erlang/lib/asn1-*/priv
%{_libdir}/erlang/lib/asn1-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/asn1ct.*
%{_libdir}/erlang/man/man3/asn1rt.*
%endif
%files common_test
%defattr(-,root,root)
%{_libdir}/erlang/lib/common_test-*/
%if %{with doc}
%{_libdir}/erlang/man/man1/run_test.*
%{_libdir}/erlang/man/man3/ct.*
%{_libdir}/erlang/man/man3/ct_cover.*
@ -1087,15 +1102,19 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/ct_telnet.*
%{_libdir}/erlang/man/man3/unix_telnet.*
%{_libdir}/erlang/man/man6/common_test.*
%endif
%files compiler
%defattr(-,root,root)
%{_libdir}/erlang/lib/compiler-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/compile.*
%endif
%files cosEvent
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosEvent-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/cosEventApp.*
%{_libdir}/erlang/man/man3/CosEventChannelAdmin.*
%{_libdir}/erlang/man/man3/CosEventChannelAdmin_ConsumerAdmin.*
@ -1105,28 +1124,34 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/CosEventChannelAdmin_ProxyPushConsumer.*
%{_libdir}/erlang/man/man3/CosEventChannelAdmin_ProxyPushSupplier.*
%{_libdir}/erlang/man/man3/CosEventChannelAdmin_SupplierAdmin.*
%endif
%files cosEventDomain
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosEventDomain-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/CosEventDomainAdmin.*
%{_libdir}/erlang/man/man3/CosEventDomainAdmin_EventDomain.*
%{_libdir}/erlang/man/man3/CosEventDomainAdmin_EventDomainFactory.*
%{_libdir}/erlang/man/man3/cosEventDomainApp.*
%endif
%files cosFileTransfer
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosFileTransfer-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/cosFileTransferApp.*
%{_libdir}/erlang/man/man3/CosFileTransfer_Directory.*
%{_libdir}/erlang/man/man3/CosFileTransfer_File.*
%{_libdir}/erlang/man/man3/CosFileTransfer_FileIterator.*
%{_libdir}/erlang/man/man3/CosFileTransfer_FileTransferSession.*
%{_libdir}/erlang/man/man3/CosFileTransfer_VirtualFileSystem.*
%endif
%files cosNotification
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosNotification-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/CosNotification.*
%{_libdir}/erlang/man/man3/CosNotification_AdminPropertiesAdmin.*
%{_libdir}/erlang/man/man3/cosNotificationApp.*
@ -1155,10 +1180,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/CosNotifyFilter_FilterAdmin.*
%{_libdir}/erlang/man/man3/CosNotifyFilter_FilterFactory.*
%{_libdir}/erlang/man/man3/CosNotifyFilter_MappingFilter.*
%endif
%files cosProperty
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosProperty-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/cosProperty.*
%{_libdir}/erlang/man/man3/CosPropertyService_PropertiesIterator.*
%{_libdir}/erlang/man/man3/CosPropertyService_PropertyNamesIterator.*
@ -1166,20 +1193,24 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/CosPropertyService_PropertySetDef.*
%{_libdir}/erlang/man/man3/CosPropertyService_PropertySetDefFactory.*
%{_libdir}/erlang/man/man3/CosPropertyService_PropertySetFactory.*
%endif
%files cosTime
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosTime-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/cosTime.*
%{_libdir}/erlang/man/man3/CosTimerEvent_TimerEventHandler.*
%{_libdir}/erlang/man/man3/CosTimerEvent_TimerEventService.*
%{_libdir}/erlang/man/man3/CosTime_TimeService.*
%{_libdir}/erlang/man/man3/CosTime_TIO.*
%{_libdir}/erlang/man/man3/CosTime_UTO.*
%endif
%files cosTransactions
%defattr(-,root,root)
%{_libdir}/erlang/lib/cosTransactions-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/cosTransactions.*
%{_libdir}/erlang/man/man3/CosTransactions_Control.*
%{_libdir}/erlang/man/man3/CosTransactions_Coordinator.*
@ -1188,19 +1219,24 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/CosTransactions_SubtransactionAwareResource.*
%{_libdir}/erlang/man/man3/CosTransactions_Terminator.*
%{_libdir}/erlang/man/man3/CosTransactions_TransactionFactory.*
%endif
%files crypto
%defattr(-,root,root)
%{_libdir}/erlang/lib/crypto-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/crypto.*
%{_libdir}/erlang/man/man6/crypto.*
%endif
%files debugger
%defattr(-,root,root)
%{_libdir}/erlang/lib/debugger-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/debugger.*
%{_libdir}/erlang/man/man3/i.*
%{_libdir}/erlang/man/man3/int.*
%endif
%files dialyzer
%defattr(-,root,root)
@ -1208,32 +1244,40 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/bin/dialyzer
%{_libdir}/erlang/erts-*/bin/dialyzer
%{_libdir}/erlang/lib/dialyzer-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/dialyzer.*
%endif
%files doc
%defattr(-,root,root)
%if %{with doc}
%doc %{_docdir}/%{n_uvr}/doc
%doc %{_docdir}/%{n_uvr}/erts-*/
%doc %{_docdir}/%{n_uvr}/lib/
%endif
%files docbuilder
%defattr(-,root,root)
%{_libdir}/erlang/lib/docbuilder-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/docb_gen.*
%{_libdir}/erlang/man/man3/docb_transform.*
%{_libdir}/erlang/man/man3/docb_xml_check.*
%{_libdir}/erlang/man/man6/docbuilder.*
%endif
%files edoc
%defattr(-,root,root)
%{_libdir}/erlang/lib/edoc-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/edoc.*
%{_libdir}/erlang/man/man3/edoc_doclet.*
%{_libdir}/erlang/man/man3/edoc_extract.*
%{_libdir}/erlang/man/man3/edoc_layout.*
%{_libdir}/erlang/man/man3/edoc_lib.*
%{_libdir}/erlang/man/man3/edoc_run.*
%endif
%files erl_docgen
%defattr(-,root,root)
@ -1242,6 +1286,7 @@ rm -rf $RPM_BUILD_ROOT
%files erl_interface
%defattr(-,root,root)
%{_libdir}/erlang/lib/erl_interface-*/
%if %{with doc}
%{_libdir}/erlang/man/man1/erl_call.*
%{_libdir}/erlang/man/man3/ei.*
%{_libdir}/erlang/man/man3/ei_connect.*
@ -1253,6 +1298,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/erl_malloc.*
%{_libdir}/erlang/man/man3/erl_marshal.*
%{_libdir}/erlang/man/man3/registry.*
%endif
%files erts
%defattr(-,root,root)
@ -1261,12 +1307,14 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_libdir}/erlang/
%dir %{_libdir}/erlang/bin/
%dir %{_libdir}/erlang/lib/
%if %{with doc}
%dir %{_libdir}/erlang/man/
%dir %{_libdir}/erlang/man/man1/
%dir %{_libdir}/erlang/man/man3/
%dir %{_libdir}/erlang/man/man4/
%dir %{_libdir}/erlang/man/man6/
%dir %{_libdir}/erlang/man/man7/
%endif
%dir %{_libdir}/erlang/releases/
%{_bindir}/epmd
@ -1312,6 +1360,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/erts-*/lib
%{_libdir}/erlang/erts-*/src
%{_libdir}/erlang/lib/erts-*/
%if %{with doc}
%{_libdir}/erlang/man/man1/epmd.*
%{_libdir}/erlang/man/man1/erl.*
%{_libdir}/erlang/man/man1/erlc.*
@ -1327,6 +1376,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/erts_alloc.*
%{_libdir}/erlang/man/man3/init.*
%{_libdir}/erlang/man/man3/zlib.*
%endif
%{_libdir}/erlang/releases/*
%{_libdir}/erlang/usr/
@ -1336,18 +1386,22 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/et-*/ebin
%{_libdir}/erlang/lib/et-*/include
%{_libdir}/erlang/lib/et-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/et.*
%{_libdir}/erlang/man/man3/et_collector.*
%{_libdir}/erlang/man/man3/et_selector.*
%{_libdir}/erlang/man/man3/et_viewer.*
%endif
%files eunit
%defattr(-,root,root)
%dir %{_libdir}/erlang/lib/eunit-*/
%{_libdir}/erlang/lib/eunit-*/ebin
%{_libdir}/erlang/lib/eunit-*/include
%if %{with doc}
%{_libdir}/erlang/man/man3/eunit.*
%{_libdir}/erlang/man/man3/eunit_surefire.*
%endif
%files examples
%defattr(-,root,root)
@ -1376,7 +1430,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/gs-*/ebin
%{_libdir}/erlang/lib/gs-*/priv
%{_libdir}/erlang/lib/gs-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/gs.*
%endif
%files hipe
%defattr(-,root,root)
@ -1389,9 +1445,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/ic-*/include
%{_libdir}/erlang/lib/ic-*/priv
%{_libdir}/erlang/lib/ic-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/ic.*
%{_libdir}/erlang/man/man3/ic_clib.*
%{_libdir}/erlang/man/man3/ic_c_protocol.*
%endif
%files inets
%defattr(-,root,root)
@ -1399,6 +1457,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/inets-*/ebin
%{_libdir}/erlang/lib/inets-*/priv
%{_libdir}/erlang/lib/inets-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/ftp.*
%{_libdir}/erlang/man/man3/httpc.*
%{_libdir}/erlang/man/man3/httpd.*
@ -1411,16 +1470,19 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/mod_esi.*
%{_libdir}/erlang/man/man3/mod_security.*
%{_libdir}/erlang/man/man3/tftp.*
%endif
%files inviso
%defattr(-,root,root)
%{_libdir}/erlang/lib/inviso-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/inviso.*
%{_libdir}/erlang/man/man3/inviso_as_lib.*
%{_libdir}/erlang/man/man3/inviso_lfm.*
%{_libdir}/erlang/man/man3/inviso_lfm_tpfreader.*
%{_libdir}/erlang/man/man3/inviso_rt.*
%{_libdir}/erlang/man/man3/inviso_rt_meta.*
%endif
%files jinterface
%defattr(-,root,root)
@ -1432,6 +1494,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/kernel-*/ebin
%{_libdir}/erlang/lib/kernel-*/include
%{_libdir}/erlang/lib/kernel-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/application.*
%{_libdir}/erlang/man/man3/auth.*
%{_libdir}/erlang/man/man3/code.*
@ -1465,6 +1528,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man4/app.*
%{_libdir}/erlang/man/man4/config.*
%{_libdir}/erlang/man/man6/kernel.*
%endif
%files megaco
%defattr(-,root,root)
@ -1473,6 +1537,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/megaco-*/include
%{_libdir}/erlang/lib/megaco-*/priv
%{_libdir}/erlang/lib/megaco-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/megaco.*
%{_libdir}/erlang/man/man3/megaco_codec_meas.*
%{_libdir}/erlang/man/man3/megaco_codec_mstone1.*
@ -1485,6 +1550,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/megaco_transport.*
%{_libdir}/erlang/man/man3/megaco_udp.*
%{_libdir}/erlang/man/man3/megaco_user.*
%endif
%files mnesia
%defattr(-,root,root)
@ -1492,21 +1558,27 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/mnesia-*/ebin
%{_libdir}/erlang/lib/mnesia-*/include
%{_libdir}/erlang/lib/mnesia-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/mnesia.*
%{_libdir}/erlang/man/man3/mnesia_frag_hash.*
%{_libdir}/erlang/man/man3/mnesia_registry.*
%endif
%files observer
%defattr(-,root,root)
%{_libdir}/erlang/lib/observer-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/crashdump.*
%{_libdir}/erlang/man/man3/ttb.*
%{_libdir}/erlang/man/man6/observer.*
%endif
%files odbc
%defattr(-,root,root)
%{_libdir}/erlang/lib/odbc-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/odbc.*
%endif
%files orber
%defattr(-,root,root)
@ -1517,6 +1589,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/orber-*/java_src
%{_libdir}/erlang/lib/orber-*/priv
%{_libdir}/erlang/lib/orber-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/CosNaming.*
%{_libdir}/erlang/man/man3/CosNaming_BindingIterator.*
%{_libdir}/erlang/man/man3/CosNaming_NamingContext.*
@ -1535,51 +1608,66 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/orber_diagnostics.*
%{_libdir}/erlang/man/man3/orber_ifr.*
%{_libdir}/erlang/man/man3/orber_tc.*
%endif
%files os_mon
%defattr(-,root,root)
%{_libdir}/erlang/lib/os_mon-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/cpu_sup.*
%{_libdir}/erlang/man/man3/disksup.*
%{_libdir}/erlang/man/man3/memsup.*
%{_libdir}/erlang/man/man3/os_mon_mib.*
%{_libdir}/erlang/man/man3/os_sup.*
%{_libdir}/erlang/man/man6/os_mon.*
%endif
%files otp_mibs
%defattr(-,root,root)
%{_libdir}/erlang/lib/otp_mibs-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/otp_mib.*
%endif
%files parsetools
%defattr(-,root,root)
%{_libdir}/erlang/lib/parsetools-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/leex.*
%{_libdir}/erlang/man/man3/yecc.*
%endif
%files percept
%defattr(-,root,root)
%{_libdir}/erlang/lib/percept-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/egd.*
%{_libdir}/erlang/man/man3/percept.*
%{_libdir}/erlang/man/man3/percept_profile.*
%endif
%files pman
%defattr(-,root,root)
%{_libdir}/erlang/lib/pman-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/pman.*
%endif
%files public_key
%defattr(-,root,root)
%{_libdir}/erlang/lib/public_key-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/public_key.*
%endif
%files reltool
%defattr(-,root,root)
%dir %{_libdir}/erlang/lib/reltool-*/
%{_libdir}/erlang/lib/reltool-*/ebin
%{_libdir}/erlang/lib/reltool-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/reltool.*
%endif
%files rpm-macros
%defattr(-,root,root)
@ -1592,13 +1680,16 @@ rm -rf $RPM_BUILD_ROOT
%files runtime_tools
%defattr(-,root,root)
%{_libdir}/erlang/lib/runtime_tools-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/dbg.*
%{_libdir}/erlang/man/man3/erts_alloc_config.*
%{_libdir}/erlang/man/man6/runtime_tools.*
%endif
%files sasl
%defattr(-,root,root)
%{_libdir}/erlang/lib/sasl-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/alarm_handler.*
%{_libdir}/erlang/man/man3/overload.*
%{_libdir}/erlang/man/man3/rb.*
@ -1609,6 +1700,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man4/relup.*
%{_libdir}/erlang/man/man4/script.*
%{_libdir}/erlang/man/man6/sasl.*
%endif
%files snmp
%defattr(-,root,root)
@ -1618,6 +1710,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/snmp-*/mibs
%{_libdir}/erlang/lib/snmp-*/priv
%{_libdir}/erlang/lib/snmp-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/snmp.*
%{_libdir}/erlang/man/man3/snmpa.*
%{_libdir}/erlang/man/man3/snmpa_conf.*
@ -1665,15 +1758,18 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man7/SNMPv2-TM.*
%{_libdir}/erlang/man/man7/SNMP-VIEW-BASED-ACM-MIB.*
%{_libdir}/erlang/man/man7/STANDARD-MIB.*
%endif
%files ssh
%defattr(-,root,root)
%{_libdir}/erlang/lib/ssh-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/ssh.*
%{_libdir}/erlang/man/man3/ssh_channel.*
%{_libdir}/erlang/man/man3/ssh_connection.*
%{_libdir}/erlang/man/man3/ssh_sftp.*
%{_libdir}/erlang/man/man3/ssh_sftpd.*
%endif
%files ssl
%defattr(-,root,root)
@ -1681,9 +1777,11 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/ssl-*/ebin
%{_libdir}/erlang/lib/ssl-*/priv
%{_libdir}/erlang/lib/ssl-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/old_ssl.*
%{_libdir}/erlang/man/man3/ssl.*
%{_libdir}/erlang/man/man6/ssl.*
%endif
%files stdlib
%defattr(-,root,root)
@ -1691,6 +1789,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/stdlib-*/ebin
%{_libdir}/erlang/lib/stdlib-*/include
%{_libdir}/erlang/lib/stdlib-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/array.*
%{_libdir}/erlang/man/man3/base64.*
%{_libdir}/erlang/man/man3/beam_lib.*
@ -1751,11 +1850,13 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/unicode.*
%{_libdir}/erlang/man/man3/zip.*
%{_libdir}/erlang/man/man6/stdlib.*
%endif
%files syntax_tools
%defattr(-,root,root)
%dir %{_libdir}/erlang/lib/syntax_tools-*/
%{_libdir}/erlang/lib/syntax_tools-*/ebin
%if %{with doc}
%{_libdir}/erlang/man/man3/epp_dodger.*
%{_libdir}/erlang/man/man3/erl_comment_scan.*
%{_libdir}/erlang/man/man3/erl_prettypr.*
@ -1765,18 +1866,23 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/erl_tidy.*
%{_libdir}/erlang/man/man3/igor.*
%{_libdir}/erlang/man/man3/prettypr.*
%endif
%files test_server
%defattr(-,root,root)
%{_libdir}/erlang/lib/test_server-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/test_server.*
%{_libdir}/erlang/man/man3/test_server_ctrl.*
%{_libdir}/erlang/man/man6/test_server.*
%endif
%files toolbar
%defattr(-,root,root)
%{_libdir}/erlang/lib/toolbar-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/toolbar.*
%endif
%files tools
%defattr(-,root,root)
@ -1786,6 +1892,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/tools-*/emacs
%{_libdir}/erlang/lib/tools-*/priv
%{_libdir}/erlang/lib/tools-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/cover.*
%{_libdir}/erlang/man/man3/cprof.*
%{_libdir}/erlang/man/man3/eprof.*
@ -1796,11 +1903,14 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/make.*
%{_libdir}/erlang/man/man3/tags.*
%{_libdir}/erlang/man/man3/xref.*
%endif
%files tv
%defattr(-,root,root)
%{_libdir}/erlang/lib/tv-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/tv.*
%endif
%files typer
%defattr(-,root,root)
@ -1812,8 +1922,10 @@ rm -rf $RPM_BUILD_ROOT
%files webtool
%defattr(-,root,root)
%{_libdir}/erlang/lib/webtool-*/
%if %{with doc}
%{_libdir}/erlang/man/man1/start_webtool.*
%{_libdir}/erlang/man/man3/webtool.*
%endif
%files wx
%defattr(-,root,root)
@ -1822,6 +1934,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/lib/wx-*/include
%{_libdir}/erlang/lib/wx-*/priv
%{_libdir}/erlang/lib/wx-*/src
%if %{with doc}
%{_libdir}/erlang/man/man3/gl.*
%{_libdir}/erlang/man/man3/glu.*
%{_libdir}/erlang/man/man3/wx.*
@ -2037,10 +2150,12 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/wxWindowDC.*
%{_libdir}/erlang/man/man3/wxWindowDestroyEvent.*
%{_libdir}/erlang/man/man3/wxXmlResource.*
%endif
%files xmerl
%defattr(-,root,root)
%{_libdir}/erlang/lib/xmerl-*/
%if %{with doc}
%{_libdir}/erlang/man/man3/xmerl.*
%{_libdir}/erlang/man/man3/xmerl_eventp.*
%{_libdir}/erlang/man/man3/xmerl_sax_parser.*
@ -2048,6 +2163,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/erlang/man/man3/xmerl_xpath.*
%{_libdir}/erlang/man/man3/xmerl_xs.*
%{_libdir}/erlang/man/man3/xmerl_xsd.*
%endif
%files -n emacs-erlang
%defattr(-,root,root,-)
@ -2073,6 +2189,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Aug 2 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - R14A-0.6
- Implement '--without doc' conditional for faster test builds (#618245).
* Fri Jul 30 2010 Hans Ulrich Niedermann <hun@n-dimensional.de> - R14A-0.5
- Properly hook up (X)Emacs erlang-mode (#491165)