]>
Commit | Line | Data |
---|---|---|
1 | Summary: Automated program generator | |
2 | Summary(pl.UTF-8): Zautomatyzowany generator programów | |
3 | Name: autogen | |
4 | Version: 5.18.14 | |
5 | Release: 2 | |
6 | License: GPL v3+ (AutoGen), LGPL v2+ (genshell), LGPL v3+ or Modified BSD (AutoOpts library) | |
7 | Group: Development/Tools | |
8 | Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: c4d9a1641cb1bad4a3cc4108de6d867a | |
10 | Patch0: %{name}-notinstalled.patch | |
11 | Patch1: %{name}-info.patch | |
12 | Patch2: %{name}-fallthrough.patch | |
13 | Patch3: %{name}-format-truncate.patch | |
14 | URL: http://autogen.sourceforge.net/ | |
15 | BuildRequires: guile-devel >= 5:2.0 | |
16 | BuildRequires: libltdl-devel | |
17 | BuildRequires: libxml2-devel | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: texinfo | |
20 | BuildRequires: xz | |
21 | BuildConflicts: guile1-devel | |
22 | Requires: %{name}-libs = %{version}-%{release} | |
23 | Suggests: %{name}-devel = %{version}-%{release} | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | AutoGen is a tool designed for generating program files that contain | |
28 | repetitive text with varied substitutions. Its goal is to simplify the | |
29 | maintenance of programs that contain large amounts of repetitious | |
30 | text. This is especially valuable if there are several blocks of such | |
31 | text that must be kept synchronized in parallel tables. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | AutoGen to narzędzie zaprojektowane do generowania plików programów | |
35 | zawierających powtarzający się tekst z różnymi podstawieniami. Celem | |
36 | projektu jest uproszczenie zarządzania programów zawierających duże | |
37 | ilości powtórzonego tekstu. Jest szczególnie wartościowy jeśli jest | |
38 | kilka bloków takiego tekstu, które muszą być synchronizowane | |
39 | równolegle. | |
40 | ||
41 | %package libs | |
42 | Summary: Shared AutoOpts library | |
43 | Summary(pl.UTF-8): Biblioteka współdzielona AutoOpts | |
44 | License: LGPL v3+ or Modified BSD | |
45 | Group: Libraries | |
46 | Conflicts: autogen < 5.14 | |
47 | ||
48 | %description libs | |
49 | Shared AutoOpts library. | |
50 | ||
51 | %description libs -l pl.UTF-8 | |
52 | Biblioteka współdzielona AutoOpts. | |
53 | ||
54 | %package devel | |
55 | Summary: Header files for AutoOpts library | |
56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AutoOpts | |
57 | License: LGPL v3+ or Modified BSD | |
58 | Group: Development/Libraries | |
59 | Requires: %{name}-libs = %{version}-%{release} | |
60 | ||
61 | %description devel | |
62 | Header files for AutoOpts library. | |
63 | ||
64 | %description devel -l pl.UTF-8 | |
65 | Pliki nagłówkowe biblioteki AutoOpts. | |
66 | ||
67 | %package static | |
68 | Summary: Static AutoOpts library | |
69 | Summary(pl.UTF-8): Statyczna biblioteka AutoOpts | |
70 | License: LGPL v3+ or Modified BSD | |
71 | Group: Development/Libraries | |
72 | Requires: %{name}-devel = %{version}-%{release} | |
73 | ||
74 | %description static | |
75 | Static AutoOpts library. | |
76 | ||
77 | %description static -l pl.UTF-8 | |
78 | Statyczna biblioteka AutoOpts. | |
79 | ||
80 | %prep | |
81 | %setup -q | |
82 | %patch0 -p1 | |
83 | %patch1 -p1 | |
84 | %patch2 -p1 | |
85 | %patch3 -p1 | |
86 | ||
87 | # force regeneration | |
88 | %{__rm} doc/autogen.info* | |
89 | ||
90 | %build | |
91 | %configure | |
92 | %{__make} | |
93 | ||
94 | %install | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %{__make} install \ | |
98 | DESTDIR=$RPM_BUILD_ROOT | |
99 | ||
100 | %clean | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %post | |
104 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
105 | ||
106 | %postun | |
107 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 | |
108 | ||
109 | %post libs -p /sbin/ldconfig | |
110 | %postun libs -p /sbin/ldconfig | |
111 | ||
112 | %files | |
113 | %defattr(644,root,root,755) | |
114 | %doc AUTHORS ChangeLog NEWS README THANKS TODO | |
115 | %attr(755,root,root) %{_bindir}/autogen | |
116 | %attr(755,root,root) %{_bindir}/columns | |
117 | %attr(755,root,root) %{_bindir}/getdefs | |
118 | %attr(755,root,root) %{_bindir}/xml2ag | |
119 | %dir %{_libdir}/%{name} | |
120 | %{_libdir}/%{name}/tpl-config.tlib | |
121 | %dir %{_datadir}/%{name} | |
122 | %{_datadir}/%{name}/*.def | |
123 | %{_datadir}/%{name}/*.lic | |
124 | %{_datadir}/%{name}/*.m4 | |
125 | %{_datadir}/%{name}/*.pm | |
126 | %{_datadir}/%{name}/*.tlib | |
127 | %{_datadir}/%{name}/*.tpl | |
128 | %{_datadir}/%{name}/libopts-*.tar.gz | |
129 | %attr(755,root,root) %{_datadir}/%{name}/man2mdoc | |
130 | %attr(755,root,root) %{_datadir}/%{name}/man2texi | |
131 | %attr(755,root,root) %{_datadir}/%{name}/mdoc2man | |
132 | %attr(755,root,root) %{_datadir}/%{name}/mdoc2texi | |
133 | %attr(755,root,root) %{_datadir}/%{name}/texi2man | |
134 | %attr(755,root,root) %{_datadir}/%{name}/texi2mdoc | |
135 | %{_infodir}/autogen.info* | |
136 | %{_mandir}/man1/autogen.1* | |
137 | %{_mandir}/man1/columns.1* | |
138 | %{_mandir}/man1/getdefs.1* | |
139 | %{_mandir}/man1/xml2ag.1* | |
140 | ||
141 | %files libs | |
142 | %defattr(644,root,root,755) | |
143 | %attr(755,root,root) %{_libdir}/libopts.so.*.*.* | |
144 | %attr(755,root,root) %ghost %{_libdir}/libopts.so.25 | |
145 | ||
146 | %files devel | |
147 | %defattr(644,root,root,755) | |
148 | %attr(755,root,root) %{_bindir}/autoopts-config | |
149 | %attr(755,root,root) %{_libdir}/libopts.so | |
150 | %{_libdir}/libopts.la | |
151 | %{_includedir}/autoopts | |
152 | %{_aclocaldir}/autoopts.m4 | |
153 | %{_pkgconfigdir}/autoopts.pc | |
154 | %{_mandir}/man1/autoopts-config.1* | |
155 | %{_mandir}/man3/ao_string_tokenize.3* | |
156 | %{_mandir}/man3/configFileLoad.3* | |
157 | %{_mandir}/man3/option*.3* | |
158 | %{_mandir}/man3/str*.3* | |
159 | ||
160 | %files static | |
161 | %defattr(644,root,root,755) | |
162 | %{_libdir}/libopts.a |