]>
Commit | Line | Data |
---|---|---|
04e2435f | 1 | Summary: Automated program generator |
cfcea6ae | 2 | Summary(pl.UTF-8): Zautomatyzowany generator programów |
04e2435f | 3 | Name: autogen |
fbc32bdd | 4 | Version: 5.18.10 |
3019ab54 | 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 JB |
8 | Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz |
9 | # Source0-md5: a9e91d1c30d27541c600e340f666a985 | |
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 | |
83 | %build | |
84 | %configure | |
85 | %{__make} | |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
74470496 | 89 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} |
04e2435f | 90 | |
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
94 | %clean | |
95 | rm -rf $RPM_BUILD_ROOT | |
96 | ||
97 | %post | |
04e2435f | 98 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
99 | ||
100 | %postun | |
04e2435f | 101 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 |
102 | ||
79c152e5 JB |
103 | %post libs -p /sbin/ldconfig |
104 | %postun libs -p /sbin/ldconfig | |
105 | ||
04e2435f | 106 | %files |
107 | %defattr(644,root,root,755) | |
108 | %doc AUTHORS ChangeLog NEWS README THANKS TODO | |
79c152e5 JB |
109 | %attr(755,root,root) %{_bindir}/autogen |
110 | %attr(755,root,root) %{_bindir}/columns | |
111 | %attr(755,root,root) %{_bindir}/getdefs | |
112 | %attr(755,root,root) %{_bindir}/xml2ag | |
3019ab54 JB |
113 | %dir %{_libdir}/%{name} |
114 | %{_libdir}/%{name}/tpl-config.tlib | |
7dd7c9cf JR |
115 | %dir %{_datadir}/%{name} |
116 | %{_datadir}/%{name}/*.def | |
117 | %{_datadir}/%{name}/*.lic | |
118 | %{_datadir}/%{name}/*.m4 | |
119 | %{_datadir}/%{name}/*.pm | |
120 | %{_datadir}/%{name}/*.tlib | |
121 | %{_datadir}/%{name}/*.tpl | |
3019ab54 | 122 | %{_datadir}/%{name}/libopts-*.tar.gz |
7dd7c9cf JR |
123 | %attr(755,root,root) %{_datadir}/%{name}/man2mdoc |
124 | %attr(755,root,root) %{_datadir}/%{name}/man2texi | |
125 | %attr(755,root,root) %{_datadir}/%{name}/mdoc2man | |
7dd7c9cf JR |
126 | %attr(755,root,root) %{_datadir}/%{name}/mdoc2texi |
127 | %attr(755,root,root) %{_datadir}/%{name}/texi2man | |
128 | %attr(755,root,root) %{_datadir}/%{name}/texi2mdoc | |
04e2435f | 129 | %{_infodir}/autogen.info* |
79c152e5 JB |
130 | %{_mandir}/man1/autogen.1* |
131 | %{_mandir}/man1/columns.1* | |
132 | %{_mandir}/man1/getdefs.1* | |
133 | %{_mandir}/man1/xml2ag.1* | |
134 | ||
135 | %files libs | |
136 | %defattr(644,root,root,755) | |
137 | %attr(755,root,root) %{_libdir}/libopts.so.*.*.* | |
138 | %attr(755,root,root) %ghost %{_libdir}/libopts.so.25 | |
04e2435f | 139 | |
140 | %files devel | |
141 | %defattr(644,root,root,755) | |
79c152e5 JB |
142 | %attr(755,root,root) %{_bindir}/autoopts-config |
143 | %attr(755,root,root) %{_libdir}/libopts.so | |
144 | %{_libdir}/libopts.la | |
585e62ed | 145 | %{_includedir}/autoopts |
79c152e5 JB |
146 | %{_aclocaldir}/autoopts.m4 |
147 | %{_pkgconfigdir}/autoopts.pc | |
148 | %{_mandir}/man1/autoopts-config.1* | |
149 | %{_mandir}/man3/ao_string_tokenize.3* | |
150 | %{_mandir}/man3/configFileLoad.3* | |
151 | %{_mandir}/man3/option*.3* | |
152 | %{_mandir}/man3/str*.3* | |
04e2435f | 153 | |
154 | %files static | |
155 | %defattr(644,root,root,755) | |
79c152e5 | 156 | %{_libdir}/libopts.a |