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