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