]> git.pld-linux.org Git - packages/mcs.git/blame - mcs.spec
- up to 0.7.0
[packages/mcs.git] / mcs.spec
CommitLineData
40ef67ed 1# TODO:
0f19d9e7 2# - build GConf backend (?)
40ef67ed
MB
3#
4Summary: mcs - simple, abstractable configuration library
b2a25811 5Summary(pl.UTF-8): mcs - prosta, abstrakcyjna biblioteka konfiguracji
8ed49b1c 6Name: mcs
0f19d9e7 7Version: 0.7.0
8Release: 1
8ed49b1c
SS
9License: BSD
10Group: Development/Tools
23c62fb8 11Source0: http://distfiles.atheme.org/lib%{name}-%{version}.tgz
0f19d9e7 12# Source0-md5: 0f0c779609b3481a79937c2e86660a99
23c62fb8 13URL: http://www.atheme.org/projects/mcs.shtml
ef935fa8
MB
14BuildRequires: autoconf
15BuildRequires: automake
cd1a0906 16BuildRequires: libmowgli-devel >= 0.4.0
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
b2a25811
JB
31%description -l pl.UTF-8
32mcs to biblioteka i zbiór narzędzi tworzących abstrakcję
33przechowywania ustawień konfiguracyjnych dla aplikacji użytkownika.
34Przy użyciu mcs aplikacje mają mieć bardziej zgodne odczucia odnośnie
35ustawień. Wcześniej istniały już podobne projekty (jak GConf), ale w
36przeciwieństwie do nich mcs ściśle obsługuje abstrakcję. Nie nakłada
37żadnych konkretnych wymagań co do przechowywania danych ani nie jest
38związana z żadnym środowiskiem graficznym czy pakietem oprogramowania.
39
8ed49b1c
SS
40%package libs
41Summary: mcs library
42Summary(pl.UTF-8): Biblioteka mcs
43Group: Libraries
44
45%description libs
46mcs library.
47
48%description libs -l pl.UTF-8
49Biblioteka mcs.
50
51%package devel
20942db3
SS
52Summary: Header files for mcs
53Summary(pl.UTF-8): Pliki nagłówkowe mcs
54Group: Development/Libraries
55Requires: %{name}-libs = %{version}-%{release}
8ed49b1c
SS
56
57%description devel
58Header files for mcs.
59
60%description devel -l pl.UTF-8
61Pliki nagłówkowe mcs.
62
63%prep
23c62fb8 64%setup -q -n lib%{name}-%{version}
8ed49b1c
SS
65
66%build
0f19d9e7 67QTDIR=%{_prefix}
68CFLAGS="$CFLAGS -I%{_includedir}/qt"
69CPPFLAGS="$CPPFLAGS -I%{_includedir}/qt"
70export CFLAGS CPPFLAGS QTDIR
ef935fa8
MB
71%{__aclocal} -I m4
72%{__autoconf}
d0d1e4fb 73%configure \
d0d1e4fb 74 --disable-gconf
8ed49b1c
SS
75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%post libs -p /sbin/ldconfig
87%postun libs -p /sbin/ldconfig
88
89%files
90%defattr(644,root,root,755)
91%doc AUTHORS README
92%attr(755,root,root) %{_bindir}/%{name}-getconfval
93%attr(755,root,root) %{_bindir}/%{name}-info
94%attr(755,root,root) %{_bindir}/%{name}-query-backends
95%attr(755,root,root) %{_bindir}/%{name}-setconfval
23c62fb8 96%attr(755,root,root) %{_bindir}/%{name}-walk-config
8ed49b1c
SS
97
98%files libs
99%defattr(644,root,root,755)
40ef67ed 100%attr(755,root,root) %{_libdir}/libmcs.so.*.*.*
864e75d8 101%ghost %attr(755,root,root) %{_libdir}/libmcs.so.?
8ed49b1c 102%dir %{_libdir}/%{name}
d0d1e4fb 103%attr(755,root,root) %{_libdir}/%{name}/keyfile.so
0f19d9e7 104%attr(755,root,root) %{_libdir}/%{name}/kconfig.so
8ed49b1c
SS
105
106%files devel
107%defattr(644,root,root,755)
108%attr(755,root,root) %{_libdir}/libmcs.so
109%{_includedir}/libmcs
110%{_pkgconfigdir}/libmcs.pc
This page took 0.047475 seconds and 4 git commands to generate.