source: projects/specs/trunk/m/mcs/mcs-vl.spec @ 521

Revision 521, 2.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        A configuration file abstraction library
2Summary(ja):    設定ファイル抽象化ライブラリ
3Name:           mcs
4Version:        0.7.1
5Release:        3%{?_dist_release}
6License:        BSD
7Group:          System Environment/Libraries
8URL:            http://atheme.org/projects/mcs.shtml
9
10Source0:        http://distfiles.atheme.org/libmcs-%{version}.tgz
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13BuildRequires:  GConf2-devel
14BuildRequires:  libmowgli-devel
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18
19%description
20mcs is a library and set of userland tools which abstract the storage
21of configuration settings away from userland applications.
22
23It is hoped that by using mcs, that the applications which use it will
24generally have a more congruent feeling in regards to settings.
25
26There have been other projects like this before (such as GConf), but
27unlike those projects, mcs strictly handles abstraction. It does not
28impose any specific data storage requirement, nor is it tied to any
29desktop environment or software suite.
30
31%package devel
32Summary:        Development files for Modular Config System
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35Requires:       libmowgli-devel
36
37%description devel
38This package contains header files required to develop applications
39with Modular Config System.
40
41%prep
42%setup -q -n lib%{name}-%{version}
43
44# The build generates a wrong SONAME, fix it.
45perl -pi -e "s/-soname=.*'/-soname=\\\$\{LIB\}.\\\$\{LIB_MAJOR\}'/" configure
46
47%build
48%configure --enable-gconf --disable-kconfig --disable-dependency-tracking
49%__make %{_smp_mflags}
50
51%install
52%__rm -rf %{buildroot}
53%makeinstall
54
55mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
56echo "gconf" > $RPM_BUILD_ROOT%{_sysconfdir}/mcs-backend
57chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/mcs-backend
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
63%clean
64%__rm -rf %{buildroot}
65
66%files
67%defattr(-,root,root,-)
68%doc AUTHORS COPYING README TODO
69%config(noreplace) %{_sysconfdir}/mcs-backend
70%{_bindir}/mcs-*
71%{_libdir}/libmcs.so.*
72%dir %{_libdir}/mcs
73%{_libdir}/mcs/*.so
74
75%files devel
76%defattr(-,root,root,-)
77%{_includedir}/libmcs
78%{_libdir}/libmcs.so
79%{_libdir}/pkgconfig/*.pc
80
81%changelog
82* Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.7.1-3
83- rebuilt with libmowgli-0.7.0
84
85* Sun Oct 12 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.7.1-2
86- add Requires: libmowgli-devel to mcs-devel subpackage
87
88* Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1
89- new upstream release
90
91* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.1-0vl1
92- initial build
Note: See TracBrowser for help on using the repository browser.