[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/mod_annodex/devel annodex.conf, NONE, 1.1 mod_annodex.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: thomasvs

Update of /cvs/extras/rpms/mod_annodex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12700/devel

Modified Files:
	.cvsignore sources 
Added Files:
	annodex.conf mod_annodex.spec 
Log Message:
auto-import mod_annodex-0.2.2-2.fc4 on branch devel from mod_annodex-0.2.2-2.fc4.src.rpm


--- NEW FILE annodex.conf ---
LoadModule annodex_module /usr/lib/httpd/modules/mod_annodex.so

# mod_annodex
<IfModule mod_annodex.c>
  # Enable mod_annodex for all .anx files
  AddHandler annodex .anx
</IfModule>


--- NEW FILE mod_annodex.spec ---
Name:           mod_annodex
Version:        0.2.2
Release:        2%{?dist}
Summary:        Apache module for server-side support of annodex media

Group:          System Environment/Daemons
License:        Apache Software License
URL:		http://www.annodex.net/
Source:		http://www.annodex.net/software/mod_annodex/download/%{name}-ap20-%{version}.tar.gz
Source1:	annodex.conf
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	libannodex-devel
BuildRequires:	libcmml-devel >= 0.8
BuildRequires:	httpd-devel >= 2.0.40
BuildRequires:  pkgconfig
BuildRequires:	sed

Requires:	httpd >= 2.0.40

%description
mod_annodex provides full support for Annodex.net media. For more details
about annodex format, see http://www.annodex.net/

mod_annodex is a handler for type application/x-annodex. It provides the
following features:

        * dynamic generation of Annodex media from CMML files.

        * handling of timed query offsets, such as

          http://media.example.com/fish.anx?t=npt:01:20.8
        or
          http://media.example.com/fish.anx?id=Preparation

        * dynamic retrieval of CMML summaries, if the Accept: header
          prefers type text/x-cmml over application/x-annodex.

%prep
%setup -q -n %{name}-ap20-%{version}

%build
%{_sbindir}/apxs -c mod_annodex.c `pkg-config annodex cmml --cflags --libs`
mv .libs/%{name}.so .
%{__strip} -g %{name}.so

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{_libdir}/httpd/modules
install -m755 %{name}.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules

# install config file
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
%ifarch x86_64
sed 's lib@lib64 g' %{SOURCE1} > conf
%else
cat %{SOURCE1} > conf
%endif

install -m 644 conf \
   $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/annodex.conf

%clean
rm -rf $RPM_BUILD_ROOT
                                                                                
%files
%defattr(-,root,root)
%doc LICENSE README
%{_libdir}/httpd/modules/mod_annodex.so
%config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf

%changelog
* Mon Jun 13 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.2.2-2: rpmlint fixes

* Sat Jun 04 2005 Thomas Vander Stichele <thomas at apestaart dot org>
- 0.2.2-1: initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mod_annodex/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Jun 2005 18:42:17 -0000	1.1
+++ .cvsignore	13 Jun 2005 18:42:46 -0000	1.2
@@ -0,0 +1 @@
+mod_annodex-ap20-0.2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mod_annodex/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Jun 2005 18:42:17 -0000	1.1
+++ sources	13 Jun 2005 18:42:46 -0000	1.2
@@ -0,0 +1 @@
+54d3fd4237d7789206797eb0c6de9af2  mod_annodex-ap20-0.2.2.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]