source: projects/specs/trunk/d/dotconf/dotconf-vl.spec @ 568

Revision 568, 3.0 KB checked in by inagaki, 14 years ago (diff)

NEW: dotconf, espeak, nas, portautio, speech-dispatcher

Line 
1Name:           dotconf
2Version:        1.0.13
3Release:        10%{?_dist_release}
4Summary:        Libraries to parse configuration files
5
6Group:          System Environment/Libraries
7License:        LGPLv2
8URL:            http://www.azzit.de/dotconf/
9Source:         http://www.azzit.de/dotconf/download/v1.0/%{name}-%{version}.tar.gz
10Patch0:         dotconf-1.0.13-remove-ASL11-part.patch
11Patch1:         dotconf-1.0.13-multilib.patch
12Patch2:         dotconf-1.0.13-m4-underquote.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14 
15
16%description
17Dotconf is a library used to handle configuration files.
18
19%package        devel
20Summary:        Development files for %{name}
21Group:          Development/Libraries
22Requires:       %{name} = %{version}-%{release}
23Requires:       pkgconfig
24Requires:       automake
25
26
27%description    devel
28The %{name}-devel package contains libraries and header files for
29developing applications that use %{name}.
30
31
32%prep
33%setup -q
34
35%patch0 -p1
36%patch1 -p1
37%patch2 -p1
38
39# Override config.{guess,sub}
40cp -p /usr/lib/rpm/config.{guess,sub} .
41
42%build
43%configure --disable-static
44make %{?_smp_mflags}
45
46
47%install
48rm -rf $RPM_BUILD_ROOT
49make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
50iconv -f iso-8859-2 -t utf-8 -o iconv.tmp AUTHORS
51mv iconv.tmp AUTHORS
52iconv -f iso-8859-2 -t utf-8 -o iconv.tmp doc/dotconf-features.txt
53mv iconv.tmp doc/dotconf-features.txt
54find $RPM_BUILD_ROOT -type f -name "*.a" -o -name "*.la" | xargs rm -f
55
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60
61%post -p /sbin/ldconfig
62
63%postun -p /sbin/ldconfig
64
65
66%files
67%defattr(-,root,root,-)
68%doc README AUTHORS COPYING NEWS ChangeLog
69%{_libdir}/libdotconf*.so.*
70
71
72%files devel
73%defattr(-,root,root,-)
74%doc doc/*
75
76%{_libdir}/libdotconf*.so
77%{_includedir}/libpool.h
78%{_includedir}/dotconf.h
79%{_bindir}/dotconf-config
80%{_datadir}/aclocal/dotconf.m4
81%{_libdir}/pkgconfig/dotconf.pc
82
83%changelog
84* Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.13-10
85- initial build for Vine Linux
86
87* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-9
88- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89
90* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.13-8
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
92
93* Thu Jul 03 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.0.13-7
94- Override config.{sub,guess} explicitly due to redhat-rpm-build-config
95  behavior change on F-10+, otherwise build fails on ppc64
96
97* Sun Mar 09 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-6
98- fixed m4-underquote error
99
100* Fri Feb 29 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-5
101- fixed AUTHORS utf-8
102- fixed doc/dotconf-features.txt utf-8
103
104* Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-4
105- Applied patch macro
106
107* Sat Feb 23 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-3
108- Resolved Multilib issue
109
110* Fri Feb 22 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-2
111- Inclusion of pkgconfig
112- Removal of INSTALL file
113- Proper placement of Library files
114- Creating devel sub-package
115- Chaning source URL
116
117* Sun Feb 17 2008 Assim Deodia<assim.deodia@gmail.com> 1.0.13-1
118- Initial Commit
Note: See TracBrowser for help on using the repository browser.