Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:cboltz
Fontlinge
fontlinge.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fontlinge.spec of Package Fontlinge
#%define __os_install_post true # workaround for SuSE 8.2 (and other?) # (compressing the fontlinge::* manpages failed because they are already compressed) # -> no longer needed, tested on SUSE 9.3 - 10.2, Mandriva 2006, Fedora Core 4 and 5 Summary: Font management and organisation for TrueType and PostScript fonts Name: fontlinge Version: 2.1 Release: 1 License: GPL Group: Productivity/Graphics/Other URL: http://fontlinge.sourceforge.net Source0: http://prdownloads.sourceforge.net/fontlinge/%{name}-%{version}.tar.bz2 Prefix: %{_prefix} Prefix: %{perl_vendorlib} BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot # for perl scripts PreReq: perl >= 5.6 Requires: ImageMagick Requires: perl(bytes) perl(utf8) perl(Cwd) perl(DBD::mysql) perl(DBI) perl(File::Compare) perl(File::Copy) # perl(ExtUtils::MakeMaker) Requires: perl(File::Find) perl(File::Path) perl(File::Spec) perl(File::stat) perl(File::Temp) perl(Fcntl) perl(Getopt::Long) Requires: perl(Image::Magick) perl(IO::Handle) perl(POSIX) perl(Socket) perl(Term::ReadKey) perl(Time::HiRes) perl(User::pwent) %perl_requires # for the WebGUI Requires: mod_php_any php-mysql php-gd tar Provides: perl(fontlinge::Config) = %{version} perl(fontlinge::Filebasics) = %{version} perl(fontlinge::Fontling) = %{version} Autoreqprov: on BuildArchitectures: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-macros %description Searches for font files, sorts them into folders by name and look and with human readable names, stores gathered font information in a database, can generate previews and posters, can find and remove duplicates and can reunite PostScript font families. Also, Fontlinge have a web interface to browse through your fonts. It shows detail previews and font infos, provides font download as tarball and has the possibility to sort fonts. Authors: -------- Joerg Rossdeutscher <fontlinge@gesindel.de> Christian Boltz <rpms A T cboltz D O T de> %prep %setup -q %build ./configure \ --verbose \ --prefix "%{_prefix}" \ --bindir "%{_bindir}" \ --perllibdir "%{perl_vendorlib}" \ --docdir "%{_docdir}/%{name}" \ --mandir=%{_mandir} \ --datadir=%{_datadir} make %install make \ DESTDIR="${RPM_BUILD_ROOT}" \ install rm ${RPM_BUILD_ROOT}%{perl_vendorlib}/auto/fontlinge/Fontling/.packlist rm ${RPM_BUILD_ROOT}%{perl_vendorlib}/perllocal.pod %if 0%{?mandriva_version} >= 2006 touch ${RPM_BUILD_ROOT}/%{_datadir}/%{name}/webgui/config.inc.php %endif %post perl -e "use fontlinge::Config" || { echo >&2 ; echo "ERROR: Fontlinge Perl module cannot be found by perl." >&2 ; echo "Please uninstall this package (rpm -e fontlinge) and reinstall with" >&2 ; echo "rpm -Uhv --relocate %{perl_vendorlib}=/a/path/in/@INC fontlinge-%{version}-noarch.rpm" >&2 ; exit 1 ; } %files %defattr(-,root,root) %{_prefix}/bin/%{name}* %if 0%{?mandriva_version} >= 2006 %ghost %config /%{_datadir}/%{name}/webgui/config.inc.php %endif %{_datadir}/%{name} %dir %{perl_vendorlib}/fontlinge/ %{perl_vendorlib}/fontlinge/*.pm %doc %{_mandir}/man3/fontlinge::*.3pm %doc %{_docdir}/fontlinge %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor