Changeset 1664 for branches/fc13-dev


Ignore:
Timestamp:
Sep 19, 2010, 10:11:54 PM (14 years ago)
Author:
andersk
Message:
Split zephyr into subpackages, and install 32-bit zephyr-libs
Location:
branches/fc13-dev/server/fedora
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/fc13-dev/server/fedora/Makefile

    r1637 r1664  
    2222hackage         = MonadCatchIO-mtl-0.3.0.1 cgi-3001.1.8.1 unix-handle-0.0.0
    2323upstream_hackage = ghc-MonadCatchIO-mtl ghc-cgi ghc-unix-handle
    24 upstream        = openafs $(upstream_yum) $(upstream_hackage) moira cluster-glue heartbeat pacemaker zephyr
     24upstream        = openafs $(upstream_yum) $(upstream_hackage) moira cluster-glue heartbeat pacemaker zephyr zephyr.i686
    2525oursrc          = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i686 whoisd athrun php_scripts scripts-wizard scripts-base scripts-static-cat
    2626allsrc          = $(upstream) $(oursrc)
  • branches/fc13-dev/server/fedora/specs/zephyr.spec

    r1635 r1664  
    11Name:           zephyr
    22Version:        3.0
    3 Release:        1.%{scriptsversion}%{?dist}
    4 Summary:        Zephyr allows users to send messages to other users or to groups of users.
     3Release:        0.%{scriptsversion}%{?dist}
     4Summary:        Client programs for the Zephyr real-time messaging system
    55
    66Group:          Applications/Communications
     
    1212
    1313BuildRequires:  krb5-devel hesiod-devel libss-devel readline-devel bison
     14Requires:       %{name}-libs = %{version}-%{release}
    1415Requires(post): chkconfig
    1516Requires(preun): chkconfig
     
    2425
    2526
     27%package        server
     28Summary:        Server for the Zephyr real-time messaging system
     29Group:          System Environment/Daemons
     30
     31Requires:       %{name}-libs = %{version}-%{release}
     32
     33%description    server
     34The %{name}-server package contains the server daemon for the Zephyr
     35messaging service.  It maintains a location and subscription database
     36for all the receiving clients, and routes all zephyrgrams to the
     37intended recipients.
     38
     39
     40%package        libs
     41Summary:        Shared libraries for Zephyr real-time messaging system
     42Group:          System Environment/Libraries
     43
     44%description    libs
     45The %{name}-libs package contains shared libraries for applications
     46that use %{name}.
     47
     48
     49%package        devel
     50Summary:        Development files for Zephyr real-time messaging system
     51Group:          Development/Libraries
     52
     53Requires:       %{name}-libs = %{version}-%{release}
     54
     55%description    devel
     56The %{name}-devel package contains libraries and header files for
     57developing applications that use %{name}.
     58
     59
    2660%prep
    2761%setup -q
     
    3266# Mitch wants to make an awesome specfile which makes hesiod/krb5 and friends
    3367# all fully configurable.  This configure line will have to do for now.
    34 %configure --with-hesiod --with-krb5
     68%configure --with-hesiod --with-krb5 --disable-static
    3569sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
    3670sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
     
    4175rm -rf $RPM_BUILD_ROOT
    4276make install DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir}
     77find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
    4378
    4479mkdir -p $RPM_BUILD_ROOT%{_initddir}
     
    6499
    65100
     101%post           libs -p /sbin/ldconfig
     102
     103%postun         libs -p /sbin/ldconfig
     104
     105
    66106%clean
    67107rm -rf $RPM_BUILD_ROOT
     
    70110%files
    71111%defattr(-,root,root,-)
    72 %doc README NOTES OPERATING USING
     112%doc README USING
    73113%{_bindir}/*
    74 %{_sbindir}/*
    75 %{_includedir}/%{name}/
    76 %{_libdir}/*
     114%{_sbindir}/zhm
     115%{_sbindir}/zshutdown_notify
    77116%{_mandir}/man1/*
    78 %{_mandir}/man8/*
    79 %{_datadir}/%{name}/
    80 %{_sysconfdir}/%{name}/
     117%{_mandir}/man8/zhm.8*
     118%{_mandir}/man8/zstat.8*
     119%{_mandir}/man8/zshutdown_notify.8*
     120%{_datadir}/zephyr
    81121%{_initddir}/zhm
    82122
    83123
     124%files          server
     125%doc OPERATING
     126%{_sysconfdir}/zephyr
     127%{_sbindir}/zephyrd
     128%{_mandir}/man8/zephyrd.8*
     129
     130
     131%files          libs
     132%{_libdir}/*.so.*
     133
     134
     135%files          devel
     136%{_libdir}/*.so
     137%{_includedir}/*
     138
     139
    84140%changelog
     141* Sun Sep 19 2010 Anders Kaseorg <andersk@mit.edu> - 3.0-0
     142- Decrease version below a hypothetical Fedora package.
     143- Split out -server, -libs, and -devel into subpackages.
     144- Disable the static library and remove the libtool archive.
     145
    85146* Thu Sep 09 2010 Edward Z. Yang <ezyang@mit.edu> 3.0-1
    86147- Initial packaging release, superseding mit-zephyr.
Note: See TracChangeset for help on using the changeset viewer.