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