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