source: projects/specs/trunk/lib/libX/libXdmcp/libXdmcp-vl.spec @ 12185

Revision 12185, 6.7 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary: X.Org X11 libXdmcp runtime library
4Summary(ja): X.Org X11 libXdmcp ランタイムライブラリ
5Name: libXdmcp
6Version: 1.1.3
7Release: 1%{?_dist_release}
8License: MIT/X11
9Group: System Environment/Libraries
10URL: http://www.x.org
11
12Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
15BuildRequires: pkgconfig
16BuildRequires: xorg-x11-proto-devel
17BuildRequires: xorg-x11-util-macros
18Obsoletes: XFree86-libs, XOrg-libs
19
20Vendor: Project Vine
21Distribution: Vine Linux
22Packager: daisuke
23
24%description
25X.Org X11 libXdmcp runtime library
26
27%package devel
28Summary: X.Org X11 libXdmcp development package
29Group: Development/Libraries
30Requires(pre): xorg-x11-filesystem
31Requires: %{name} = %{version}-%{release}
32Requires: xorg-x11-proto-devel
33Obsoletes: XFree86-devel, XOrg-devel
34
35%description devel
36X.Org X11 libXdmcp development package
37
38# compat32
39%package -n compat32-%{name}
40Summary: X.Org X11 libXdmcp runtime library
41Summary(ja): X.Org X11 libXdmcp ランタイムライブラリ
42Group: System Environment/Libraries
43
44%description -n compat32-%{name}
45X.Org X11 libXdmcp runtime library
46
47%package -n compat32-%{name}-devel
48Summary: X.Org X11 libXdmcp development package
49Group: Development/Libraries
50Requires(pre): xorg-x11-filesystem
51Requires: compat32-%{name} = %{version}-%{release}
52Requires: %{name}-devel = %{version}-%{release}
53
54%description -n compat32-%{name}-devel
55X.Org X11 libXdmcp development package
56
57%prep
58%setup -q
59
60# Disable static library creation by default.
61%define with_static 0
62
63%build
64%configure \
65%if ! %{with_static}
66        --disable-static
67%endif
68make
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73make install DESTDIR=$RPM_BUILD_ROOT
74
75# We intentionally don't ship *.la files
76rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
77
78# remove xml and txt file
79rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post -p /sbin/ldconfig
85%postun -p /sbin/ldconfig
86
87%post -n compat32-%{name} -p /sbin/ldconfig
88%postun -n compat32-%{name} -p /sbin/ldconfig
89
90%files
91%defattr(-,root,root,-)
92%license COPYING
93%doc AUTHORS README ChangeLog
94%{_libdir}/libXdmcp.so.6
95%{_libdir}/libXdmcp.so.6.0.0
96
97%files devel
98%defattr(-,root,root,-)
99%dir %{_includedir}/X11/
100%{_includedir}/X11/Xdmcp.h
101%if %{with_static}
102%{_libdir}/libXdmcp.a
103%endif
104%{_libdir}/libXdmcp.so
105%{_libdir}/pkgconfig/xdmcp.pc
106
107# compat32
108%if %{build_compat32}
109%files -n compat32-%{name}
110%defattr(-,root,root,-)
111%{_libdir}/libXdmcp.so.6
112%{_libdir}/libXdmcp.so.6.0.0
113
114%files -n compat32-%{name}-devel
115%defattr(-,root,root,-)
116%if %{with_static}
117%{_libdir}/libXdmcp.a
118%endif
119%{_libdir}/libXdmcp.so
120%endif
121
122%changelog
123* Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.3-1
124- new upstream release.
125
126* Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
127- new upstream release
128
129* Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-2
130- rebuild with VineSeed environment
131
132* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
133- new upstream release
134- add BuildRequires: xorg-x11-util-macros
135
136* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
137- new upstream release
138
139* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.3-2
140- rebuild with rpm-4.8.1 for pkg-config file
141- fix typo
142
143* Tue Nov 17 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.3-1
144- new upstream release
145
146* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-3
147- added compat32 package for x86_64 arch support
148
149* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
150- spec in utf-8
151
152* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
153- new versioning policy
154
155* Sun Jan 13 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
156- initial build for Vine Linux
157
158* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-4
159- Rebuild for build id
160
161* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.2-3
162- Don't install INSTALL
163
164* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-2.fc7
165- libXdmcp-1.0.2-namespace-pollution.patch: Hide Xalloc and friends from the
166  dynamic linker.
167
168* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.2-1
169- Update to 1.0.2
170
171* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-2.1
172- rebuild
173
174* Wed Jun 07 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
175- Added "BuildRequires: xorg-x11-proto-devel"
176- Added "Requires: xorg-x11-proto-devel" to devel package, needed by xdmcp.pc
177- Replace "makeinstall" with "make install DESTDIR=..."
178- Remove package ownership of mandir/libdir/etc.
179
180* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
181- Update to 1.0.1
182
183* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.2
184- bump again for double-long bug on ppc(64)
185
186* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.0-2.1
187- rebuilt for new gcc4.1 snapshot and glibc changes
188
189* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
190- Bumped and rebuilt
191
192* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
193- Updated libXdmcp to version 1.0.0 from X11R7 RC4
194
195* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
196- Updated libXdmcp to version 0.99.2 from X11R7 RC3
197- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
198  that /usr/lib/X11 and /usr/include/X11 pre-exist.
199- Removed 'x' suffix from manpage directories to match RC3 upstream.
200
201* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
202- rebuilt
203
204* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
205- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
206- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
207
208* Fri Oct 21 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
209- Update to libXdmcp-0.99.1 from X11R7 RC1 release.
210
211* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
212- Renamed package to remove xorg-x11 from the name due to unanimous decision
213  between developers.
214- Use Fedora Extras style BuildRoot tag.
215- Disable static library creation by default.
216- Add missing defattr to devel subpackage
217- Add missing documentation files to doc macro
218
219* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
220- Renamed package to prepend "xorg-x11" to the name for consistency with
221  the rest of the X11R7 packages.
222- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
223  subpackage to ensure the devel package matches the installed shared libs.
224- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
225  allow applications to use implementation agnostic dependencies.
226- Added post/postun scripts which call ldconfig.
227- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
228  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
229
230* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
231- Initial build.
Note: See TracBrowser for help on using the repository browser.