]>
Commit | Line | Data |
---|---|---|
40ef67ed | 1 | Summary: mcs - simple, abstractable configuration library |
b2a25811 | 2 | Summary(pl.UTF-8): mcs - prosta, abstrakcyjna biblioteka konfiguracji |
8ed49b1c | 3 | Name: mcs |
54881f6f | 4 | Version: 0.7.1 |
f30d5d85 | 5 | Release: 3 |
8ed49b1c SS |
6 | License: BSD |
7 | Group: Development/Tools | |
23c62fb8 | 8 | Source0: http://distfiles.atheme.org/lib%{name}-%{version}.tgz |
54881f6f | 9 | # Source0-md5: 1611a7bd7e7b07df3d889012d133c440 |
23c62fb8 | 10 | URL: http://www.atheme.org/projects/mcs.shtml |
e8c6d709 JB |
11 | BuildRequires: GConf2-devel >= 2.6.0 |
12 | BuildRequires: autoconf >= 2.59 | |
ef935fa8 | 13 | BuildRequires: automake |
e8c6d709 | 14 | BuildRequires: kdelibs-devel >= 9:3.0 |
cd1a0906 | 15 | BuildRequires: libmowgli-devel >= 0.4.0 |
e8c6d709 | 16 | BuildRequires: pkgconfig |
0f19d9e7 | 17 | BuildRequires: qt-devel |
8ed49b1c SS |
18 | Requires: %{name}-libs = %{version}-%{release} |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
40ef67ed MB |
22 | mcs is a library and set of userland tools which abstract the storage |
23 | of configuration settings away from userland applications. It is hoped | |
24 | that by using mcs, that the applications which use it will generally | |
25 | have a more congruent feeling in regards to settings. There have been | |
26 | other projects like this before (such as GConf), but unlike those | |
27 | projects, mcs strictly handles abstraction. It doesn't impose any | |
28 | specific data storage requirement, nor is it tied to any desktop | |
29 | environment or software suite. | |
8ed49b1c | 30 | |
7a33c9bd | 31 | This package contains userland tools. |
32 | ||
b2a25811 JB |
33 | %description -l pl.UTF-8 |
34 | mcs to biblioteka i zbiór narzędzi tworzących abstrakcję | |
35 | przechowywania ustawień konfiguracyjnych dla aplikacji użytkownika. | |
36 | Przy użyciu mcs aplikacje mają mieć bardziej zgodne odczucia odnośnie | |
37 | ustawień. Wcześniej istniały już podobne projekty (jak GConf), ale w | |
38 | przeciwieństwie do nich mcs ściśle obsługuje abstrakcję. Nie nakłada | |
39 | żadnych konkretnych wymagań co do przechowywania danych ani nie jest | |
40 | związana z żadnym środowiskiem graficznym czy pakietem oprogramowania. | |
41 | ||
7a33c9bd | 42 | Ten pakiet zawiera narzędzia przestrzeni użytkownika. |
43 | ||
3667a462 | 44 | %package backend-gconf |
45 | Summary: The gconf backend for mcs | |
46 | Summary(pl.UTF-8): Backend gconf dla mcs | |
47 | Group: X11/Applications | |
48 | Requires: %{name}-libs = %{version}-%{release} | |
49 | Provides: %{name}-backend = %{version}-%{release} | |
50 | ||
51 | %description backend-gconf | |
52 | The gconf backend for mcs. It uses the GConf configuration system to | |
53 | store configuration and provides integration into the GNOME desktop | |
54 | environment. | |
55 | ||
56 | %description backend-gconf -l pl.UTF-8 | |
57 | Backend gconf dla mcs. Używa systemu konfiguracji GConf do | |
a95b5d44 | 58 | przechowywania konfiguracji i zapewnia integrację ze środowiskiem |
3667a462 | 59 | GNOME. |
60 | ||
61 | %package backend-kconfig | |
62 | Summary: The kconfig backend for mcs | |
63 | Summary(pl.UTF-8): Backend kconfig dla mcs | |
64 | Group: X11/Applications | |
65 | Requires: %{name}-libs = %{version}-%{release} | |
66 | Provides: %{name}-backend = %{version}-%{release} | |
8ed49b1c | 67 | |
3667a462 | 68 | %description backend-kconfig |
69 | The kconfig backend for mcs. It uses the KDE configuration system to | |
70 | store configuration and provides integration into the KDE desktop | |
71 | environment. | |
8ed49b1c | 72 | |
3667a462 | 73 | %description backend-kconfig -l pl.UTF-8 |
74 | Backend kconfig dla mcs. Używa systemu konfiguracji KDE do | |
54881f6f | 75 | przechowywania konfiguracji i zapewnia integrację ze środowiskiem KDE. |
8ed49b1c | 76 | |
3667a462 | 77 | %package libs |
78 | Summary: mcs library | |
79 | Summary(pl.UTF-8): Biblioteka mcs | |
80 | Group: Libraries | |
81 | ||
82 | %description libs | |
7a33c9bd | 83 | mcs is a library and set of userland tools which abstract the storage |
84 | of configuration settings away from userland applications. It is hoped | |
85 | that by using mcs, that the applications which use it will generally | |
86 | have a more congruent feeling in regards to settings. There have been | |
87 | other projects like this before (such as GConf), but unlike those | |
88 | projects, mcs strictly handles abstraction. It doesn't impose any | |
89 | specific data storage requirement, nor is it tied to any desktop | |
90 | environment or software suite. | |
91 | ||
92 | This package contains mcs library. | |
3667a462 | 93 | |
94 | %description libs -l pl.UTF-8 | |
7a33c9bd | 95 | mcs to biblioteka i zbiór narzędzi tworzących abstrakcję |
96 | przechowywania ustawień konfiguracyjnych dla aplikacji użytkownika. | |
97 | Przy użyciu mcs aplikacje mają mieć bardziej zgodne odczucia odnośnie | |
98 | ustawień. Wcześniej istniały już podobne projekty (jak GConf), ale w | |
99 | przeciwieństwie do nich mcs ściśle obsługuje abstrakcję. Nie nakłada | |
100 | żadnych konkretnych wymagań co do przechowywania danych ani nie jest | |
101 | związana z żadnym środowiskiem graficznym czy pakietem oprogramowania. | |
102 | ||
103 | Ten pakiet zawiera bibliotekę mcs. | |
3667a462 | 104 | |
e8c6d709 JB |
105 | %package devel |
106 | Summary: Header files for mcs | |
107 | Summary(pl.UTF-8): Pliki nagłówkowe mcs | |
108 | Group: Development/Libraries | |
109 | Requires: %{name}-libs = %{version}-%{release} | |
110 | ||
111 | %description devel | |
112 | Header files for mcs. | |
113 | ||
114 | %description devel -l pl.UTF-8 | |
115 | Pliki nagłówkowe mcs. | |
116 | ||
8ed49b1c | 117 | %prep |
23c62fb8 | 118 | %setup -q -n lib%{name}-%{version} |
8ed49b1c SS |
119 | |
120 | %build | |
0f19d9e7 | 121 | QTDIR=%{_prefix} |
122 | CFLAGS="$CFLAGS -I%{_includedir}/qt" | |
123 | CPPFLAGS="$CPPFLAGS -I%{_includedir}/qt" | |
124 | export CFLAGS CPPFLAGS QTDIR | |
ef935fa8 MB |
125 | %{__aclocal} -I m4 |
126 | %{__autoconf} | |
3667a462 | 127 | %configure |
8ed49b1c SS |
128 | %{__make} |
129 | ||
130 | %install | |
131 | rm -rf $RPM_BUILD_ROOT | |
132 | ||
133 | %{__make} install \ | |
134 | DESTDIR=$RPM_BUILD_ROOT | |
135 | ||
136 | %clean | |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %post libs -p /sbin/ldconfig | |
140 | %postun libs -p /sbin/ldconfig | |
141 | ||
142 | %files | |
143 | %defattr(644,root,root,755) | |
144 | %doc AUTHORS README | |
145 | %attr(755,root,root) %{_bindir}/%{name}-getconfval | |
146 | %attr(755,root,root) %{_bindir}/%{name}-info | |
147 | %attr(755,root,root) %{_bindir}/%{name}-query-backends | |
148 | %attr(755,root,root) %{_bindir}/%{name}-setconfval | |
23c62fb8 | 149 | %attr(755,root,root) %{_bindir}/%{name}-walk-config |
8ed49b1c | 150 | |
3667a462 | 151 | %files backend-gconf |
152 | %defattr(644,root,root,755) | |
153 | %attr(755,root,root) %{_libdir}/%{name}/gconf.so | |
154 | ||
155 | %files backend-kconfig | |
8ed49b1c | 156 | %defattr(644,root,root,755) |
0f19d9e7 | 157 | %attr(755,root,root) %{_libdir}/%{name}/kconfig.so |
8ed49b1c | 158 | |
3667a462 | 159 | %files libs |
160 | %defattr(644,root,root,755) | |
161 | %attr(755,root,root) %{_libdir}/libmcs.so.*.*.* | |
162 | %ghost %attr(755,root,root) %{_libdir}/libmcs.so.? | |
163 | %dir %{_libdir}/%{name} | |
164 | %attr(755,root,root) %{_libdir}/%{name}/keyfile.so | |
e8c6d709 JB |
165 | |
166 | %files devel | |
167 | %defattr(644,root,root,755) | |
168 | %attr(755,root,root) %{_libdir}/libmcs.so | |
169 | %{_includedir}/libmcs | |
170 | %{_pkgconfigdir}/libmcs.pc |