]>
Commit | Line | Data |
---|---|---|
04e2435f | 1 | Summary: Automated program generator |
cfcea6ae | 2 | Summary(pl.UTF-8): Zautomatyzowany generator programów |
04e2435f | 3 | Name: autogen |
b65acc57 | 4 | Version: 5.18.14 |
aa93bd95 | 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 |
b65acc57 | 9 | # Source0-md5: c4d9a1641cb1bad4a3cc4108de6d867a |
79c152e5 JB |
10 | Patch0: %{name}-notinstalled.patch |
11 | Patch1: %{name}-info.patch | |
00b9c33f JB |
12 | Patch2: %{name}-fallthrough.patch |
13 | Patch3: %{name}-format-truncate.patch | |
95820b33 | 14 | URL: http://autogen.sourceforge.net/ |
ee0203fb | 15 | BuildRequires: guile-devel >= 5:2.0 |
0d28a1a7 | 16 | BuildRequires: libltdl-devel |
04e2435f | 17 | BuildRequires: libxml2-devel |
79c152e5 | 18 | BuildRequires: tar >= 1:1.22 |
04e2435f | 19 | BuildRequires: texinfo |
79c152e5 | 20 | BuildRequires: xz |
ee0203fb | 21 | BuildConflicts: guile1-devel |
79c152e5 JB |
22 | Requires: %{name}-libs = %{version}-%{release} |
23 | Suggests: %{name}-devel = %{version}-%{release} | |
04e2435f | 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 | ||
254e074f JR |
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. | |
04e2435f | 40 | |
79c152e5 JB |
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 | ||
04e2435f | 54 | %package devel |
79c152e5 JB |
55 | Summary: Header files for AutoOpts library |
56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AutoOpts | |
57 | License: LGPL v3+ or Modified BSD | |
04e2435f | 58 | Group: Development/Libraries |
79c152e5 | 59 | Requires: %{name}-libs = %{version}-%{release} |
04e2435f | 60 | |
61 | %description devel | |
79c152e5 | 62 | Header files for AutoOpts library. |
04e2435f | 63 | |
254e074f | 64 | %description devel -l pl.UTF-8 |
79c152e5 | 65 | Pliki nagłówkowe biblioteki AutoOpts. |
04e2435f | 66 | |
67 | %package static | |
79c152e5 JB |
68 | Summary: Static AutoOpts library |
69 | Summary(pl.UTF-8): Statyczna biblioteka AutoOpts | |
70 | License: LGPL v3+ or Modified BSD | |
04e2435f | 71 | Group: Development/Libraries |
72 | Requires: %{name}-devel = %{version}-%{release} | |
73 | ||
74 | %description static | |
79c152e5 | 75 | Static AutoOpts library. |
04e2435f | 76 | |
254e074f | 77 | %description static -l pl.UTF-8 |
79c152e5 | 78 | Statyczna biblioteka AutoOpts. |
04e2435f | 79 | |
80 | %prep | |
79c152e5 JB |
81 | %setup -q |
82 | %patch0 -p1 | |
83 | %patch1 -p1 | |
00b9c33f JB |
84 | %patch2 -p1 |
85 | %patch3 -p1 | |
04e2435f | 86 | |
0705b40c JB |
87 | # force regeneration |
88 | %{__rm} doc/autogen.info* | |
89 | ||
04e2435f | 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 | |
04e2435f | 104 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
105 | ||
106 | %postun | |
04e2435f | 107 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
108 | ||
79c152e5 JB |
109 | %post libs -p /sbin/ldconfig |
110 | %postun libs -p /sbin/ldconfig | |
111 | ||
04e2435f | 112 | %files |
113 | %defattr(644,root,root,755) | |
114 | %doc AUTHORS ChangeLog NEWS README THANKS TODO | |
79c152e5 JB |
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 | |
3019ab54 JB |
119 | %dir %{_libdir}/%{name} |
120 | %{_libdir}/%{name}/tpl-config.tlib | |
7dd7c9cf JR |
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 | |
3019ab54 | 128 | %{_datadir}/%{name}/libopts-*.tar.gz |
7dd7c9cf JR |
129 | %attr(755,root,root) %{_datadir}/%{name}/man2mdoc |
130 | %attr(755,root,root) %{_datadir}/%{name}/man2texi | |
131 | %attr(755,root,root) %{_datadir}/%{name}/mdoc2man | |
7dd7c9cf JR |
132 | %attr(755,root,root) %{_datadir}/%{name}/mdoc2texi |
133 | %attr(755,root,root) %{_datadir}/%{name}/texi2man | |
134 | %attr(755,root,root) %{_datadir}/%{name}/texi2mdoc | |
04e2435f | 135 | %{_infodir}/autogen.info* |
79c152e5 JB |
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 | |
04e2435f | 145 | |
146 | %files devel | |
147 | %defattr(644,root,root,755) | |
79c152e5 JB |
148 | %attr(755,root,root) %{_bindir}/autoopts-config |
149 | %attr(755,root,root) %{_libdir}/libopts.so | |
150 | %{_libdir}/libopts.la | |
585e62ed | 151 | %{_includedir}/autoopts |
79c152e5 JB |
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* | |
04e2435f | 159 | |
160 | %files static | |
161 | %defattr(644,root,root,755) | |
79c152e5 | 162 | %{_libdir}/libopts.a |