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