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