]> git.pld-linux.org Git - SPECS.git/blob - midgard-lib.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / midgard-lib.spec
1 Summary:        Midgard Library
2 Summary(pl.UTF-8):      Biblioteka Midgard
3 Name:           midgard-lib
4 Version:        1.4.4
5 Release:        0.1
6 License:        distributable
7 Group:          Networking/Daemons
8 Source0:        http://www.midgard-project.org/attachment/434f392e6f87e1e76202f00695dd251f/14f7a3c18ba99abeb844ff1dd73580d4/%{name}-%{version}.tar.bz2
9 # Source0-md5:  ac54f0fd505d33368e80968c3828c546
10 Patch0:         %{name}-id.patch
11 URL:            http://www.midgard-project.org/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  expat-devel >= 1.95.1
15 BuildRequires:  glib-devel >= 1.2
16 BuildRequires:  libtool
17 BuildRequires:  mysql-devel >= 3.23.20
18 BuildRequires:  zlib-devel
19 Requires:       expat >= 1.95.1
20 Requires:       mysql-libs >= 3.23.20
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _sysconfdir     /etc/repligard
24
25 %description
26 Midgard is a freely-available Web application development and
27 publishing platform based on the popular PHP scripting language. It is
28 an Open Source development project, giving you the freedom to create
29 your solutions in an open environment. Midgard is the tool for
30 creating, modifying and maintaining dynamic database-enabled web
31 services.
32
33 %description -l pl.UTF-8
34 Midgard jest wolnodostępną platformą do tworzenia i publikowania
35 aplikacji WWW, bazującą na języku skryptowym PHP. Midgard jest
36 narzędziem do tworzenia, modyfikacji i prowadzenia serwisów opartych
37 na dynamicznej bazie danych.
38
39 %package devel
40 Summary:        Header files etc to develop midgard-lib applications
41 Summary(pl.UTF-8):      Pliki nagłówkowe i inne do tworzenia aplikacji z użyciem midgard-lib
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44
45 %description devel
46 Header files etc to develop midgard-lib applications.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe i inne do tworzenia aplikacji z użyciem midgard-lib.
50
51 %package static
52 Summary:        Static version of midgard library
53 Summary(pl.UTF-8):      Statyczna wersja biblioteki midgard
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static version of midgard library.
59
60 %description static -l pl.UTF-8
61 Statyczna wersja biblioteki midgard.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__automake}
72 %configure \
73         --with-mysql=/usr \
74         --with-sitegroups \
75         --with-iconv \
76         --with-repligard-owner=mysql
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS README
94 %lang(ru) %doc README.ru
95 %attr(755,root,root) %{_bindir}/repligard
96 %dir %{_sysconfdir}
97 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/repligard.conf
98 %{_datadir}/midgard
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/midgard-config
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_libdir}/lib*.la
106 %{_includedir}/midgard
107
108 %files static
109 %defattr(644,root,root,755)
110 %{_libdir}/lib*.a
This page took 0.869262 seconds and 3 git commands to generate.