]> git.pld-linux.org Git - packages/libee.git/blame - libee.spec
- updated to 0.4.1
[packages/libee.git] / libee.spec
CommitLineData
c23b5dc8 1#
2# Conditional build:
4a12e5c7 3%bcond_without static_libs # static library
c23b5dc8 4#
5Summary: Event expression library
4a12e5c7 6Summary(pl.UTF-8): Biblioteka wyrażeń dotyczących zdarzeń
c23b5dc8 7Name: libee
4a12e5c7 8Version: 0.4.1
c23b5dc8 9Release: 1
10License: LGPL v2.1+
11Group: Libraries
12Source0: http://www.libee.org/files/download/%{name}-%{version}.tar.gz
4a12e5c7 13# Source0-md5: 7bbf4160876c12db6193c06e2badedb2
c23b5dc8 14URL: http://www.libee.org/
4a12e5c7 15BuildRequires: autoconf >= 2.61
c23b5dc8 16BuildRequires: automake
17BuildRequires: libestr-devel
4a12e5c7 18BuildRequires: libtool
c23b5dc8 19BuildRequires: libxml2-devel
4a12e5c7 20BuildRequires: zlib-devel
c23b5dc8 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Libee is an event expression library that is inspired by the upcoming
25CEE standard. Right now, it provides capabilities to generate and emit
26messages in a set of standard formats and read a set of different
27input formats. Libee also comes with a handy conversion tool that
28provides format transformation without the need to program.
29
4a12e5c7
JB
30%description -l pl.UTF-8
31Libee to biblioteka wyrażeń dotychących zdarzeń, zainspirowana
32nadchodzącym standardem CEE. Obecnie daje możliwość generowania i
33wysyłania komunikatów w zbiorze standardowych formatów oraz czytania
34zbioru innych formatów wejściowych. Pakiet zawiera także podręczne
35narzędzie do konwersji, pozwalające na przekształcanie formatów bez
36potrzeby pisania programu.
37
c23b5dc8 38%package devel
39Summary: Header files for libee library
40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libee
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
4a12e5c7 43Requires: libestr-devel
c23b5dc8 44
45%description devel
46Header files for libee library.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe biblioteki libee.
50
51%package static
52Summary: Static libee library
53Summary(pl.UTF-8): Statyczna biblioteka libee
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static libee library.
59
60%description static -l pl.UTF-8
61Statyczna biblioteka libee.
62
63%prep
64%setup -q
65
66%build
4a12e5c7 67%{__libtoolize}
c23b5dc8 68%{__aclocal} -I m4
69%{__autoconf}
70%{__autoheader}
71%{__automake}
72%configure \
4a12e5c7 73 --disable-silent-rules \
c23b5dc8 74 %{!?with_static_libs:--disable-static}
4a12e5c7
JB
75
76# make can't resolve $(top_builddir)/src/libee.la dependency
77%{__make} -C src libee.la
78
79%{__make}
c23b5dc8 80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
de3e943b 87%{__rm} $RPM_BUILD_ROOT%{_libdir}/libee.la
88
c23b5dc8 89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(644,root,root,755)
97%doc AUTHORS ChangeLog
4a12e5c7 98%attr(755,root,root) %{_sbindir}/libee-convert
c23b5dc8 99%attr(755,root,root) %{_libdir}/libee.so.*.*.*
100%attr(755,root,root) %ghost %{_libdir}/libee.so.0
101
102%files devel
103%defattr(644,root,root,755)
4a12e5c7 104%attr(755,root,root) %{_libdir}/libee.so
c23b5dc8 105%{_includedir}/libee
106%{_pkgconfigdir}/libee.pc
107
108%if %{with static_libs}
109%files static
110%defattr(644,root,root,755)
111%{_libdir}/libee.a
112%endif
This page took 0.49499 seconds and 4 git commands to generate.