Upload Tizen:Main source
[external/augeas.git] / augeas.spec.in
1 Name:           augeas
2 Version:        @VERSION@
3 Release:        1%{?dist}
4 Summary:        A library for changing configuration files
5
6 Group:          System Environment/Libraries
7 License:        LGPLv2+
8 URL:            http://augeas.net/
9 Source0:        http://augeas.net/download/%{name}-%{version}.tar.gz
10 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12 BuildRequires:  readline-devel libselinux-devel
13 Requires:       %{name}-libs = %{version}-%{release}
14
15 %description
16 A library for programmatically editing configuration files. Augeas parses
17 configuration files into a tree structure, which it exposes through its
18 public API. Changes made through the API are written back to the initially
19 read files.
20
21 The transformation works very hard to preserve comments and formatting
22 details. It is controlled by ``lens'' definitions that describe the file
23 format and the transformation into a tree.
24
25 %package        devel
26 Summary:        Development files for %{name}
27 Group:          Development/Libraries
28 Requires:       %{name}-libs = %{version}-%{release}
29 Requires:       pkgconfig
30
31 %description    devel
32 The %{name}-devel package contains libraries and header files for
33 developing applications that use %{name}.
34
35
36 %package        libs
37 Summary:        Libraries for %{name}
38 Group:          System Environment/Libraries
39
40 %description    libs
41 The libraries for %{name}.
42
43
44 %prep
45 %setup -q
46
47 %build
48 %configure --disable-static
49 make %{?_smp_mflags}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
54 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %post libs -p /sbin/ldconfig
60
61 %postun libs -p /sbin/ldconfig
62
63 %files
64 %defattr(-,root,root,-)
65 %{_bindir}/augtool
66 %{_bindir}/augparse
67 %{_bindir}/fadot
68 %doc %{_mandir}/man1/*
69 %{_datadir}/vim/vimfiles/syntax/augeas.vim
70 %{_datadir}/vim/vimfiles/ftdetect/augeas.vim
71
72 %files libs
73 %defattr(-,root,root,-)
74 # %{_datadir}/augeas and %{_datadir}/augeas/lenses are owned
75 # by filesystem.
76 %{_datadir}/augeas/lenses/dist
77 %{_libdir}/*.so.*
78 %doc AUTHORS COPYING NEWS
79
80 %files devel
81 %defattr(-,root,root,-)
82 %doc
83 %{_includedir}/*
84 %{_libdir}/*.so
85 %{_libdir}/pkgconfig/augeas.pc
86
87 %changelog
88 * Fri Apr 15 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-1
89 - New version
90
91 * Tue Feb 22 2011 David Lutterkort <lutter@redhat.com> - 0.8.0-1
92 - New version
93
94 * Fri Nov 19 2010 David Lutterkort <lutter@redhat.com> - 0.7.4-1
95 - New version
96
97 * Fri Aug  6 2010 David Lutterkort <lutter@redhat.com> - 0.7.3-1
98 - New version
99
100 * Tue Jun 22 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-1
101 - Fix ownership of /usr/share/augeas. BZ 569393
102
103 * Wed Apr 21 2010 David Lutterkort <lutter@redhat.com> - 0.7.1-1
104 - New version
105
106 * Thu Jan 14 2010 David Lutterkort <lutter@redhat.com> - 0.7.0-1
107 - New version
108
109 * Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
110 - Install vim syntax files
111
112 * Mon Sep 14 2009 David Lutterkort <lutter@redhat.com> - 0.5.3-1
113 - New version
114
115 * Mon Jul 13 2009 David Lutterkort <lutter@redhat.com> - 0.5.2-1
116 - New version
117
118 * Fri Jun  5 2009 David Lutterkort <lutter@redhat.com> - 0.5.1-1
119 - Install fadot
120
121 * Fri Mar 27 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-2
122 - fadot isn't being installed just yet
123
124 * Tue Mar 24 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-1
125 - New program /usr/bin/fadot
126
127 * Mon Mar  9 2009 David Lutterkort <lutter@redhat.com> - 0.4.2-1
128 - New version
129
130 * Fri Feb 27 2009 David Lutterkort <lutter@redhat.com> - 0.4.1-1
131 - New version
132
133 * Fri Feb  6 2009 David Lutterkort <lutter@redhat.com> - 0.4.0-1
134 - New version
135
136 * Mon Jan 26 2009 David Lutterkort <lutter@redhat.com> - 0.3.6-1
137 - New version
138
139 * Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 0.3.5-1
140 - New version
141
142 * Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
143 - Initial specfile