/[packages]/cauldron/stog/current/SPECS/stog.spec
ViewVC logotype

Contents of /cauldron/stog/current/SPECS/stog.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 399970 - (show annotations) (download)
Fri Feb 22 18:03:15 2013 UTC (8 years, 7 months ago) by malo
File size: 2278 byte(s)
update to 0.7
1 %define name stog
2 %define version 0.7.0
3 %define release %mkrel 1
4
5 Summary: A static web site generator
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: http://zoggy.github.com/%{name}/%{name}-%{version}.tar.gz
10 Patch0: stog-0.7-fix-install.patch
11 License: GPLv3
12 Group: Networking/WWW
13 Url: http://zoggy.github.com/stog/
14 BuildRequires: ocaml-compiler
15 BuildRequires: ocaml-compiler-libs
16 BuildRequires: ocaml-findlib
17 BuildRequires: ocaml-config-file-devel
18 BuildRequires: ocaml-xmlm-devel
19 BuildRequires: ocaml-rss-devel
20 BuildRequires: ocaml-xtmpl-devel
21 BuildRequires: ocaml-pcre-devel
22 Suggests: highlight
23 Suggests: texlive
24
25 %description
26 Stog is a kind of Jekyll in OCaml: It is a static web site generator,
27 able to handle blog posts as well as regular pages.
28
29 %package -n ocaml-%{name}
30 Summary: Runtime files for %{name}
31 Group: Development/OCaml
32 Requires: ocaml-config-file
33 Requires: ocaml-xmlm
34 Requires: ocaml-rss
35 Requires: ocaml-xtmpl
36 Requires: ocaml-pcre
37
38 %description -n ocaml-%{name}
39 The ocaml-%{name} package contains the bytecode libraries for running
40 applications that use %{name}.
41
42 %package -n ocaml-%{name}-devel
43 Summary: Development files for %{name}
44 Group: Development/OCaml
45 Requires: ocaml-%{name} = %{version}-%{release}
46 Requires: ocaml-config-file-devel
47 Requires: ocaml-xmlm-devel
48 Requires: ocaml-rss-devel
49 Requires: ocaml-xtmpl-devel
50 Requires: ocaml-pcre-devel
51
52 %description -n ocaml-%{name}-devel
53 The ocaml-%{name}-devel package contains the signature
54 files for developing applications that use %{name}.
55
56 %prep
57 %setup -q
58 %patch0
59
60 %build
61 make
62
63 %install
64 export DESTDIR=%{buildroot}
65 export OCAMLFIND_DESTDIR=%{buildroot}/%{_libdir}/ocaml
66 mkdir -p $OCAMLFIND_DESTDIR/stog
67 mkdir -p %{buildroot}%{_bindir}
68 make install BINDIR=%{buildroot}%{_bindir}
69
70 %files
71 %{_bindir}/stog
72 %{_bindir}/stog.byte
73 %{_bindir}/mk-stog
74 %{_bindir}/mk-stog.byte
75 %{_bindir}/mk-stog-ocaml-session
76
77 %files -n ocaml-%{name}
78 %{_bindir}/stog-ocaml-session
79 %{_libdir}/ocaml/%{name}/META
80 %{_libdir}/ocaml/%{name}/*.cma
81 %{_libdir}/ocaml/%{name}/*.cmi
82 %{_libdir}/ocaml/%{name}/*.cmo
83 %{_libdir}/ocaml/%{name}/*.cmxs
84
85
86 %files -n ocaml-%{name}-devel
87 %doc doc/
88 %{_libdir}/ocaml/%{name}/*.a
89 %{_libdir}/ocaml/%{name}/*.o
90 %{_libdir}/ocaml/%{name}/*.cmx
91 %{_libdir}/ocaml/%{name}/*.cmxa

  ViewVC Help
Powered by ViewVC 1.1.28