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

Revision 6526, 2.7 KB checked in by kudoh, 12 years ago (diff)

mcs-vl.spec

Line 
1Name:           mcs
2Summary:        A configuration file abstraction library
3Summary(ja):    設定ファイル抽象化ライブラリ
4Version:        0.7.2
5Release:        1%{?_dist_release}
6
7Group:          System Environment/Libraries
8License:        BSD
9URL:            http://atheme.org/projects/mcs.shtml
10
11Source0:        http://distfiles.atheme.org/libmcs-%{version}.tgz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  GConf2-devel
15BuildRequires:  libmowgli-devel
16
17Vendor:         Project Vine
18Distribution:   Vine Linux
19
20%description
21mcs is a library and set of userland tools which abstract the storage
22of configuration settings away from userland applications.
23
24It is hoped that by using mcs, that the applications which use it will
25generally have a more congruent feeling in regards to settings.
26
27There have been other projects like this before (such as GConf), but
28unlike those projects, mcs strictly handles abstraction. It does not
29impose any specific data storage requirement, nor is it tied to any
30desktop environment or software suite.
31
32%package devel
33Summary:        Development files for Modular Config System
34Group:          Development/Libraries
35Requires:       %{name} = %{version}-%{release}
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* Sat Jul 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.2-1
83- new upstream release
84
85* Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.7.1-4
86- rebuilt with rpm-4.8.1 for pkg-config
87
88* Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.7.1-3
89- rebuilt with libmowgli-0.7.0
90
91* Sun Oct 12 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.7.1-2
92- add Requires: libmowgli-devel to mcs-devel subpackage
93
94* Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.1-1
95- new upstream release
96
97* Fri Mar 09 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.4.1-0vl1
98- initial build
Note: See TracBrowser for help on using the repository browser.