diff --git a/.libgxps.metadata b/.libgxps.metadata new file mode 100644 index 0000000..1513866 --- /dev/null +++ b/.libgxps.metadata @@ -0,0 +1 @@ +8d5a2151aeb631119f0c75e1bb10bbc71a0da78d SOURCES/libgxps-0.2.2.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/libgxps.spec b/SPECS/libgxps.spec new file mode 100644 index 0000000..bb79649 --- /dev/null +++ b/SPECS/libgxps.spec @@ -0,0 +1,132 @@ +Name: libgxps +Version: 0.2.2 +Release: 7.1%{?dist} +Summary: GObject based library for handling and rendering XPS documents +Group: System Environment/Libraries + +License: LGPLv2+ +URL: http://live.gnome.org/libgxps +Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.2/%{name}-%{version}.tar.xz + +BuildRequires: gtk3-devel +BuildRequires: glib2-devel +BuildRequires: gobject-introspection-devel +BuildRequires: gtk-doc +BuildRequires: cairo-devel +BuildRequires: libarchive-devel +BuildRequires: freetype-devel +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +BuildRequires: lcms2-devel +BuildRequires: chrpath + +%description +libgxps is a GObject based library for handling and rendering XPS +documents. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package tools +Summary: Command-line utility programs for manipulating XPS files +Group: Applications/Text +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description tools +The %{name}-tools contains command-line programs for manipulating XPS format +documents using the %{name} library. + + +%prep +%setup -q + + +%build +%configure --disable-static --enable-man +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/xpsto* + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS ChangeLog COPYING NEWS README TODO +%{_libdir}/*.so.* +%{_libdir}/girepository-1.0/*.typelib + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/*.gir +%{_datadir}/gtk-doc/html/libgxps + +%files tools +%{_bindir}/xpsto* +%{_mandir}/man1/xpsto*.1.gz + + +%changelog +* Tue Mar 26 2013 Daniel Mach - 0.2.2-7.1 +- Rebuild for libarchive + +* Thu Feb 14 2013 Fedora Release Engineering - 0.2.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jan 18 2013 Adam Tkac - 0.2.2-6 +- rebuild due to "jpeg8-ABI" feature drop + +* Thu Jan 17 2013 Tomas Bzatek - 0.2.2-5 +- Rebuilt for new libarchive + +* Fri Dec 21 2012 Adam Tkac - 0.2.2-4 +- rebuild against new libjpeg + +* Thu Jul 19 2012 Fedora Release Engineering - 0.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun May 6 2012 Tom Hughes - 0.2.2-2 +- Rebuilt for new libtiff. + +* Mon Mar 19 2012 Tom Hughes - 0.2.2-1 +- Update to 0.2.2 upstream release. + +* Thu Jan 26 2012 Tomas Bzatek - 0.2.1-4 +- Rebuilt for new libarchive + +* Thu Jan 26 2012 Tom Hughes - 0.2.1-3 +- Correct summary and description for tools package. + +* Thu Jan 26 2012 Tom Hughes - 0.2.1-2 +- Rebuild for libarchive soname bump. + +* Sat Jan 21 2012 Tom Hughes - 0.2.1-1 +- Update to 0.2.1 upstream release. + +* Wed Jan 4 2012 Tom Hughes - 0.2.0-2 +- Rebuilt for gcc 4.7 mass rebuild. +- Run autoreconf to update libtool. + +* Thu Dec 1 2011 Tom Hughes - 0.2.0-1 +- Update to 0.2.0 upstream release. + +* Sat Nov 5 2011 Tom Hughes - 0.1.0-2 +- Fix base package dependency in devel package. + +* Fri Nov 4 2011 Tom Hughes - 0.1.0-1 +- Initial build.