Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 315727 Details for
Bug 426751
Review Request: ghc-X11 - A Haskell binding to the X11 graphics library.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
ghc-X11.spec+macros
ghc-X11.spec (text/plain), 4.05 KB, created by
Jens Petersen
on 2008-09-04 09:05:08 UTC
(
hide
)
Description:
ghc-X11.spec+macros
Filename:
MIME Type:
Creator:
Jens Petersen
Created:
2008-09-04 09:05:08 UTC
Size:
4.05 KB
patch
obsolete
>%define _cabal %{_bindir}/runghc Setup > >%define ghc_autotools(lf:p:) \ >echo %{-p*} %{-f*} \ >if [ -f configure.ac -a ! -f configure ]; then autoreconf; fi \ >%{_cabal} configure --prefix=%{_prefix} --libdir=%{_libdir} --docdir=%{_docdir}/%{name}-%{version} --libsubdir='$compiler/$pkgid' %{-f:--flags%{-f*}} --%{-p:%{-p*}}-library-profiling --ghc \ >%{-l:if %{_cabal} makefile -f cabal-rpm.mk \ >then \ > make -f cabal-rpm.mk %{_smp_mflags} || : \ >fi }\ >%{nil} > >%define ghc_build \ >%{_cabal} build \ >%{nil} > >%define ghc_haddock \ >%{_cabal} haddock || : \ >%{nil} > >%define ghc_gen_scripts \ >%{_cabal} register --gen-script \ >%{_cabal} unregister --gen-script \ >%{nil} > >%define ghc_install \ >%{_cabal} copy --destdir=${RPM_BUILD_ROOT} \ >%{nil} > >%define ghc_install_scripts \ >install -m 755 register.sh unregister.sh ${RPM_BUILD_ROOT}%{pkg_libdir} \ >%{nil} > >%define ghc_gen_filelists() \ >pushd ${RPM_BUILD_ROOT} \ >echo "%defattr(-,root,root,-)" > %1-files.prof \ >find .%{pkg_libdir} \\\( -name '*_p.a' -o -name '*.p_hi' \\\) | sed s/^.// >> %1-files.prof \ >echo "%defattr(-,root,root,-)" > %1-files \ >find .%{pkg_libdir} -type d | sed 's/^./%dir /' >> %1-files \ >find .%{pkg_libdir} ! \\\( -type d -o -name '*_p.a' -o -name '*.p_hi' \\\) | sed s/^.// >> %1-files \ >sed 's,^/,%exclude /,' %{ghc_tar_dir}/%1-files.prof >> %1-files \ >pushd \ >%{nil} > >%define ghc_preinst_script \ >[ "$1" = 2 ] && %{pkg_libdir}/unregister.sh >&/dev/null || : \ >%{nil} > >%define ghc_postinst_script \ >%{pkg_libdir}/register.sh >&/dev/null \ >%{nil} > >%define ghc_preun_script \ >%{pkg_libdir}/unregister.sh >&/dev/null \ >%{nil} > >%define ghc_postun_script \ >[ "$1" = 1 ] && %{pkg_libdir}/register.sh >& /dev/null || : \ >%{nil} > > >%define hsc_name ghc >%define hsc_version 6.8.3 >%define pkg_name X11 >%define pkg_libdir %{_libdir}/%{hsc_name}-%{hsc_version}/%{pkg_name}-%{version} > >%define debug_package %{nil} >#Haskell compilers do not traditionally emit DWARF data. > >Name: %{hsc_name}-%{pkg_name} >Version: 1.4.2 >Release: 1%{?dist} >License: BSD >Group: Development/Libraries >URL: http://darcs.haskell.org/X11 >Source: X11-1.4.2.tar.gz >Summary: A binding to the X11 graphics library >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) >Requires: ghc = %{hsc_version} >BuildRequires: ghc = %{hsc_version} >BuildRequires: ghc-prof >BuildRequires: haddock >BuildRequires: libXinerama-devel, libX11-devel, libXext-devel >Requires: libX11-devel libX11-devel, libXext-devel ># Makes sure anyone who installed a package ynemoy built while developing the guidelines ># won't have it around anymore. >Obsoletes: ghc-x11 > > >%description >A Haskell binding to the X11 graphics library. > >The binding is a direct translation of the C binding; for >documentation of these calls, refer to "The Xlib Programming >Manual", available online at <http://tronche.com/gui/x/xlib/>. > > >%package -n %{hsc_name}-%{pkg_name}-prof >Summary: Profiling libraries for %{hsc_name}-%{pkg_name} >Group: Development/Libraries >Requires: %{hsc_name}-%{pkg_name} = %{version} > > >%description -n %{hsc_name}-%{pkg_name}-prof >A Haskell binding to the X11 graphics library. > >The binding is a direct translation of the C binding; for >documentation of these calls, refer to "The Xlib Programming >Manual", available online at <http://tronche.com/gui/x/xlib/>. > >This package contains profiling libraries for %{hsc_name} %{hsc_version}. > > >%prep >%setup -q -n %{pkg_name}-%{version} > > >%build >%ghc_autotools -l -p enable >%ghc_build >%ghc_haddock >%ghc_gen_scripts > > >%install >rm -rf ${RPM_BUILD_ROOT} >%ghc_install >%ghc_install_scripts >%ghc_gen_filelists %{name} > >cd ${RPM_BUILD_ROOT}/%{_datadir}/doc/%{hsc_name}-%{pkg_name}-%{version} >rm -rf doc LICENSE > > >%clean >rm -rf ${RPM_BUILD_ROOT} > > >%pre >%ghc_preinst_script > > >%post >%ghc_postinst_script > > >%preun >%ghc_preun_script > > >%postun >%ghc_postun_script > > >%files -f %{name}-files >%doc dist/doc/html >%doc LICENSE > > >%files -n %{hsc_name}-%{pkg_name}-prof -f %{name}-files.prof >%%doc LICENSE > > >%changelog >* Tue Sep 2 2008 Yaakov M. Nemoy <yankee@koan> - 1.4.2-1 >- updated to 1.4.2 > >* Thu Aug 28 2008 cabal-rpm <cabal-devel@haskell.org> - 1.4.1-1 >- spec file autogenerated by cabal-rpm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 426751
:
293024
|
314784
|
315171
| 315727 |
315734
|
315852
|
331958
|
333489
|
334452