]> git.pld-linux.org Git - packages/liboobs.git/blob - liboobs.spec
- updated to 2.20.0; merged changes from DEVEL
[packages/liboobs.git] / liboobs.spec
1 Summary:        Wrapping library to the System Tools Backends
2 Summary(pl.UTF-8):      Biblioteka opakowywująca dla System Tools Backends
3 Name:           liboobs
4 Version:        2.20.0
5 Release:        1
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/liboobs/2.20/%{name}-%{version}.tar.bz2
9 # Source0-md5:  c0562e115af4777da471182b9d462b40
10 URL:            http://www.gnome.org/
11 BuildRequires:  autoconf >= 2.52
12 BuildRequires:  automake
13 BuildRequires:  dbus-glib-devel >= 0.73
14 BuildRequires:  glib2-devel >= 1:2.14.0
15 BuildRequires:  gtk-doc >= 1.8
16 BuildRequires:  libtool
17 BuildRequires:  pkgconfig
18 BuildRequires:  system-tools-backends >= 2.4.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Liboobs is a wrapping library to the System Tools Backends. It
23 provides easy to access GObjects to system configuration details, like
24 users, groups and network interfaces.
25
26 %description -l pl.UTF-8
27 Liboobs jest biblioteką opakowywującą dla System Tools Backends.
28 Dostarcza łatwe interfejsy GObjects dla szczegółów konfiguracyjnych,
29 takich jak użytkownicy, grupy, czy interfejsy sieciowe.
30
31 %package devel
32 Summary:        Header files for liboobs library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki liboobs
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Requires:       dbus-glib-devel >= 0.73
37 Requires:       glib2-devel >= 1:2.14.0
38 Requires:       system-tools-backends >= 2.4.0
39
40 %description devel
41 Header files for liboobs library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki liboobs.
45
46 %package static
47 Summary:        Static liboobs library
48 Summary(pl.UTF-8):      Statyczna biblioteka liboobs
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Static liboobs library.
54
55 %description static -l pl.UTF-8
56 Statyczna biblioteka liboobs.
57
58 %package apidocs
59 Summary:        liboobs API documentation
60 Summary(pl.UTF-8):      Dokumentacja API liboobs
61 Group:          Documentation
62 Requires:       gtk-doc-common
63
64 %description apidocs
65 liboobs API documentation.
66
67 %description apidocs -l pl.UTF-8
68 Dokumentacja API liboobs.
69
70 %prep
71 %setup -q
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__automake}
77 %{__autoconf}
78 %configure \
79         --enable-gtk-doc \
80         --with-html-dir=%{_gtkdocdir}
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 %clean
90 rm -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 NEWS README
98 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %{_libdir}/lib*.la
104 %{_includedir}/%{name}-1.0
105 %{_pkgconfigdir}/*.pc
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
110
111 %files apidocs
112 %defattr(644,root,root,755)
113 %{_gtkdocdir}/%{name}
This page took 0.072119 seconds and 3 git commands to generate.