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