[1865] | 1 | Name: mcs |
---|
[521] | 2 | Summary: A configuration file abstraction library |
---|
| 3 | Summary(ja): 設定ファイル抽象化ライブラリ |
---|
[6526] | 4 | Version: 0.7.2 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[1865] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
[521] | 8 | License: BSD |
---|
| 9 | URL: http://atheme.org/projects/mcs.shtml |
---|
| 10 | |
---|
| 11 | Source0: http://distfiles.atheme.org/libmcs-%{version}.tgz |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: GConf2-devel |
---|
| 15 | BuildRequires: libmowgli-devel |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | mcs is a library and set of userland tools which abstract the storage |
---|
| 22 | of configuration settings away from userland applications. |
---|
| 23 | |
---|
| 24 | It is hoped that by using mcs, that the applications which use it will |
---|
| 25 | generally have a more congruent feeling in regards to settings. |
---|
| 26 | |
---|
| 27 | There have been other projects like this before (such as GConf), but |
---|
| 28 | unlike those projects, mcs strictly handles abstraction. It does not |
---|
| 29 | impose any specific data storage requirement, nor is it tied to any |
---|
| 30 | desktop environment or software suite. |
---|
| 31 | |
---|
| 32 | %package devel |
---|
| 33 | Summary: Development files for Modular Config System |
---|
| 34 | Group: Development/Libraries |
---|
| 35 | Requires: %{name} = %{version}-%{release} |
---|
| 36 | |
---|
| 37 | %description devel |
---|
| 38 | This package contains header files required to develop applications |
---|
| 39 | with Modular Config System. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q -n lib%{name}-%{version} |
---|
| 43 | |
---|
| 44 | # The build generates a wrong SONAME, fix it. |
---|
| 45 | perl -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 | |
---|
| 55 | mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} |
---|
| 56 | echo "gconf" > $RPM_BUILD_ROOT%{_sysconfdir}/mcs-backend |
---|
| 57 | chmod 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 |
---|
[6526] | 82 | * Sat Jul 07 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.7.2-1 |
---|
| 83 | - new upstream release |
---|
| 84 | |
---|
[1865] | 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 | |
---|
[521] | 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 |
---|