]> git.pld-linux.org Git - packages/devsec.git/blame - devsec.spec
- packaged files - created subpackages.
[packages/devsec.git] / devsec.spec
CommitLineData
44387609 1# TODO:
7442a70d 2# - use system libs: ffmpeg!!, mpeg4ip
44387609 3# - requires webserver?
7442a70d
PG
4# - move cgi files to webappdir, move html files to own directory
5# - add webapps configuration
6# - move camera configs to /etc
44387609
PG
7#
8# Conditional build:
9Summary: Devolution Security - video surveillance system for the Linux/X11 platform
10Name: devsec
11Version: 3.0.6
7442a70d 12Release: 0.2
44387609
PG
13License: GPL v2
14Group: Applications/Multimedia
15Source0: http://dl.sourceforge.net/devsec/%{name}-%{version}.tar.gz
16# Source0-md5: 539db08716f0237c8a8c06c25b368b4b
17Patch0: %{name}-no_extern.patch
18URL: http://devsec.sourceforge.net/
19BuildRequires: SDL-devel >= 1.2.7
20BuildRequires: faac-devel >= 1.18
7442a70d
PG
21# Should be required:
22#BuildRequires: ffmpeg-devel
44387609
PG
23BuildRequires: imlib-devel >= 1.9.14
24BuildRequires: lame-libs-devel >= 3.95
25BuildRequires: libcgi-devel
26BuildRequires: libogg-devel
27BuildRequires: libpng-devel
28BuildRequires: libtemplate-devel
29BuildRequires: libvorbis-devel
30# Required for manuals from ffmpeg (to be removed):
31BuildRequires: perl-tools-pod
7442a70d
PG
32BuildRequires: rpmbuild(macros) >= 1.268
33Requires: %{name}-libs = %{version}-%{release}
44387609
PG
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
7442a70d
PG
36%define _webapps /etc/webapps
37%define _webapp %{name}
38%define _webappdir %{_prefix}/lib/cgi-bin/%{_webapp}
39
44387609
PG
40%description
41Devolution Security is a video surveillance system for the Linux/X11 platform.
42Features:
43 - Up to 16 cameras
44 - Motion detection
45 - Record on motion detection
46 - Record up to 25 fps mpeg4 video
47 - Multicast live streams to local network
48 - Unicast to internet IP address
49 - Very configurable
50 - Themeable X11 interface
51 - Configurable helper buttons
52 - Web based interface
53
7442a70d
PG
54%package cgi
55Summary: cgi files for devsec
56Group: Applications/WWW
57Requires: %{name} = %{version}-%{release}
58Requires: webapps
59
60%description cgi
61
62%package libs
63Summary: libraries for devsec
64Summary(pl): Biblioteki do devsec
65Group: Libraries
66
67%description libs
68Libraries for Devolution Security.
69
70%description libs -l pl
71Biblioteki dla Devolution Security.
72
73%package devel
74Summary: Developement files for devsec
75Group: Development/Libraries
76Requires: %{name}-libs = %{version}-%{release}
77
78%description devel
79Developement files for devsec.
80
81%package static
82Summary: Static libraries for devsec
83Summary(pl): Statyczne biblioteki devsec
84Group: Development/Libraries
85Requires: %{name}-devel = %{version}-%{release}
86
87%description static
88Static library for devsec.
89
90%description static -l pl
91Statyczne biblioteki devsec.
92
44387609
PG
93%prep
94%setup -q
95%patch0 -p1
96
97%build
98%configure
99%{__make} \
100 CC="%{__cc}"
101
102%install
103rm -rf $RPM_BUILD_ROOT
7442a70d 104install -d $RPM_BUILD_ROOT{%{_webapps}/%{_webapp},%{_webappdir}}
44387609
PG
105
106%{__make} install \
107 DESTDIR=$RPM_BUILD_ROOT
108
109%clean
110rm -rf $RPM_BUILD_ROOT
111
7442a70d
PG
112%post libs -p /sbin/ldconfig
113%postun libs -p /sbin/ldconfig
44387609
PG
114
115%files
116%defattr(644,root,root,755)
7442a70d 117%doc AUTHORS CONSUMER_KEYS ChangeLog README
44387609
PG
118#%%dir %{_sysconfdir}
119#%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
44387609 120#%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
7442a70d
PG
121%attr(755,root,root) %{_bindir}/*
122%dir %{_libdir}/dtk
123%dir %{_libdir}/dtk/config
124%dir %{_libdir}/dtk/config/%{name}
125%config(noreplace) %verify(not md5 mtime size) %{_libdir}/dtk/config/%{name}/*.conf
126%dir %{_libdir}/dtk/config/%{name}/messages
127%{_libdir}/dtk/config/%{name}/messages/*.ulaw
128%dir %{_libdir}/dtk/config/%{name}/mp4live
129%config(noreplace) %verify(not md5 mtime size) %{_libdir}/dtk/config/%{name}/mp4live/*.conf
130%dir %{_libdir}/dtk/skins
131%{_libdir}/dtk/skins/*.la
132%{_libdir}/dtk/skins/*.so
44387609
PG
133%dir %{_pixmapsdir}/%{name}
134%{_pixmapsdir}/%{name}/*.png
7442a70d
PG
135%{_pixmapsdir}/%{name}/*.yuv
136
137%files cgi
138%defattr(644,root,root,755)
139%attr(755,root,root) /home/httpd/cgi-bin/index.cgi
140/home/httpd/cgi-bin/templates
141/home/httpd/html/*.css
142/home/httpd/html/*.html
143%dir /home/httpd/html/images
144/home/httpd/html/images/*.jpg
145/home/httpd/html/images/*.png
146
147%files libs
148%defattr(644,root,root,755)
149%attr(755,root,root) %{_libdir}/lib*.so.*.*
44387609 150
7442a70d
PG
151%files devel
152%defattr(644,root,root,755)
153%{_libdir}/*.la
44387609 154%{_includedir}/*.h
7442a70d
PG
155
156%files static
157%defattr(644,root,root,755)
158%{_libdir}/lib*.a
This page took 0.098006 seconds and 4 git commands to generate.