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