]> git.pld-linux.org Git - packages/autogen.git/blame - autogen.spec
- up to 5.13 (pre as stable doesn't support guile 2.x)
[packages/autogen.git] / autogen.spec
CommitLineData
74470496 1%define pre pre4
04e2435f 2Summary: Automated program generator
cfcea6ae 3Summary(pl.UTF-8): Zautomatyzowany generator programów
04e2435f 4Name: autogen
74470496
AM
5Version: 5.13.0
6Release: 0.%{pre}.1
04e2435f 7License: GPL v.2/BSD/LGPL
8Group: Development
74470496
AM
9Source0: http://autogen.sourceforge.net/data/%{name}-%{version}%{pre}.tar.xz
10# Source0-md5: 86f80b060d82ab1069043b3478df195f
95820b33 11URL: http://autogen.sourceforge.net/
04e2435f 12BuildRequires: guile-devel
0d28a1a7 13BuildRequires: libltdl-devel
04e2435f 14BuildRequires: libxml2-devel
15BuildRequires: texinfo
04e2435f 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19AutoGen is a tool designed for generating program files that contain
20repetitive text with varied substitutions. Its goal is to simplify the
21maintenance of programs that contain large amounts of repetitious
22text. This is especially valuable if there are several blocks of such
23text that must be kept synchronized in parallel tables.
24
254e074f
JR
25%description -l pl.UTF-8
26AutoGen to narzędzie zaprojektowane do generowania plików programów
27zawierających powtarzający się tekst z różnymi podstawieniami. Celem
28projektu jest uproszczenie zarządzania programów zawierających duże
29ilości powtórzonego tekstu. Jest szczególnie wartościowy jeśli jest
30kilka bloków takiego tekstu, które muszą być synchronizowane
31równolegle.
04e2435f 32
33%package devel
34Summary: Header files for autogen
cfcea6ae 35Summary(pl.UTF-8): Pliki nagłówkowe dla autogen
04e2435f 36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
38
39%description devel
40Header files for autogen.
41
254e074f
JR
42%description devel -l pl.UTF-8
43Pliki nagłówkowe dla autogen.
04e2435f 44
45%package static
46Summary: Static autogen library
cfcea6ae 47Summary(pl.UTF-8): Statyczna biblioteka autogen
04e2435f 48Group: Development/Libraries
49Requires: %{name}-devel = %{version}-%{release}
50
51%description static
52Static autogen library.
53
254e074f 54%description static -l pl.UTF-8
04e2435f 55Statyczna biblioteka autogen.
56
57%prep
74470496 58%setup -q -n %{name}-%{version}%{pre}
04e2435f 59
60%build
61%configure
62%{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
74470496 66install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
04e2435f 67
68%{__make} install \
69 DESTDIR=$RPM_BUILD_ROOT
70
74470496
AM
71mv $RPM_BUILD_ROOT%{_datadir}/pkgconfig/autoopts.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
72
04e2435f 73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post
77/sbin/ldconfig
78[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
79
80%postun
81/sbin/ldconfig
82[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
83
84%files
85%defattr(644,root,root,755)
86%doc AUTHORS ChangeLog NEWS README THANKS TODO
87%attr(755,root,root) %{_bindir}/*
88%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
89%{_datadir}/%{name}
90%{_infodir}/autogen.info*
91%{_mandir}/man1/*.1*
92%{_mandir}/man3/*.3*
93
94%files devel
95%defattr(644,root,root,755)
585e62ed 96%attr(755,root,root) %{_libdir}/lib*.so
04e2435f 97%{_libdir}/lib*.la
585e62ed
JB
98%{_includedir}/autoopts
99%{_aclocaldir}/*.m4
04e2435f 100%{_pkgconfigdir}/*.pc
101
102%files static
103%defattr(644,root,root,755)
104%{_libdir}/lib*.a
This page took 0.069003 seconds and 4 git commands to generate.