]> git.pld-linux.org Git - packages/autogen.git/blame - autogen.spec
- fix building with guile 3.0, rel 3
[packages/autogen.git] / autogen.spec
CommitLineData
04e2435f 1Summary: Automated program generator
cfcea6ae 2Summary(pl.UTF-8): Zautomatyzowany generator programów
04e2435f 3Name: autogen
a13435a7 4Version: 5.18.16
353b4a3b 5Release: 3
c383aa03 6License: GPL v3+ (AutoGen), LGPL v2+ (genshell), LGPL v3+ or Modified BSD (AutoOpts library)
79c152e5 7Group: Development/Tools
fbc32bdd 8Source0: http://ftp.gnu.org/gnu/autogen/rel%{version}/%{name}-%{version}.tar.xz
a13435a7 9# Source0-md5: 27c28df902a9fdb2b64f008a0a49fd05
79c152e5
JB
10Patch0: %{name}-notinstalled.patch
11Patch1: %{name}-info.patch
a13435a7 12Patch2: %{name}-ksh.patch
00b9c33f 13Patch3: %{name}-format-truncate.patch
353b4a3b 14Patch4: guile3.0.patch
95820b33 15URL: http://autogen.sourceforge.net/
ee0203fb 16BuildRequires: guile-devel >= 5:2.0
0d28a1a7 17BuildRequires: libltdl-devel
04e2435f 18BuildRequires: libxml2-devel
79c152e5 19BuildRequires: tar >= 1:1.22
04e2435f 20BuildRequires: texinfo
79c152e5 21BuildRequires: xz
ee0203fb 22BuildConflicts: guile1-devel
79c152e5
JB
23Requires: %{name}-libs = %{version}-%{release}
24Suggests: %{name}-devel = %{version}-%{release}
04e2435f 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28AutoGen is a tool designed for generating program files that contain
29repetitive text with varied substitutions. Its goal is to simplify the
30maintenance of programs that contain large amounts of repetitious
31text. This is especially valuable if there are several blocks of such
32text that must be kept synchronized in parallel tables.
33
254e074f
JR
34%description -l pl.UTF-8
35AutoGen to narzędzie zaprojektowane do generowania plików programów
36zawierających powtarzający się tekst z różnymi podstawieniami. Celem
37projektu jest uproszczenie zarządzania programów zawierających duże
38ilości powtórzonego tekstu. Jest szczególnie wartościowy jeśli jest
39kilka bloków takiego tekstu, które muszą być synchronizowane
40równolegle.
04e2435f 41
79c152e5
JB
42%package libs
43Summary: Shared AutoOpts library
44Summary(pl.UTF-8): Biblioteka współdzielona AutoOpts
45License: LGPL v3+ or Modified BSD
46Group: Libraries
47Conflicts: autogen < 5.14
48
49%description libs
50Shared AutoOpts library.
51
52%description libs -l pl.UTF-8
53Biblioteka współdzielona AutoOpts.
54
04e2435f 55%package devel
79c152e5
JB
56Summary: Header files for AutoOpts library
57Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AutoOpts
58License: LGPL v3+ or Modified BSD
04e2435f 59Group: Development/Libraries
79c152e5 60Requires: %{name}-libs = %{version}-%{release}
04e2435f 61
62%description devel
79c152e5 63Header files for AutoOpts library.
04e2435f 64
254e074f 65%description devel -l pl.UTF-8
79c152e5 66Pliki nagłówkowe biblioteki AutoOpts.
04e2435f 67
68%package static
79c152e5
JB
69Summary: Static AutoOpts library
70Summary(pl.UTF-8): Statyczna biblioteka AutoOpts
71License: LGPL v3+ or Modified BSD
04e2435f 72Group: Development/Libraries
73Requires: %{name}-devel = %{version}-%{release}
74
75%description static
79c152e5 76Static AutoOpts library.
04e2435f 77
254e074f 78%description static -l pl.UTF-8
79c152e5 79Statyczna 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"'
99CFLAGS="%{rpmcflags} -Wno-error=pragmas"
606780e1
AM
100%configure \
101 --disable-dependency-tracking
04e2435f 102%{__make}
103
104%install
105rm -rf $RPM_BUILD_ROOT
106
107%{__make} install \
108 DESTDIR=$RPM_BUILD_ROOT
109
110%clean
111rm -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
This page took 0.088591 seconds and 4 git commands to generate.